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.0007891/0.0007891, allocations: 92.86 kB / 15.7 MB, free: 472 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.0008067/0.0008069, allocations: 173.9 kB / 16.58 MB, free: 6.852 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.284/1.284, allocations: 223.3 MB / 240.6 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6349/0.6349, allocations: 113.7 MB / 405.4 MB, free: 4.598 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002943/0.0002944, allocations: 8.219 kB / 493.2 MB, free: 8.543 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1368/0.1371, allocations: 77.11 MB / 0.5569 GB, free: 11.63 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R): time 0.006195/0.1433, allocations: 6.038 MB / 0.5628 GB, free: 5.574 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003962/0.1473, allocations: 2.893 MB / 0.5656 GB, free: 2.672 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003423/0.1477, allocations: 23.81 kB / 0.5656 GB, free: 2.648 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003336/0.148, allocations: 134.9 kB / 0.5658 GB, free: 2.516 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008652/0.1489, allocations: 417.7 kB / 0.5662 GB, free: 2.105 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007858/0.1497, allocations: 334.7 kB / 0.5665 GB, free: 1.781 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001119/0.1508, allocations: 1.326 MB / 0.5678 GB, free: 460 kB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001437/0.1523, allocations: 0.9295 MB / 0.5687 GB, free: 15.5 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004247/0.1527, allocations: 398.4 kB / 0.5691 GB, free: 15.11 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005229/0.1532, allocations: 490.2 kB / 0.5695 GB, free: 14.63 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 6.604e-05/0.1533, allocations: 36 kB / 0.5696 GB, free: 14.59 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003671/0.1537, allocations: 183.8 kB / 0.5698 GB, free: 14.41 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002294/0.1539, allocations: 275.2 kB / 0.57 GB, free: 14.14 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001418/0.1541, allocations: 177.2 kB / 0.5702 GB, free: 13.96 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007476/0.1548, allocations: 0.908 MB / 0.5711 GB, free: 13.05 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.1548, allocations: 0 / 0.5711 GB, free: 13.05 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.1548, allocations: 0 / 0.5711 GB, free: 13.05 MB / 446.1 MB Notification: Performance of Transformations before backend: time 9.598e-06/0.1549, allocations: 0 / 0.5711 GB, free: 13.05 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.001783/0.1566, allocations: 1.02 MB / 0.5721 GB, free: 11.98 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.694e-05/0.1567, allocations: 8.031 kB / 0.5721 GB, free: 11.97 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001862/0.1569, allocations: 118.5 kB / 0.5722 GB, free: 11.85 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001425/0.1583, allocations: 246.6 kB / 0.5724 GB, free: 11.61 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008676/0.1592, allocations: 0.5288 MB / 0.5729 GB, free: 11.04 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.809e-05/0.1593, allocations: 49.3 kB / 0.573 GB, free: 10.99 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001094/0.1594, allocations: 63.98 kB / 0.573 GB, free: 10.93 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001642/0.161, allocations: 1.085 MB / 0.5741 GB, free: 9.73 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.489e-05/0.1611, allocations: 15.83 kB / 0.5741 GB, free: 9.715 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.197e-05/0.1612, allocations: 31.98 kB / 0.5742 GB, free: 9.684 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001555/0.1613, allocations: 81.27 kB / 0.5742 GB, free: 9.602 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001158/0.1625, allocations: 0.7504 MB / 0.575 GB, free: 8.852 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005407/0.1679, allocations: 5.89 MB / 0.5807 GB, free: 2.539 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009525/0.1689, allocations: 0.5562 MB / 0.5813 GB, free: 1.969 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004481/0.1693, allocations: 326 kB / 0.5816 GB, free: 1.648 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.623e-05/0.1694, allocations: 8.422 kB / 0.5816 GB, free: 1.641 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.668e-05/0.1694, allocations: 42.95 kB / 0.5816 GB, free: 1.59 MB / 446.1 MB Notification: Performance of pre-optimization done (n=47): time 1.713e-06/0.1694, allocations: 0 / 0.5816 GB, free: 1.59 MB / 446.1 MB Notification: Performance of matching and sorting (n=48): time 0.2808/0.4502, allocations: 1.989 MB / 0.5836 GB, free: 33.03 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.946e-05/0.4503, allocations: 57.16 kB / 0.5836 GB, free: 32.96 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007541/0.4511, allocations: 0.5543 MB / 0.5842 GB, free: 32.84 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.804e-05/0.4511, allocations: 35.11 kB / 0.5842 GB, free: 32.81 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002464/0.4514, allocations: 421.5 kB / 0.5846 GB, free: 32.7 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001147/0.4515, allocations: 177.8 kB / 0.5848 GB, free: 32.59 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.026e-05/0.4515, allocations: 12.5 kB / 0.5848 GB, free: 32.59 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 9.735e-05/0.4516, allocations: 377.4 kB / 0.5851 GB, free: 32.27 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003916/0.452, allocations: 269.8 kB / 0.5854 GB, free: 32.27 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005629/0.4526, allocations: 497.1 kB / 0.5859 GB, free: 32.02 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005359/0.4532, allocations: 342.7 kB / 0.5862 GB, free: 32.02 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.799e-06/0.4532, allocations: 2.094 kB / 0.5862 GB, free: 32.02 MB / 446.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001729/0.4549, allocations: 1.075 MB / 0.5872 GB, free: 31.67 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.469e-05/0.4549, allocations: 8.188 kB / 0.5873 GB, free: 31.67 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.514e-05/0.455, allocations: 10.64 kB / 0.5873 GB, free: 31.66 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000784/0.4557, allocations: 283.3 kB / 0.5875 GB, free: 31.57 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004669/0.4562, allocations: 125.2 kB / 0.5877 GB, free: 31.56 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004939/0.4612, allocations: 6.586 MB / 0.5941 GB, free: 25.81 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005015/0.4617, allocations: 37.83 kB / 0.5941 GB, free: 25.8 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.101e-05/0.4618, allocations: 31.7 kB / 0.5941 GB, free: 25.79 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 (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(2,100.0%) 6,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003064/0.4621, allocations: 255 kB / 0.5944 GB, free: 25.61 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.29e-05/0.4622, allocations: 73.45 kB / 0.5945 GB, free: 25.57 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001493/0.4637, allocations: 0.8839 MB / 0.5953 GB, free: 25.18 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.702e-06/0.4637, allocations: 4.469 kB / 0.5953 GB, free: 25.18 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.025e-06/0.4637, allocations: 4.969 kB / 0.5953 GB, free: 25.18 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.669e-06/0.4637, allocations: 6.938 kB / 0.5953 GB, free: 25.17 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002465/0.4662, allocations: 1.72 MB / 0.597 GB, free: 24.32 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.06e-06/0.4662, allocations: 2.031 kB / 0.597 GB, free: 24.32 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002424/0.4664, allocations: 63.97 kB / 0.5971 GB, free: 24.31 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006738/0.4671, allocations: 264.4 kB / 0.5973 GB, free: 24.23 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.911e-05/0.4672, allocations: 17.03 kB / 0.5974 GB, free: 24.21 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004817/0.472, allocations: 6.592 MB / 0.6038 GB, free: 18.45 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.755e-06/0.472, allocations: 1.031 kB / 0.6038 GB, free: 18.45 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00159/0.4736, allocations: 0.9801 MB / 0.6047 GB, free: 17.93 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003079/0.4739, allocations: 191.2 kB / 0.6049 GB, free: 17.79 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.249e-05/0.474, allocations: 12.73 kB / 0.6049 GB, free: 17.78 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003854/0.4744, allocations: 33.89 kB / 0.605 GB, free: 17.77 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001566/0.4746, allocations: 38.03 kB / 0.605 GB, free: 17.76 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.235e-05/0.4746, allocations: 23.05 kB / 0.605 GB, free: 17.75 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0006053/0.4753, allocations: 384 kB / 0.6054 GB, free: 17.58 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4753, allocations: 0 / 0.6054 GB, free: 17.58 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0009796/0.4762, allocations: 225.4 kB / 0.6056 GB, free: 17.56 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 (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 6} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001763/0.478, allocations: 1.54 MB / 0.6071 GB, free: 16.5 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001876/0.4799, allocations: 1.26 MB / 0.6083 GB, free: 15.76 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.438e-06/0.4799, allocations: 0 / 0.6083 GB, free: 15.76 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001106/0.481, allocations: 0.8936 MB / 0.6092 GB, free: 15.15 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009946/0.482, allocations: 204 kB / 0.6094 GB, free: 15.09 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005992/0.488, allocations: 4.435 MB / 0.6137 GB, free: 12.68 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005326/0.4886, allocations: 1.011 MB / 0.6147 GB, free: 11.95 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.000468/0.4891, allocations: 117.2 kB / 0.6148 GB, free: 11.92 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000269/0.4894, allocations: 251.7 kB / 0.6151 GB, free: 11.73 MB / 446.1 MB Notification: Performance of SimCode: time 7.12e-07/0.4894, allocations: 4 kB / 0.6151 GB, free: 11.73 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02734/0.5167, allocations: 16.33 MB / 0.631 GB, free: 2.203 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001389/0.5169, allocations: 226.1 kB / 0.6313 GB, free: 1.961 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.941/2.458, allocations: 0 / 0.6313 GB, free: 1.961 MB / 446.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/linux/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) Environment - environmentSimulation: