Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.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,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine",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.001255/0.001255, allocations: 109 kB / 16.41 MB, free: 6.504 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.00122/0.00122, allocations: 193.2 kB / 17.34 MB, free: 5.742 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.208/1.208, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.654/0.654, allocations: 115.3 MB / 406.5 MB, free: 6.098 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001111/0.001111, allocations: 67.84 kB / 0.5572 GB, free: 32.47 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.117/0.1181, allocations: 76.18 MB / 0.6316 GB, free: 4.891 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine): time 0.0314/0.1495, allocations: 30.73 MB / 0.6616 GB, free: 6.047 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01924/0.1688, allocations: 13.61 MB / 0.6749 GB, free: 8.402 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002509/0.1713, allocations: 143.2 kB / 0.675 GB, free: 8.262 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.007567/0.1789, allocations: 3.197 MB / 0.6782 GB, free: 5.055 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.006725/0.1857, allocations: 2.763 MB / 0.6809 GB, free: 2.277 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.004644/0.1903, allocations: 2.017 MB / 0.6828 GB, free: 268 kB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.008397/0.1987, allocations: 7.637 MB / 0.6903 GB, free: 8.598 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01032/0.2091, allocations: 8.225 MB / 0.6983 GB, free: 260 kB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00539/0.2145, allocations: 3.471 MB / 0.7017 GB, free: 12.77 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005012/0.2195, allocations: 3.383 MB / 0.705 GB, free: 9.375 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.001565/0.2211, allocations: 0.5938 MB / 0.7056 GB, free: 8.781 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003523/0.2247, allocations: 1.498 MB / 0.7071 GB, free: 7.285 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.002974/0.2276, allocations: 2.358 MB / 0.7094 GB, free: 4.922 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.00457/0.2322, allocations: 2.886 MB / 0.7122 GB, free: 2.023 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.008891/0.2411, allocations: 9.465 MB / 0.7214 GB, free: 8.531 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 6.432e-06/0.2412, allocations: 0 / 0.7214 GB, free: 8.531 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.194e-06/0.2412, allocations: 0 / 0.7214 GB, free: 8.531 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 0.0002958/0.2415, allocations: 0 / 0.7214 GB, free: 8.531 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1133 * Number of variables: 1133 Notification: Performance of Generate backend data structure: time 0.01012/0.2516, allocations: 5.14 MB / 0.7264 GB, free: 3.312 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.839e-05/0.2517, allocations: 8.031 kB / 0.7265 GB, free: 3.305 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007781/0.2524, allocations: 0.6164 MB / 0.7271 GB, free: 2.676 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005065/0.2575, allocations: 0.998 MB / 0.728 GB, free: 1.672 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004924/0.2625, allocations: 3.075 MB / 0.731 GB, free: 14.51 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002022/0.2627, allocations: 316.8 kB / 0.7313 GB, free: 14.2 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006054/0.2633, allocations: 431.8 kB / 0.7318 GB, free: 13.78 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009392/0.2727, allocations: 6.784 MB / 0.7384 GB, free: 6.699 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.524e-05/0.2728, allocations: 19.84 kB / 0.7384 GB, free: 6.68 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003864/0.2732, allocations: 187.9 kB / 0.7386 GB, free: 6.496 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007381/0.2739, allocations: 376 kB / 0.7389 GB, free: 6.125 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007271/0.2812, allocations: 5.106 MB / 0.7439 GB, free: 1 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2974/0.5787, allocations: 30.51 MB / 0.7737 GB, free: 74.89 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001722/0.5804, allocations: 1.391 MB / 0.7751 GB, free: 74.16 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001581/0.582, allocations: 1.324 MB / 0.7764 GB, free: 73.5 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 8.502e-05/0.5821, allocations: 13.16 kB / 0.7764 GB, free: 73.5 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.347e-05/0.5821, allocations: 55.41 kB / 0.7764 GB, free: 73.44 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=130): time 2.715e-06/0.5822, allocations: 0 / 0.7764 GB, free: 73.44 MB / 0.5762 GB Notification: Performance of matching and sorting (n=199): time 0.06864/0.6508, allocations: 23.09 MB / 0.799 GB, free: 59.76 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.404e-05/0.6509, allocations: 77.39 kB / 0.7991 GB, free: 59.67 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001951/0.6528, allocations: 2.058 MB / 0.8011 GB, free: 57.59 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.000143/0.653, allocations: 57.7 kB / 0.8011 GB, free: 57.53 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006949/0.6537, allocations: 2.009 MB / 0.8031 GB, free: 55.5 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003454/0.654, allocations: 0.6733 MB / 0.8037 GB, free: 54.84 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005595/0.6546, allocations: 420.1 kB / 0.8041 GB, free: 54.42 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 3.179e-05/0.6546, allocations: 301.1 kB / 0.8044 GB, free: 54.12 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001478/0.6561, allocations: 1.437 MB / 0.8058 GB, free: 52.68 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001693/0.6578, allocations: 2.013 MB / 0.8078 GB, free: 50.42 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003356/0.6612, allocations: 3.692 MB / 0.8114 GB, free: 46.49 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.867e-06/0.6612, allocations: 4 kB / 0.8114 GB, free: 46.49 MB / 0.5762 GB Notification: Performance of matching and sorting (n=294) (initialization): time 0.00838/0.6696, allocations: 5.656 MB / 0.8169 GB, free: 40.77 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.361e-05/0.6696, allocations: 15.94 kB / 0.8169 GB, free: 40.75 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.826e-05/0.6696, allocations: 16.91 kB / 0.817 GB, free: 40.73 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005723/0.6754, allocations: 2.092 MB / 0.819 GB, free: 38.59 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001267/0.6766, allocations: 375.4 kB / 0.8194 GB, free: 38.23 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0272/0.7039, allocations: 38.43 MB / 0.8569 GB, free: 13.33 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002092/0.706, allocations: 131.8 kB / 0.857 GB, free: 13.2 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001735/0.7062, allocations: 88 kB / 0.8571 GB, free: 13.11 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 78 * 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 (204): * Single equations (assignments): 186 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 18 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 18 systems {(3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (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.002435/0.7086, allocations: 1.511 MB / 0.8586 GB, free: 11.59 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004575/0.7091, allocations: 284.6 kB / 0.8588 GB, free: 11.31 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009309/0.7184, allocations: 5.215 MB / 0.8639 GB, free: 6.023 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.757e-05/0.7184, allocations: 24 kB / 0.864 GB, free: 6 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.05e-05/0.7185, allocations: 20 kB / 0.864 GB, free: 5.98 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.97e-05/0.7185, allocations: 11.95 kB / 0.864 GB, free: 5.969 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01513/0.7336, allocations: 9.67 MB / 0.8734 GB, free: 12.14 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.081e-05/0.7337, allocations: 8 kB / 0.8734 GB, free: 12.13 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007673/0.7345, allocations: 215.6 kB / 0.8737 GB, free: 11.92 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005209/0.7397, allocations: 1.843 MB / 0.8755 GB, free: 10.03 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001428/0.7398, allocations: 44 kB / 0.8755 GB, free: 9.984 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03421/0.774, allocations: 37.44 MB / 0.9121 GB, free: 2.066 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.455e-06/0.7741, allocations: 16 kB / 0.9121 GB, free: 2.051 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008313/0.7824, allocations: 4.908 MB / 0.9169 GB, free: 12.98 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001271/0.7837, allocations: 0.611 MB / 0.9175 GB, free: 12.35 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002772/0.784, allocations: 40 kB / 0.9175 GB, free: 12.31 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001218/0.7852, allocations: 136 kB / 0.9176 GB, free: 12.18 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005901/0.7858, allocations: 197.5 kB / 0.9178 GB, free: 11.98 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001274/0.786, allocations: 64 kB / 0.9179 GB, free: 11.92 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.001759/0.7877, allocations: 1.371 MB / 0.9192 GB, free: 10.54 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.41e-07/0.7877, allocations: 0 / 0.9192 GB, free: 10.54 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.002989/0.7907, allocations: 1.047 MB / 0.9202 GB, free: 9.496 MB / 0.6544 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * 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 (112): * Single equations (assignments): 94 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 18 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 18 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.008108/0.7988, allocations: 5.543 MB / 0.9257 GB, free: 3.789 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.008731/0.8076, allocations: 6.287 MB / 0.9318 GB, free: 13.28 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 6.652e-06/0.8076, allocations: 0 / 0.9318 GB, free: 13.28 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.005948/0.8136, allocations: 4.398 MB / 0.9361 GB, free: 8.668 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003501/0.8171, allocations: 0.9854 MB / 0.9371 GB, free: 7.727 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04395/0.861, allocations: 30.65 MB / 0.967 GB, free: 8.07 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002868/0.8639, allocations: 3.127 MB / 0.97 GB, free: 4.91 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.001471/0.8654, allocations: 0.5238 MB / 0.9705 GB, free: 4.383 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001615/0.867, allocations: 1.667 MB / 0.9722 GB, free: 2.715 MB / 0.7012 GB Notification: Performance of SimCode: time 6.11e-07/0.867, allocations: 0 / 0.9722 GB, free: 2.715 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4465/1.314, allocations: 88.07 MB / 1.058 GB, free: 245.4 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.46/14.77, allocations: 5.375 kB / 1.058 GB, free: 245.4 MB / 0.7481 GB (rm -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine.fmu > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe 2>&1)