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.001416/0.001421, allocations: 94.81 kB / 16.26 MB, free: 5.934 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001415/0.001415, allocations: 190.5 kB / 17.2 MB, free: 5.574 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.43/1.43, allocations: 222.9 MB / 240.9 MB, free: 15.22 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.758/0.758, allocations: 122.9 MB / 413.9 MB, free: 15.91 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001363/0.001363, allocations: 55.91 kB / 0.4911 GB, free: 7.422 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4536/0.455, allocations: 77.92 MB / 0.5672 GB, free: 32.74 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.OnePhase.Loads.Examples.TestImpedance): time 0.006755/0.4618, allocations: 4.845 MB / 0.5719 GB, free: 29.38 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.004157/0.466, allocations: 2.438 MB / 0.5743 GB, free: 27.73 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004385/0.4665, allocations: 23.16 kB / 0.5743 GB, free: 27.71 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001379/0.4679, allocations: 411.5 kB / 0.5747 GB, free: 27.46 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001561/0.4695, allocations: 440.2 kB / 0.5751 GB, free: 27.22 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001384/0.4709, allocations: 377.9 kB / 0.5755 GB, free: 27.05 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001354/0.4722, allocations: 0.9147 MB / 0.5764 GB, free: 26.62 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007857/0.473, allocations: 354.1 kB / 0.5767 GB, free: 26.49 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005581/0.4736, allocations: 340.6 kB / 0.5771 GB, free: 26.34 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005623/0.4742, allocations: 349.1 kB / 0.5774 GB, free: 26.19 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 8.139e-05/0.4743, allocations: 37.97 kB / 0.5774 GB, free: 26.19 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001012/0.4753, allocations: 393.8 kB / 0.5778 GB, free: 26.06 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002576/0.4755, allocations: 185.8 kB / 0.578 GB, free: 25.98 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003451/0.4759, allocations: 317.4 kB / 0.5783 GB, free: 25.79 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001311/0.4772, allocations: 0.8722 MB / 0.5791 GB, free: 25.48 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.975e-06/0.4772, allocations: 6.109 kB / 0.5791 GB, free: 25.48 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.674e-06/0.4772, allocations: 1.094 kB / 0.5791 GB, free: 25.48 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.096e-05/0.4773, allocations: 0 / 0.5791 GB, free: 25.48 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.001423/0.4787, allocations: 0.9368 MB / 0.5801 GB, free: 24.78 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.631e-05/0.4787, allocations: 10.78 kB / 0.5801 GB, free: 24.78 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001313/0.4801, allocations: 201.6 kB / 0.5803 GB, free: 24.73 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006348/0.4807, allocations: 0.4901 MB / 0.5807 GB, free: 24.3 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.478e-05/0.4808, allocations: 36.19 kB / 0.5808 GB, free: 24.29 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.837e-05/0.4808, allocations: 47.48 kB / 0.5808 GB, free: 24.27 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00105/0.4819, allocations: 0.847 MB / 0.5817 GB, free: 23.59 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.385e-05/0.4819, allocations: 6.875 kB / 0.5817 GB, free: 23.59 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.304e-05/0.482, allocations: 24.92 kB / 0.5817 GB, free: 23.57 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001095/0.4821, allocations: 70.89 kB / 0.5817 GB, free: 23.55 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000833/0.483, allocations: 0.5648 MB / 0.5823 GB, free: 23.27 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004043/0.487, allocations: 5.658 MB / 0.5878 GB, free: 17.84 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007741/0.4878, allocations: 453.9 kB / 0.5883 GB, free: 17.62 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003743/0.4882, allocations: 223.5 kB / 0.5885 GB, free: 17.5 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.128e-05/0.4882, allocations: 3.906 kB / 0.5885 GB, free: 17.5 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.006e-05/0.4883, allocations: 40.27 kB / 0.5885 GB, free: 17.46 MB / 446.1 MB Notification: Performance of pre-optimization done (n=32): time 2.275e-06/0.4883, allocations: 0 / 0.5885 GB, free: 17.46 MB / 446.1 MB Notification: Performance of matching and sorting (n=33): time 0.002732/0.491, allocations: 1.507 MB / 0.59 GB, free: 16.36 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.037e-05/0.4911, allocations: 55.53 kB / 0.59 GB, free: 16.3 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004988/0.4916, allocations: 499 kB / 0.5905 GB, free: 15.99 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.292e-05/0.4916, allocations: 30.98 kB / 0.5905 GB, free: 15.96 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001785/0.4918, allocations: 352.2 kB / 0.5909 GB, free: 15.64 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.726e-05/0.4919, allocations: 118 kB / 0.591 GB, free: 15.54 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001407/0.492, allocations: 119.1 kB / 0.5911 GB, free: 15.46 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 8.048e-05/0.4921, allocations: 364 kB / 0.5915 GB, free: 15.11 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000258/0.4924, allocations: 197.9 kB / 0.5916 GB, free: 15.02 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004003/0.4928, allocations: 450.5 kB / 0.5921 GB, free: 14.58 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007641/0.4935, allocations: 0.6894 MB / 0.5927 GB, free: 14.01 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.199e-06/0.4936, allocations: 6.672 kB / 0.5928 GB, free: 14.01 MB / 446.1 MB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001174/0.4947, allocations: 0.7994 MB / 0.5935 GB, free: 13.57 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.103e-05/0.4948, allocations: 21.38 kB / 0.5936 GB, free: 13.55 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.384e-05/0.4948, allocations: 7.844 kB / 0.5936 GB, free: 13.55 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000429/0.4952, allocations: 150.4 kB / 0.5937 GB, free: 13.46 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004181/0.4956, allocations: 122 kB / 0.5938 GB, free: 13.43 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002325/0.498, allocations: 4.35 MB / 0.5981 GB, free: 9.008 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003949/0.4984, allocations: 33.44 kB / 0.5981 GB, free: 8.992 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.043e-05/0.4984, allocations: 27.94 kB / 0.5981 GB, free: 8.988 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.0002457/0.4987, allocations: 217.9 kB / 0.5983 GB, free: 8.805 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.56e-05/0.4988, allocations: 64.55 kB / 0.5984 GB, free: 8.77 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000919/0.4997, allocations: 0.5985 MB / 0.599 GB, free: 8.395 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.449e-06/0.4997, allocations: 4.031 kB / 0.599 GB, free: 8.395 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.937e-06/0.4997, allocations: 1.281 kB / 0.599 GB, free: 8.395 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.268e-06/0.4997, allocations: 4 kB / 0.599 GB, free: 8.391 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001512/0.5013, allocations: 1.26 MB / 0.6002 GB, free: 7.418 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.906e-06/0.5013, allocations: 0 / 0.6002 GB, free: 7.418 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002236/0.5015, allocations: 59.89 kB / 0.6003 GB, free: 7.359 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003168/0.5018, allocations: 132.2 kB / 0.6004 GB, free: 7.215 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.048e-05/0.5019, allocations: 11.94 kB / 0.6004 GB, free: 7.203 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002001/0.5039, allocations: 4.344 MB / 0.6047 GB, free: 2.434 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/0.5039, allocations: 4 kB / 0.6047 GB, free: 2.43 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007556/0.5046, allocations: 0.7076 MB / 0.6054 GB, free: 1.668 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000163/0.5048, allocations: 164.4 kB / 0.6055 GB, free: 1.488 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.876e-05/0.5049, allocations: 8 kB / 0.6055 GB, free: 1.48 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002309/0.5051, allocations: 23.97 kB / 0.6055 GB, free: 1.457 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.994e-05/0.5052, allocations: 35.84 kB / 0.6056 GB, free: 1.422 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.672e-05/0.5052, allocations: 8 kB / 0.6056 GB, free: 1.414 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0002554/0.5055, allocations: 334.8 kB / 0.6059 GB, free: 1.09 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.5055, allocations: 0 / 0.6059 GB, free: 1.09 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.000606/0.5061, allocations: 144 kB / 0.606 GB, free: 0.9492 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.0001047/0.5062, allocations: 111.2 kB / 0.6061 GB, free: 0.8281 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001163/0.5074, allocations: 1.08 MB / 0.6072 GB, free: 15.66 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.518e-06/0.5074, allocations: 128 / 0.6072 GB, free: 15.66 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007862/0.5082, allocations: 0.7354 MB / 0.6079 GB, free: 14.85 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009242/0.5091, allocations: 196.3 kB / 0.6081 GB, free: 14.66 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00145/0.5106, allocations: 1.062 MB / 0.6091 GB, free: 13.55 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004359/0.511, allocations: 0.9058 MB / 0.61 GB, free: 12.62 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0003037/0.5113, allocations: 121.3 kB / 0.6101 GB, free: 12.5 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.77e-05/0.5114, allocations: 43.44 kB / 0.6102 GB, free: 12.46 MB / 462.1 MB Notification: Performance of SimCode: time 2.11e-07/0.5114, allocations: 0 / 0.6102 GB, free: 12.46 MB / 462.1 MB Notification: Performance of Templates: time 0.01349/0.5249, allocations: 7.581 MB / 0.6176 GB, free: 4.984 MB / 462.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)