Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.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.ThreePhasesUnbalanced.Lines.Examples.ACLine_R,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_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.0008941/0.0008941, allocations: 95.95 kB / 15.69 MB, free: 488 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.0009226/0.0009227, allocations: 173.8 kB / 16.57 MB, free: 6.391 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.269/1.269, allocations: 223.2 MB / 240.5 MB, free: 5.453 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6087/0.6087, allocations: 113.7 MB / 405.3 MB, free: 4.676 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003037/0.0003038, allocations: 12.91 kB / 493 MB, free: 8.598 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1362/0.1365, allocations: 77.12 MB / 0.5567 GB, free: 11.69 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R): time 0.2919/0.4284, allocations: 30.58 MB / 0.5866 GB, free: 16.29 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.01678/0.4453, allocations: 9.65 MB / 0.596 GB, free: 16.18 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003578/0.4489, allocations: 119.4 kB / 0.5961 GB, free: 16.13 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002296/0.4512, allocations: 0.6848 MB / 0.5968 GB, free: 15.91 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006563/0.4578, allocations: 1.571 MB / 0.5983 GB, free: 15.38 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005001/0.4628, allocations: 1.162 MB / 0.5995 GB, free: 14.9 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.008753/0.4716, allocations: 3.89 MB / 0.6033 GB, free: 13.65 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01761/0.4892, allocations: 10.4 MB / 0.6134 GB, free: 9.52 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005272/0.4945, allocations: 2.128 MB / 0.6155 GB, free: 8.492 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00488/0.4994, allocations: 2.202 MB / 0.6177 GB, free: 7.285 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00102/0.5004, allocations: 281.2 kB / 0.6179 GB, free: 7.285 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002664/0.5031, allocations: 0.5308 MB / 0.6185 GB, free: 7.164 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001979/0.5051, allocations: 1.923 MB / 0.6203 GB, free: 6.082 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00172/0.5068, allocations: 1.029 MB / 0.6213 GB, free: 5.488 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00686/0.5137, allocations: 8.407 MB / 0.6295 GB, free: 15.3 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.186e-06/0.5137, allocations: 0 / 0.6295 GB, free: 15.3 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.5137, allocations: 0 / 0.6295 GB, free: 15.3 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0002845/0.514, allocations: 2.781 kB / 0.6295 GB, free: 15.3 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1286 * Number of variables: 1286 Notification: Performance of Generate backend data structure: time 0.009779/0.5238, allocations: 4.369 MB / 0.6338 GB, free: 11.73 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.934e-05/0.5239, allocations: 12.03 kB / 0.6338 GB, free: 11.72 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001815/0.5257, allocations: 0.6982 MB / 0.6345 GB, free: 11.02 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004182/0.5299, allocations: 0.911 MB / 0.6354 GB, free: 10.1 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006859/0.5367, allocations: 2.917 MB / 0.6382 GB, free: 7.125 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002894/0.5371, allocations: 361.5 kB / 0.6386 GB, free: 6.77 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001129/0.5382, allocations: 471.9 kB / 0.639 GB, free: 6.309 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01398/0.5522, allocations: 7.824 MB / 0.6467 GB, free: 14.12 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001045/0.5523, allocations: 23.8 kB / 0.6467 GB, free: 14.1 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005004/0.5528, allocations: 212 kB / 0.6469 GB, free: 13.89 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005111/0.5533, allocations: 369.1 kB / 0.6473 GB, free: 13.53 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01052/0.5639, allocations: 5.894 MB / 0.653 GB, free: 7.617 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03911/0.603, allocations: 36.26 MB / 0.6884 GB, free: 148 kB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003119/0.6062, allocations: 2.127 MB / 0.6905 GB, free: 14 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 8.15e-05/0.6063, allocations: 21.25 kB / 0.6905 GB, free: 13.98 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.863e-05/0.6063, allocations: 51.88 kB / 0.6906 GB, free: 13.92 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=157): time 2.735e-06/0.6063, allocations: 0 / 0.6906 GB, free: 13.92 MB / 0.5137 GB Notification: Performance of matching and sorting (n=160): time 0.01281/0.6191, allocations: 7.532 MB / 0.6979 GB, free: 6.109 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.364e-05/0.6192, allocations: 68.72 kB / 0.698 GB, free: 6.031 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002331/0.6215, allocations: 1.848 MB / 0.6998 GB, free: 4.156 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0001245/0.6217, allocations: 57.7 kB / 0.6998 GB, free: 4.094 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.001378/0.6231, allocations: 2.119 MB / 0.7019 GB, free: 1.953 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004587/0.6235, allocations: 0.5623 MB / 0.7025 GB, free: 1.383 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000104/0.6236, allocations: 44 kB / 0.7025 GB, free: 1.34 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001828/0.6238, allocations: 402.3 kB / 0.7029 GB, free: 0.9414 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001427/0.6253, allocations: 1.051 MB / 0.7039 GB, free: 15.89 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001878/0.6271, allocations: 1.74 MB / 0.7056 GB, free: 13.83 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001715/0.6289, allocations: 1.349 MB / 0.7069 GB, free: 12.48 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.498e-06/0.6289, allocations: 4 kB / 0.7069 GB, free: 12.47 MB / 0.5294 GB Notification: Performance of matching and sorting (n=281) (initialization): time 0.00591/0.6348, allocations: 3.893 MB / 0.7107 GB, free: 8.531 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.696e-05/0.6348, allocations: 16.94 kB / 0.7108 GB, free: 8.516 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.579e-05/0.6349, allocations: 27.95 kB / 0.7108 GB, free: 8.488 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002227/0.6371, allocations: 0.935 MB / 0.7117 GB, free: 7.516 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001428/0.6386, allocations: 431.2 kB / 0.7121 GB, free: 7.094 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01833/0.6569, allocations: 21.41 MB / 0.733 GB, free: 76 kB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001901/0.6588, allocations: 128.1 kB / 0.7331 GB, free: 15.95 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000147/0.659, allocations: 96 kB / 0.7332 GB, free: 15.86 MB / 0.5606 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 (227): * Single equations (assignments): 215 * 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: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 12 {(2,100.0%) 6,(2,100.0%) 6,(2,100.0%) 6,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002627/0.6616, allocations: 1.648 MB / 0.7348 GB, free: 14.2 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003434/0.662, allocations: 257 kB / 0.7351 GB, free: 13.94 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004778/0.6667, allocations: 3.248 MB / 0.7383 GB, free: 10.64 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.27e-05/0.6668, allocations: 19.98 kB / 0.7383 GB, free: 10.62 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.227e-05/0.6668, allocations: 12 kB / 0.7383 GB, free: 10.61 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.254e-05/0.6668, allocations: 7.969 kB / 0.7383 GB, free: 10.61 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01274/0.6796, allocations: 7.529 MB / 0.7456 GB, free: 2.922 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.287e-06/0.6796, allocations: 8.5 kB / 0.7457 GB, free: 2.914 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008831/0.6805, allocations: 223.6 kB / 0.7459 GB, free: 2.695 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002288/0.6828, allocations: 0.889 MB / 0.7467 GB, free: 1.77 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001096/0.6829, allocations: 28 kB / 0.7468 GB, free: 1.742 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01869/0.7016, allocations: 21.39 MB / 0.7677 GB, free: 10.75 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.221e-06/0.7016, allocations: 7.938 kB / 0.7677 GB, free: 10.75 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005126/0.7068, allocations: 3.701 MB / 0.7713 GB, free: 6.805 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001208/0.708, allocations: 0.5331 MB / 0.7718 GB, free: 6.25 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003633/0.7084, allocations: 32 kB / 0.7718 GB, free: 6.219 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001072/0.7094, allocations: 91.84 kB / 0.7719 GB, free: 6.129 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004339/0.7099, allocations: 141 kB / 0.772 GB, free: 5.988 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001107/0.71, allocations: 51.94 kB / 0.7721 GB, free: 5.938 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.001751/0.7118, allocations: 1.205 MB / 0.7733 GB, free: 4.719 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.41e-07/0.7118, allocations: 0 / 0.7733 GB, free: 4.719 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.003624/0.7154, allocations: 0.9062 MB / 0.7742 GB, free: 3.812 MB / 0.5919 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 (109): * Single equations (assignments): 97 * 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: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 12 {(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 6,(2,100.0%) 6,(2,100.0%) 6} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.005374/0.7208, allocations: 5.418 MB / 0.7794 GB, free: 14.2 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.005814/0.7266, allocations: 4.417 MB / 0.7838 GB, free: 9.637 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 9.218e-06/0.7267, allocations: 4 kB / 0.7838 GB, free: 9.633 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.00411/0.7308, allocations: 2.988 MB / 0.7867 GB, free: 6.488 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003745/0.7345, allocations: 0.7502 MB / 0.7874 GB, free: 5.746 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2946/1.029, allocations: 36.5 MB / 0.8231 GB, free: 194.9 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004926/1.034, allocations: 3.29 MB / 0.8263 GB, free: 194.1 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.002043/1.036, allocations: 0.5312 MB / 0.8268 GB, free: 194.1 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001681/1.038, allocations: 1.658 MB / 0.8284 GB, free: 194.1 MB / 0.6387 GB Notification: Performance of SimCode: time 1.463e-06/1.038, allocations: 0 / 0.8284 GB, free: 194.1 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 6.034/7.072, allocations: 68.64 MB / 0.8954 GB, free: 149.2 MB / 0.6387 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001221/7.072, allocations: 215.1 kB / 0.8956 GB, free: 148.9 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.081/10.15, allocations: 4 kB / 0.8957 GB, free: 148.9 MB / 0.6387 GB (rm -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R.fmu > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe 2>&1) Environment - environmentSimulation: