Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.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_N,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_N",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.0008925/0.0008924, allocations: 92.95 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.001007/0.001007, allocations: 184.1 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.291/1.291, 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.6597/0.6597, allocations: 115.5 MB / 407.6 MB, free: 2.742 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003796/0.0003797, allocations: 8 kB / 496 MB, free: 6.285 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1473/0.1477, allocations: 77.54 MB / 0.5601 GB, free: 8.957 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N): time 0.3169/0.4646, allocations: 32.17 MB / 0.5915 GB, free: 14.16 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.02512/0.4898, allocations: 14.63 MB / 0.6058 GB, free: 10.11 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004767/0.4946, allocations: 135.9 kB / 0.6059 GB, free: 10.05 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003486/0.4981, allocations: 0.7224 MB / 0.6066 GB, free: 9.633 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01152/0.5096, allocations: 2.694 MB / 0.6092 GB, free: 8.023 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007342/0.517, allocations: 1.992 MB / 0.6112 GB, free: 6.852 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.01983/0.5368, allocations: 12.21 MB / 0.6231 GB, free: 1.27 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02284/0.5597, allocations: 11.5 MB / 0.6343 GB, free: 10.53 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006918/0.5667, allocations: 2.969 MB / 0.6372 GB, free: 7.547 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006663/0.5734, allocations: 3.511 MB / 0.6407 GB, free: 4.023 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001488/0.5749, allocations: 292 kB / 0.6409 GB, free: 3.738 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004789/0.5797, allocations: 1.56 MB / 0.6425 GB, free: 2.176 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003638/0.5833, allocations: 2.291 MB / 0.6447 GB, free: 15.88 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005907/0.5893, allocations: 2.785 MB / 0.6474 GB, free: 13.07 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0121/0.6014, allocations: 10.66 MB / 0.6578 GB, free: 2.383 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.352e-06/0.6014, allocations: 0 / 0.6578 GB, free: 2.383 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.744e-06/0.6014, allocations: 0 / 0.6578 GB, free: 2.383 MB / 478.1 MB Notification: Performance of Transformations before backend: time 0.0002459/0.6017, allocations: 7.938 kB / 0.6578 GB, free: 2.375 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: 1338 * Number of variables: 1338 Notification: Performance of Generate backend data structure: time 0.01023/0.6119, allocations: 4.841 MB / 0.6626 GB, free: 13.46 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.327e-05/0.612, allocations: 15.97 kB / 0.6626 GB, free: 13.44 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001254/0.6133, allocations: 0.7232 MB / 0.6633 GB, free: 12.71 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006444/0.6197, allocations: 1.142 MB / 0.6644 GB, free: 11.56 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00674/0.6265, allocations: 3.321 MB / 0.6676 GB, free: 8.16 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003336/0.6268, allocations: 374.6 kB / 0.668 GB, free: 7.793 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001047/0.6279, allocations: 0.4959 MB / 0.6685 GB, free: 7.297 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01584/0.6437, allocations: 7.993 MB / 0.6763 GB, free: 15.02 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000184/0.6439, allocations: 27.77 kB / 0.6763 GB, free: 14.99 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006571/0.6446, allocations: 220 kB / 0.6765 GB, free: 14.78 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001154/0.6458, allocations: 437.6 kB / 0.6769 GB, free: 14.35 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01174/0.6575, allocations: 6.088 MB / 0.6829 GB, free: 8.246 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04553/0.7031, allocations: 35.23 MB / 0.7173 GB, free: 1.836 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003216/0.7064, allocations: 2.022 MB / 0.7193 GB, free: 15.8 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002816/0.7092, allocations: 1.854 MB / 0.7211 GB, free: 13.95 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001586/0.7094, allocations: 18 kB / 0.7211 GB, free: 13.94 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.405e-05/0.7095, allocations: 60.5 kB / 0.7212 GB, free: 13.87 MB / 0.545 GB Notification: Performance of pre-optimization done (n=171): time 3.767e-06/0.7095, allocations: 0 / 0.7212 GB, free: 13.87 MB / 0.545 GB Notification: Performance of matching and sorting (n=276): time 0.1537/0.8632, allocations: 39.02 MB / 0.7593 GB, free: 6.758 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.325e-05/0.8633, allocations: 81.58 kB / 0.7593 GB, free: 6.664 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004226/0.8675, allocations: 2.282 MB / 0.7616 GB, free: 4.367 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0003661/0.8679, allocations: 73.7 kB / 0.7616 GB, free: 4.289 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.001745/0.8697, allocations: 2.272 MB / 0.7639 GB, free: 1.988 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.001078/0.8707, allocations: 0.9357 MB / 0.7648 GB, free: 1.039 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000517/0.8713, allocations: 231.8 kB / 0.765 GB, free: 0.8047 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001146/0.8714, allocations: 309 kB / 0.7653 GB, free: 0.5 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003037/0.8744, allocations: 1.97 MB / 0.7672 GB, free: 14.53 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003863/0.8783, allocations: 2.599 MB / 0.7697 GB, free: 11.68 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006828/0.8852, allocations: 4.941 MB / 0.7746 GB, free: 6.469 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.083e-05/0.8852, allocations: 4 kB / 0.7746 GB, free: 6.465 MB / 0.5919 GB Notification: Performance of matching and sorting (n=376) (initialization): time 0.01502/0.9002, allocations: 7.75 MB / 0.7821 GB, free: 14.64 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 3.772e-05/0.9003, allocations: 13.88 kB / 0.7822 GB, free: 14.63 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.141e-05/0.9003, allocations: 16 kB / 0.7822 GB, free: 14.62 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0094/0.9097, allocations: 3.217 MB / 0.7853 GB, free: 11.38 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001645/0.9114, allocations: 399.3 kB / 0.7857 GB, free: 10.99 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04343/0.9548, allocations: 31.17 MB / 0.8161 GB, free: 11.01 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003112/0.958, allocations: 163.8 kB / 0.8163 GB, free: 10.85 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004857/0.9585, allocations: 112.4 kB / 0.8164 GB, free: 10.74 MB / 0.6387 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 (202): * Single equations (assignments): 196 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(10,28,71.0%), (10,28,65.0%), (6,24,77.8%), (6,24,77.8%), (5,17,84.0%), (5,17,84.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003545/0.9621, allocations: 1.797 MB / 0.8181 GB, free: 8.934 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008202/0.9629, allocations: 336 kB / 0.8185 GB, free: 8.602 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01461/0.9775, allocations: 7.361 MB / 0.8257 GB, free: 1.16 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.708e-05/0.9776, allocations: 27.94 kB / 0.8257 GB, free: 1.133 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.457e-05/0.9777, allocations: 32 kB / 0.8257 GB, free: 1.102 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.884e-05/0.9777, allocations: 15.89 kB / 0.8257 GB, free: 1.086 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3339/1.312, allocations: 12.92 MB / 0.8383 GB, free: 207.8 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.539e-05/1.312, allocations: 6.688 kB / 0.8384 GB, free: 207.8 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001049/1.313, allocations: 230.4 kB / 0.8386 GB, free: 207.8 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008637/1.321, allocations: 2.852 MB / 0.8414 GB, free: 207.1 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003564/1.322, allocations: 53.88 kB / 0.8414 GB, free: 207.1 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03745/1.359, allocations: 29.97 MB / 0.8707 GB, free: 190 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.643e-06/1.359, allocations: 11.22 kB / 0.8707 GB, free: 190 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01045/1.37, allocations: 6.897 MB / 0.8774 GB, free: 187.1 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001615/1.371, allocations: 0.7831 MB / 0.8782 GB, free: 186.8 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004997/1.372, allocations: 63.56 kB / 0.8782 GB, free: 186.8 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001725/1.374, allocations: 168.6 kB / 0.8784 GB, free: 186.7 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007916/1.374, allocations: 253.1 kB / 0.8786 GB, free: 186.7 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001508/1.375, allocations: 70.47 kB / 0.8787 GB, free: 186.7 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.001801/1.376, allocations: 1.527 MB / 0.8802 GB, free: 185.9 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.6e-07/1.376, allocations: 2.688 kB / 0.8802 GB, free: 185.9 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.003603/1.38, allocations: 1.369 MB / 0.8815 GB, free: 185.8 MB / 0.6387 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 (105): * Single equations (assignments): 99 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(5,17,84.0%), (6,24,77.8%), (10,28,65.0%), (5,17,92.0%), (6,24,77.8%), (10,28,65.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.01008/1.39, allocations: 7.509 MB / 0.8889 GB, free: 178.8 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.009551/1.4, allocations: 6.907 MB / 0.8956 GB, free: 171.9 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 1.355e-05/1.4, allocations: 0 / 0.8956 GB, free: 171.9 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.006941/1.407, allocations: 4.425 MB / 0.8999 GB, free: 167.4 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006968/1.414, allocations: 1.03 MB / 0.901 GB, free: 166.4 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06124/1.475, allocations: 46.07 MB / 0.9459 GB, free: 117.6 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003177/1.478, allocations: 3.639 MB / 0.9495 GB, free: 114 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.001966/1.48, allocations: 0.5478 MB / 0.95 GB, free: 113.4 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00161/1.482, allocations: 1.972 MB / 0.952 GB, free: 111.4 MB / 0.6387 GB Notification: Performance of SimCode: time 1.242e-06/1.482, allocations: 8 kB / 0.952 GB, free: 111.4 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1338/1.616, allocations: 107.9 MB / 1.057 GB, free: 4.707 MB / 0.6387 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001773/1.616, allocations: 239.9 kB / 1.058 GB, free: 4.453 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.924/5.539, allocations: 3.75 kB / 1.058 GB, free: 4.453 MB / 0.6387 GB (rm -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_N_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_N.fmu > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe 2>&1)