Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.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: "" <> buildModelFMU(IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_R",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_R",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008043/0.0008042, allocations: 92.17 kB / 16.02 MB, free: 84 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.0009253/0.0009253, allocations: 184.7 kB / 16.92 MB, free: 6.934 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.356/1.356, allocations: 223.3 MB / 241 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6605/0.6605, allocations: 115.5 MB / 407.6 MB, free: 2.73 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003189/0.000319, allocations: 11.98 kB / 496 MB, free: 6.258 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1522/0.1526, allocations: 77.54 MB / 0.5601 GB, free: 8.93 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R): time 0.008987/0.1616, allocations: 6.354 MB / 0.5663 GB, free: 2.547 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.004941/0.1666, allocations: 3.029 MB / 0.5692 GB, free: 15.51 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007002/0.1673, allocations: 23.81 kB / 0.5692 GB, free: 15.48 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005354/0.1679, allocations: 134.8 kB / 0.5694 GB, free: 15.35 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00143/0.1693, allocations: 485.7 kB / 0.5698 GB, free: 14.88 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001136/0.1705, allocations: 399.2 kB / 0.5702 GB, free: 14.48 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.00183/0.1723, allocations: 1.603 MB / 0.5718 GB, free: 12.88 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001837/0.1741, allocations: 1.011 MB / 0.5728 GB, free: 11.85 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007837/0.1749, allocations: 394.3 kB / 0.5731 GB, free: 11.46 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008712/0.1758, allocations: 0.4902 MB / 0.5736 GB, free: 10.97 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000168/0.176, allocations: 36 kB / 0.5737 GB, free: 10.93 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009131/0.1769, allocations: 443.1 kB / 0.5741 GB, free: 10.5 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003688/0.1773, allocations: 267.1 kB / 0.5743 GB, free: 10.24 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005814/0.1779, allocations: 439.5 kB / 0.5748 GB, free: 9.801 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001191/0.1791, allocations: 1.187 MB / 0.5759 GB, free: 8.609 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.1791, allocations: 3.938 kB / 0.5759 GB, free: 8.605 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.1791, allocations: 0 / 0.5759 GB, free: 8.605 MB / 446.1 MB Notification: Performance of Transformations before backend: time 9.457e-06/0.1791, allocations: 0 / 0.5759 GB, free: 8.605 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: 183 * Number of variables: 183 Notification: Performance of Generate backend data structure: time 0.001545/0.1807, allocations: 1.005 MB / 0.5769 GB, free: 7.547 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.179e-05/0.1807, allocations: 8.031 kB / 0.5769 GB, free: 7.539 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001344/0.1809, allocations: 122.7 kB / 0.577 GB, free: 7.41 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001441/0.1823, allocations: 243.5 kB / 0.5773 GB, free: 7.172 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007155/0.183, allocations: 0.5492 MB / 0.5778 GB, free: 6.586 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.863e-05/0.1831, allocations: 53.67 kB / 0.5778 GB, free: 6.535 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001095/0.1832, allocations: 60.38 kB / 0.5779 GB, free: 6.477 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001374/0.1846, allocations: 1.089 MB / 0.579 GB, free: 5.273 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.752e-05/0.1846, allocations: 7.984 kB / 0.579 GB, free: 5.266 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.682e-05/0.1847, allocations: 31.92 kB / 0.579 GB, free: 5.234 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001428/0.1849, allocations: 81.27 kB / 0.5791 GB, free: 5.152 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001057/0.1859, allocations: 0.762 MB / 0.5798 GB, free: 4.391 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2646/0.4506, allocations: 5.888 MB / 0.5856 GB, free: 26.98 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001022/0.4516, allocations: 0.5564 MB / 0.5861 GB, free: 26.96 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004686/0.4521, allocations: 330.3 kB / 0.5864 GB, free: 26.95 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.187e-05/0.4521, allocations: 8.031 kB / 0.5864 GB, free: 26.95 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.326e-05/0.4522, allocations: 39.94 kB / 0.5865 GB, free: 26.91 MB / 446.1 MB Notification: Performance of pre-optimization done (n=47): time 2.214e-06/0.4522, allocations: 0.75 kB / 0.5865 GB, free: 26.91 MB / 446.1 MB Notification: Performance of matching and sorting (n=48): time 0.003913/0.4561, allocations: 1.996 MB / 0.5884 GB, free: 26.38 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.857e-05/0.4562, allocations: 64.5 kB / 0.5885 GB, free: 26.31 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007593/0.4569, allocations: 0.5582 MB / 0.589 GB, free: 26.18 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.09e-05/0.457, allocations: 35.89 kB / 0.5891 GB, free: 26.15 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002849/0.4573, allocations: 420.1 kB / 0.5895 GB, free: 25.94 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001215/0.4574, allocations: 169.2 kB / 0.5896 GB, free: 25.83 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.931e-05/0.4575, allocations: 60.14 kB / 0.5897 GB, free: 25.82 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.00012/0.4576, allocations: 379.2 kB / 0.5901 GB, free: 25.5 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004578/0.4581, allocations: 274.7 kB / 0.5903 GB, free: 25.5 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005455/0.4586, allocations: 498.2 kB / 0.5908 GB, free: 25.21 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009178/0.4595, allocations: 0.8103 MB / 0.5916 GB, free: 24.7 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.649e-06/0.4596, allocations: 2.344 kB / 0.5916 GB, free: 24.7 MB / 446.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001761/0.4613, allocations: 1.088 MB / 0.5926 GB, free: 24.23 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.193e-05/0.4614, allocations: 9.188 kB / 0.5927 GB, free: 24.23 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.405e-05/0.4614, allocations: 7.625 kB / 0.5927 GB, free: 24.23 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008355/0.4622, allocations: 277.6 kB / 0.5929 GB, free: 24.15 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004825/0.4627, allocations: 129 kB / 0.593 GB, free: 24.13 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005011/0.4677, allocations: 6.596 MB / 0.5995 GB, free: 18.39 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005764/0.4683, allocations: 43.02 kB / 0.5995 GB, free: 18.38 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.073e-05/0.4684, allocations: 27.41 kB / 0.5996 GB, free: 18.38 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (67): * Single equations (assignments): 63 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(2,6,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003277/0.4687, allocations: 258.6 kB / 0.5998 GB, free: 18.18 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001069/0.4688, allocations: 77.02 kB / 0.5999 GB, free: 18.14 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001567/0.4704, allocations: 0.8878 MB / 0.6007 GB, free: 17.75 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.973e-06/0.4704, allocations: 5.312 kB / 0.6007 GB, free: 17.75 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.364e-06/0.4704, allocations: 3.969 kB / 0.6008 GB, free: 17.75 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.642e-06/0.4704, allocations: 5.516 kB / 0.6008 GB, free: 17.75 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002585/0.473, allocations: 1.728 MB / 0.6024 GB, free: 16.88 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.62e-06/0.4731, allocations: 1.812 kB / 0.6024 GB, free: 16.88 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002775/0.4733, allocations: 64.55 kB / 0.6025 GB, free: 16.88 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007599/0.4741, allocations: 267.1 kB / 0.6028 GB, free: 16.79 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.106e-05/0.4741, allocations: 12.66 kB / 0.6028 GB, free: 16.78 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005034/0.4792, allocations: 6.594 MB / 0.6092 GB, free: 11.02 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.517e-06/0.4792, allocations: 2.156 kB / 0.6092 GB, free: 11.02 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001491/0.4807, allocations: 0.9803 MB / 0.6102 GB, free: 10.5 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002305/0.4809, allocations: 194.8 kB / 0.6104 GB, free: 10.35 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.248e-05/0.481, allocations: 17.02 kB / 0.6104 GB, free: 10.34 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003627/0.4814, allocations: 29.92 kB / 0.6104 GB, free: 10.33 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001012/0.4815, allocations: 45.38 kB / 0.6104 GB, free: 10.32 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.02e-05/0.4815, allocations: 17.06 kB / 0.6105 GB, free: 10.32 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0004104/0.482, allocations: 389.7 kB / 0.6108 GB, free: 10.14 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.482, allocations: 0 / 0.6108 GB, free: 10.14 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.000821/0.4828, allocations: 224.4 kB / 0.6111 GB, free: 10.12 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (31): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001504/0.4843, allocations: 1.553 MB / 0.6126 GB, free: 9.051 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001718/0.486, allocations: 1.268 MB / 0.6138 GB, free: 8.32 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.378e-06/0.486, allocations: 1.312 kB / 0.6138 GB, free: 8.32 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001061/0.4871, allocations: 0.8961 MB / 0.6147 GB, free: 7.707 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001106/0.4882, allocations: 202.1 kB / 0.6149 GB, free: 7.645 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007665/0.4959, allocations: 6.861 MB / 0.6216 GB, free: 3.453 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004307/0.4964, allocations: 1.013 MB / 0.6226 GB, free: 2.723 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.000404/0.4968, allocations: 119 kB / 0.6227 GB, free: 2.699 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002381/0.497, allocations: 254.8 kB / 0.6229 GB, free: 2.504 MB / 446.1 MB Notification: Performance of SimCode: time 5.21e-07/0.497, allocations: 0 / 0.6229 GB, free: 2.504 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0274/0.5244, allocations: 16.42 MB / 0.639 GB, free: 6.609 MB / 462.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001686/0.5246, allocations: 252.7 kB / 0.6392 GB, free: 6.348 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.918/2.442, allocations: 0 / 0.6392 GB, free: 6.348 MB / 462.1 MB (rm -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_R_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_R.fmu > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe 2>&1)