Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.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.ThreePhasesUnbalanced.Lines.Examples.ACLine_L,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L",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.00498/0.00498, allocations: 101.1 kB / 15.88 MB, free: 6.32 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.001232/0.001232, allocations: 197.3 kB / 16.79 MB, free: 6.246 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.222/1.222, allocations: 222.9 MB / 240.5 MB, free: 4.543 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6163/0.6163, allocations: 115.3 MB / 405.9 MB, free: 2.75 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001112/0.001112, allocations: 67.84 kB / 493 MB, free: 6.633 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1129/0.114, allocations: 76.18 MB / 0.5559 GB, free: 10.66 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L): time 0.2168/0.3309, allocations: 32.28 MB / 0.5874 GB, free: 18.93 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.01229/0.3432, allocations: 10.28 MB / 0.5974 GB, free: 16.4 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00165/0.3449, allocations: 131.4 kB / 0.5976 GB, free: 16.36 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006231/0.3512, allocations: 3.473 MB / 0.6009 GB, free: 14.32 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003268/0.3544, allocations: 1.735 MB / 0.6026 GB, free: 13.31 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003725/0.3582, allocations: 1.942 MB / 0.6045 GB, free: 12.15 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.007657/0.3658, allocations: 10.58 MB / 0.6149 GB, free: 7.754 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009996/0.3758, allocations: 10.62 MB / 0.6252 GB, free: 2.426 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002706/0.3786, allocations: 2.71 MB / 0.6279 GB, free: 44 kB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003219/0.3818, allocations: 3.548 MB / 0.6313 GB, free: 12.48 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005856/0.3824, allocations: 452 kB / 0.6318 GB, free: 12.04 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003052/0.3855, allocations: 1.876 MB / 0.6336 GB, free: 10.16 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001756/0.3872, allocations: 2.345 MB / 0.6359 GB, free: 7.824 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002218/0.3894, allocations: 2.66 MB / 0.6385 GB, free: 5.152 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006845/0.3963, allocations: 9.979 MB / 0.6482 GB, free: 11.14 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.059e-06/0.3963, allocations: 0 / 0.6482 GB, free: 11.14 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.082e-06/0.3963, allocations: 3.938 kB / 0.6482 GB, free: 11.14 MB / 478.1 MB Notification: Performance of Transformations before backend: time 6.815e-05/0.3964, allocations: 0 / 0.6482 GB, free: 11.14 MB / 478.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1256 * Number of variables: 1256 Notification: Performance of Generate backend data structure: time 0.006549/0.4029, allocations: 4.998 MB / 0.6531 GB, free: 6.07 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.394e-05/0.403, allocations: 8.031 kB / 0.6531 GB, free: 6.062 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007346/0.4037, allocations: 0.682 MB / 0.6538 GB, free: 5.371 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004331/0.4081, allocations: 0.9551 MB / 0.6547 GB, free: 4.41 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0037/0.4118, allocations: 2.859 MB / 0.6575 GB, free: 1.492 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001959/0.412, allocations: 349.7 kB / 0.6579 GB, free: 1.148 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000565/0.4126, allocations: 468.1 kB / 0.6583 GB, free: 0.6914 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009328/0.4219, allocations: 7.663 MB / 0.6658 GB, free: 8.68 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.051e-05/0.422, allocations: 31.72 kB / 0.6658 GB, free: 8.648 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003939/0.4224, allocations: 196 kB / 0.666 GB, free: 8.457 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002703/0.4227, allocations: 316.9 kB / 0.6663 GB, free: 8.145 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00725/0.4299, allocations: 5.706 MB / 0.6719 GB, free: 2.422 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02529/0.4552, allocations: 35.1 MB / 0.7062 GB, free: 12.11 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002303/0.4575, allocations: 2.15 MB / 0.7083 GB, free: 9.836 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001362/0.4589, allocations: 1.269 MB / 0.7095 GB, free: 8.566 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 7.102e-05/0.459, allocations: 13.31 kB / 0.7095 GB, free: 8.555 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.671e-05/0.459, allocations: 55.8 kB / 0.7096 GB, free: 8.492 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=133): time 2.545e-06/0.459, allocations: 0 / 0.7096 GB, free: 8.492 MB / 0.5294 GB Notification: Performance of matching and sorting (n=136): time 0.011/0.47, allocations: 7.092 MB / 0.7165 GB, free: 1.125 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.443e-05/0.4701, allocations: 68.72 kB / 0.7166 GB, free: 1.047 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001459/0.4716, allocations: 1.48 MB / 0.718 GB, free: 15.52 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 7.312e-05/0.4716, allocations: 45.7 kB / 0.718 GB, free: 15.47 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.001022/0.4727, allocations: 2.012 MB / 0.72 GB, free: 13.43 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003128/0.473, allocations: 485.1 kB / 0.7205 GB, free: 12.95 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00044/0.4734, allocations: 351 kB / 0.7208 GB, free: 12.6 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 7.854e-05/0.4735, allocations: 301.1 kB / 0.7211 GB, free: 12.3 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001117/0.4746, allocations: 0.9096 MB / 0.722 GB, free: 11.39 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001497/0.4761, allocations: 1.601 MB / 0.7235 GB, free: 9.48 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002811/0.479, allocations: 2.733 MB / 0.7262 GB, free: 6.438 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.206e-06/0.479, allocations: 8 kB / 0.7262 GB, free: 6.43 MB / 0.545 GB Notification: Performance of matching and sorting (n=239) (initialization): time 0.005046/0.484, allocations: 3.522 MB / 0.7297 GB, free: 2.859 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.368e-05/0.4841, allocations: 19.98 kB / 0.7297 GB, free: 2.84 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.009e-05/0.4841, allocations: 23.94 kB / 0.7297 GB, free: 2.816 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002308/0.4864, allocations: 0.9045 MB / 0.7306 GB, free: 1.875 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009413/0.4873, allocations: 351.4 kB / 0.7309 GB, free: 1.531 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0169/0.5043, allocations: 21.21 MB / 0.7516 GB, free: 10.72 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009319/0.5052, allocations: 99.92 kB / 0.7517 GB, free: 10.62 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001151/0.5053, allocations: 87.98 kB / 0.7518 GB, free: 10.54 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 101 * 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 (185): * Single equations (assignments): 173 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(3,5,77.8%), (3,5,77.8%), (3,5,77.8%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,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.001943/0.5073, allocations: 1.613 MB / 0.7534 GB, free: 8.91 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002274/0.5075, allocations: 201.6 kB / 0.7536 GB, free: 8.711 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004502/0.512, allocations: 2.986 MB / 0.7565 GB, free: 5.672 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.398e-06/0.512, allocations: 16 kB / 0.7565 GB, free: 5.656 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.169e-05/0.5121, allocations: 12 kB / 0.7565 GB, free: 5.645 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.759e-06/0.5121, allocations: 7.969 kB / 0.7565 GB, free: 5.637 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009313/0.5214, allocations: 7.344 MB / 0.7637 GB, free: 14.06 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.733e-06/0.5214, allocations: 4 kB / 0.7637 GB, free: 14.05 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006634/0.5221, allocations: 179.7 kB / 0.7639 GB, free: 13.88 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00215/0.5242, allocations: 0.8223 MB / 0.7647 GB, free: 13.02 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.21e-05/0.5243, allocations: 28 kB / 0.7647 GB, free: 12.99 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01596/0.5403, allocations: 20.31 MB / 0.7845 GB, free: 7.074 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.707e-06/0.5403, allocations: 7.938 kB / 0.7846 GB, free: 7.066 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004253/0.5446, allocations: 3.031 MB / 0.7875 GB, free: 3.922 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005987/0.5452, allocations: 458.5 kB / 0.7879 GB, free: 3.453 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001991/0.5454, allocations: 27.98 kB / 0.788 GB, free: 3.426 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006575/0.546, allocations: 71.92 kB / 0.788 GB, free: 3.355 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002262/0.5463, allocations: 124.7 kB / 0.7882 GB, free: 3.234 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.934e-05/0.5464, allocations: 36 kB / 0.7882 GB, free: 3.199 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.001043/0.5474, allocations: 0.9795 MB / 0.7892 GB, free: 2.195 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5474, allocations: 0 / 0.7892 GB, free: 2.195 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.002037/0.5495, allocations: 0.7852 MB / 0.7899 GB, free: 1.41 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * 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 (91): * Single equations (assignments): 79 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.004526/0.554, allocations: 3.624 MB / 0.7935 GB, free: 13.66 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.004685/0.5587, allocations: 4 MB / 0.7974 GB, free: 9.512 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.504e-06/0.5587, allocations: 0 / 0.7974 GB, free: 9.512 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.003075/0.5618, allocations: 2.737 MB / 0.8 GB, free: 6.617 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002305/0.5641, allocations: 0.6692 MB / 0.8007 GB, free: 5.949 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.211/0.7751, allocations: 25.74 MB / 0.8258 GB, free: 209.3 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003762/0.7789, allocations: 3.111 MB / 0.8289 GB, free: 208.6 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.001267/0.7802, allocations: 454 kB / 0.8293 GB, free: 208.6 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001385/0.7816, allocations: 1.536 MB / 0.8308 GB, free: 208.1 MB / 0.6387 GB Notification: Performance of SimCode: time 5.91e-07/0.7816, allocations: 0 / 0.8308 GB, free: 208.1 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.231/3.013, allocations: 58.99 MB / 0.8884 GB, free: 171.9 MB / 0.6387 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000147/3.013, allocations: 251.7 kB / 0.8887 GB, free: 171.6 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.588/5.601, allocations: 0 / 0.8887 GB, free: 171.6 MB / 0.6387 GB (rm -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L.fmu > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe 2>&1)