Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(IBPSA.Electrical.AC.OnePhase.Loads.Examples.TestImpedance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.TestImpedance") translateModel(IBPSA.Electrical.AC.OnePhase.Loads.Examples.TestImpedance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.TestImpedance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001722/0.001722, allocations: 104.1 kB / 15.88 MB, free: 4 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002121/0.002121, allocations: 200.4 kB / 16.79 MB, free: 6.809 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.448/1.448, allocations: 222.9 MB / 240.5 MB, free: 4.629 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.742/0.742, allocations: 122.9 MB / 413.5 MB, free: 11.22 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001293/0.001293, allocations: 63.72 kB / 0.4904 GB, free: 14.48 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1671/0.1684, allocations: 77.93 MB / 0.5665 GB, free: 0.7617 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.OnePhase.Loads.Examples.TestImpedance): time 0.0076/0.1761, allocations: 4.865 MB / 0.5713 GB, free: 11.87 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.004888/0.181, allocations: 2.464 MB / 0.5737 GB, free: 9.395 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005528/0.1816, allocations: 19.81 kB / 0.5737 GB, free: 9.375 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00124/0.1829, allocations: 362.5 kB / 0.574 GB, free: 9.02 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001314/0.1843, allocations: 414 kB / 0.5744 GB, free: 8.613 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009978/0.1853, allocations: 338.7 kB / 0.5748 GB, free: 8.285 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.00151/0.1868, allocations: 1.124 MB / 0.5759 GB, free: 7.156 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007079/0.1875, allocations: 359.3 kB / 0.5762 GB, free: 6.805 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006755/0.1882, allocations: 310.5 kB / 0.5765 GB, free: 6.5 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005873/0.1888, allocations: 350.4 kB / 0.5768 GB, free: 6.156 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001086/0.1889, allocations: 24 kB / 0.5769 GB, free: 6.133 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009628/0.1899, allocations: 0.4912 MB / 0.5773 GB, free: 5.641 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002579/0.1902, allocations: 175.4 kB / 0.5775 GB, free: 5.469 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004125/0.1906, allocations: 306.2 kB / 0.5778 GB, free: 5.168 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001338/0.1919, allocations: 0.8914 MB / 0.5787 GB, free: 4.273 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.691e-06/0.192, allocations: 0 / 0.5787 GB, free: 4.273 MB / 446.1 MB Notification: Performance of FrontEnd: time 9.61e-07/0.192, allocations: 0 / 0.5787 GB, free: 4.273 MB / 446.1 MB Notification: Performance of Transformations before backend: time 2.595e-05/0.192, allocations: 0 / 0.5787 GB, free: 4.273 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 129 * Number of variables: 129 Notification: Performance of Generate backend data structure: time 0.001811/0.1938, allocations: 0.9347 MB / 0.5796 GB, free: 3.289 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.578e-05/0.1939, allocations: 8.031 kB / 0.5796 GB, free: 3.281 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001327/0.1952, allocations: 203.8 kB / 0.5798 GB, free: 3.082 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007229/0.1959, allocations: 494.2 kB / 0.5802 GB, free: 2.562 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.197e-05/0.196, allocations: 37.36 kB / 0.5803 GB, free: 2.527 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.791e-05/0.1961, allocations: 44.36 kB / 0.5803 GB, free: 2.484 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001168/0.1972, allocations: 0.8485 MB / 0.5812 GB, free: 1.504 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.886e-05/0.1973, allocations: 7.938 kB / 0.5812 GB, free: 1.496 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.359e-05/0.1973, allocations: 24 kB / 0.5812 GB, free: 1.473 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.434e-05/0.1974, allocations: 64.95 kB / 0.5812 GB, free: 1.41 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000959/0.1984, allocations: 0.5656 MB / 0.5818 GB, free: 0.8398 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3145/0.5129, allocations: 5.65 MB / 0.5873 GB, free: 18.73 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006623/0.5136, allocations: 461.1 kB / 0.5878 GB, free: 18.7 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003134/0.5139, allocations: 226.4 kB / 0.588 GB, free: 18.7 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.142e-05/0.514, allocations: 4.281 kB / 0.588 GB, free: 18.7 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.148e-05/0.514, allocations: 38.78 kB / 0.588 GB, free: 18.66 MB / 446.1 MB Notification: Performance of pre-optimization done (n=32): time 2.625e-06/0.514, allocations: 0 / 0.588 GB, free: 18.66 MB / 446.1 MB Notification: Performance of matching and sorting (n=33): time 0.002552/0.5166, allocations: 1.503 MB / 0.5895 GB, free: 17.8 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.129e-05/0.5166, allocations: 60.39 kB / 0.5895 GB, free: 17.73 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00052/0.5171, allocations: 0.4902 MB / 0.59 GB, free: 17.51 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.298e-05/0.5172, allocations: 31.58 kB / 0.59 GB, free: 17.47 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001849/0.5174, allocations: 358 kB / 0.5904 GB, free: 17.2 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.586e-05/0.5174, allocations: 120.6 kB / 0.5905 GB, free: 17.11 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001456/0.5176, allocations: 112.4 kB / 0.5906 GB, free: 17.05 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 8.482e-05/0.5177, allocations: 362.5 kB / 0.591 GB, free: 16.71 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002845/0.518, allocations: 194.7 kB / 0.5911 GB, free: 16.65 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003644/0.5183, allocations: 451.1 kB / 0.5916 GB, free: 16.26 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006969/0.519, allocations: 0.6924 MB / 0.5922 GB, free: 15.75 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.468e-06/0.5191, allocations: 3.25 kB / 0.5923 GB, free: 15.75 MB / 446.1 MB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001227/0.5203, allocations: 0.8076 MB / 0.593 GB, free: 15.39 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.147e-05/0.5203, allocations: 9.547 kB / 0.593 GB, free: 15.39 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.51e-05/0.5203, allocations: 9 kB / 0.5931 GB, free: 15.39 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005035/0.5209, allocations: 152.2 kB / 0.5932 GB, free: 15.32 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004486/0.5213, allocations: 125 kB / 0.5933 GB, free: 15.31 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002513/0.5238, allocations: 4.043 MB / 0.5973 GB, free: 11.34 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004046/0.5243, allocations: 34.52 kB / 0.5973 GB, free: 11.33 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.705e-05/0.5243, allocations: 27.41 kB / 0.5973 GB, free: 11.32 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 38 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (66): * Single equations (assignments): 61 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002577/0.5246, allocations: 212.6 kB / 0.5975 GB, free: 11.16 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.879e-05/0.5247, allocations: 58.16 kB / 0.5976 GB, free: 11.13 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001042/0.5257, allocations: 0.606 MB / 0.5982 GB, free: 10.84 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.508e-06/0.5257, allocations: 3.5 kB / 0.5982 GB, free: 10.84 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.446e-06/0.5258, allocations: 1.625 kB / 0.5982 GB, free: 10.84 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.121e-06/0.5258, allocations: 6.266 kB / 0.5982 GB, free: 10.84 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001741/0.5275, allocations: 1.258 MB / 0.5994 GB, free: 10.14 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.867e-06/0.5275, allocations: 1.25 kB / 0.5994 GB, free: 10.14 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002472/0.5278, allocations: 55.59 kB / 0.5995 GB, free: 10.14 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000386/0.5282, allocations: 138.8 kB / 0.5996 GB, free: 10.08 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.462e-05/0.5282, allocations: 11.78 kB / 0.5996 GB, free: 10.07 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002195/0.5304, allocations: 4.043 MB / 0.6036 GB, free: 6.082 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.527e-06/0.5304, allocations: 5.328 kB / 0.6036 GB, free: 6.082 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009731/0.5314, allocations: 0.7108 MB / 0.6043 GB, free: 5.66 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001838/0.5316, allocations: 166.3 kB / 0.6044 GB, free: 5.523 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.626e-05/0.5317, allocations: 8.766 kB / 0.6044 GB, free: 5.52 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002488/0.5319, allocations: 21.98 kB / 0.6045 GB, free: 5.516 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.824e-05/0.532, allocations: 31.17 kB / 0.6045 GB, free: 5.508 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.272e-05/0.5321, allocations: 12.78 kB / 0.6045 GB, free: 5.504 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0003775/0.5324, allocations: 329.9 kB / 0.6048 GB, free: 5.355 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.5324, allocations: 4 kB / 0.6048 GB, free: 5.352 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0006835/0.5331, allocations: 142.8 kB / 0.6049 GB, free: 5.336 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (29): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001168/0.5333, allocations: 111 kB / 0.6051 GB, free: 5.242 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001281/0.5345, allocations: 1.037 MB / 0.6061 GB, free: 4.523 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.5346, allocations: 0 / 0.6061 GB, free: 4.523 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007046/0.5353, allocations: 0.7313 MB / 0.6068 GB, free: 3.914 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009586/0.5362, allocations: 188.7 kB / 0.607 GB, free: 3.863 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001508/0.5378, allocations: 1.25 MB / 0.6082 GB, free: 3.066 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000381/0.5382, allocations: 0.9059 MB / 0.6091 GB, free: 2.348 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0003729/0.5385, allocations: 117.2 kB / 0.6092 GB, free: 2.324 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001006/0.5386, allocations: 39.44 kB / 0.6092 GB, free: 2.32 MB / 446.1 MB Notification: Performance of SimCode: time 3.91e-07/0.5387, allocations: 1.688 kB / 0.6092 GB, free: 2.32 MB / 446.1 MB Notification: Performance of Templates: time 0.01378/0.5524, allocations: 7.333 MB / 0.6164 GB, free: 0.7617 MB / 446.1 MB make -j1 -f IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.makefile (rm -f IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.sim & ./IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.TestImpedance -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe 2>&1)