Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLineMedium",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLineMedium",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.0009279/0.0009281, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.005943/0.005943, allocations: 170 kB / 16.26 MB, free: 6.613 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.267/1.267, allocations: 223.3 MB / 240.3 MB, free: 5.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001648/0.001648, allocations: 270.5 kB / 291.7 MB, free: 1.844 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9032/0.9032, allocations: 169.5 MB / 0.5004 GB, free: 14.06 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004023/0.0004024, allocations: 15.69 kB / 0.5988 GB, free: 28.02 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1356/0.136, allocations: 88.54 MB / 0.6852 GB, free: 14.95 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium): time 0.01466/0.1507, allocations: 14.13 MB / 0.699 GB, free: 0.7617 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.01307/0.1638, allocations: 10.22 MB / 0.709 GB, free: 6.527 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006818/0.1645, allocations: 51.62 kB / 0.7091 GB, free: 6.477 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0006498/0.1652, allocations: 289.7 kB / 0.7093 GB, free: 6.191 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.003223/0.1684, allocations: 1.618 MB / 0.7109 GB, free: 4.578 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.00129/0.1697, allocations: 0.6824 MB / 0.7116 GB, free: 3.895 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.003012/0.1727, allocations: 3.408 MB / 0.7149 GB, free: 492 kB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002825/0.1756, allocations: 1.985 MB / 0.7169 GB, free: 14.44 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001459/0.177, allocations: 1.328 MB / 0.7182 GB, free: 13.11 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001194/0.1782, allocations: 1.078 MB / 0.7192 GB, free: 12.03 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0001358/0.1784, allocations: 72 kB / 0.7193 GB, free: 11.96 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00127/0.1797, allocations: 0.8538 MB / 0.7201 GB, free: 11.1 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0004371/0.1801, allocations: 0.4982 MB / 0.7206 GB, free: 10.6 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0007463/0.1809, allocations: 0.864 MB / 0.7214 GB, free: 9.727 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.00219/0.183, allocations: 2.678 MB / 0.7241 GB, free: 7.039 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.396e-06/0.1831, allocations: 0 / 0.7241 GB, free: 7.039 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.863e-06/0.1831, allocations: 0 / 0.7241 GB, free: 7.039 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.549e-05/0.1831, allocations: 4 kB / 0.7241 GB, free: 7.035 MB / 0.5137 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 327 * Number of variables: 327 Notification: Performance of Generate backend data structure: time 0.002997/0.1861, allocations: 1.835 MB / 0.7259 GB, free: 5.145 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.637e-05/0.1861, allocations: 12.03 kB / 0.7259 GB, free: 5.133 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002216/0.1864, allocations: 194.4 kB / 0.726 GB, free: 4.934 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01201/0.1984, allocations: 2.167 MB / 0.7282 GB, free: 2.762 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002003/0.2004, allocations: 1.217 MB / 0.7294 GB, free: 1.488 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.029e-05/0.2005, allocations: 86.69 kB / 0.7294 GB, free: 1.402 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002386/0.2007, allocations: 123.8 kB / 0.7296 GB, free: 1.281 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005463/0.2062, allocations: 2.695 MB / 0.7322 GB, free: 14.44 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.892e-05/0.2062, allocations: 8 kB / 0.7322 GB, free: 14.43 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000164/0.2064, allocations: 47.98 kB / 0.7322 GB, free: 14.38 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006567/0.2071, allocations: 198.1 kB / 0.7324 GB, free: 14.19 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007692/0.2148, allocations: 2.85 MB / 0.7352 GB, free: 11.33 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01328/0.2281, allocations: 10.56 MB / 0.7455 GB, free: 196 kB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006783/0.2349, allocations: 2.383 MB / 0.7478 GB, free: 13.78 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003192/0.2381, allocations: 1.315 MB / 0.7491 GB, free: 12.46 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 5.426e-05/0.2381, allocations: 13 kB / 0.7491 GB, free: 12.45 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.61e-05/0.2382, allocations: 47.56 kB / 0.7492 GB, free: 12.4 MB / 0.545 GB Notification: Performance of pre-optimization done (n=89): time 2.314e-06/0.2382, allocations: 0 / 0.7492 GB, free: 12.4 MB / 0.545 GB Notification: Performance of matching and sorting (n=153): time 0.05966/0.2979, allocations: 16.53 MB / 0.7653 GB, free: 11.71 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.752e-05/0.2979, allocations: 64.72 kB / 0.7654 GB, free: 11.63 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001445/0.2994, allocations: 1.176 MB / 0.7665 GB, free: 10.45 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0001609/0.2996, allocations: 49.7 kB / 0.7666 GB, free: 10.39 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004947/0.3001, allocations: 0.7475 MB / 0.7673 GB, free: 9.637 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004497/0.3005, allocations: 0.5082 MB / 0.7678 GB, free: 9.121 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002183/0.3007, allocations: 121.7 kB / 0.7679 GB, free: 8.996 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 8.109e-05/0.3008, allocations: 305.1 kB / 0.7682 GB, free: 8.695 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003585/0.3044, allocations: 1.542 MB / 0.7697 GB, free: 7.152 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003746/0.3082, allocations: 1.795 MB / 0.7715 GB, free: 5.262 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007466/0.3157, allocations: 3.412 MB / 0.7748 GB, free: 1.754 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.36e-06/0.3157, allocations: 4 kB / 0.7748 GB, free: 1.75 MB / 0.5606 GB Notification: Performance of matching and sorting (n=190) (initialization): time 0.2678/0.5835, allocations: 5.312 MB / 0.78 GB, free: 88.63 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.81e-05/0.5836, allocations: 7.5 kB / 0.78 GB, free: 88.63 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.574e-05/0.5836, allocations: 7.5 kB / 0.78 GB, free: 88.63 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00668/0.5903, allocations: 1.88 MB / 0.7819 GB, free: 88.55 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002083/0.5924, allocations: 423.5 kB / 0.7823 GB, free: 88.54 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02376/0.6161, allocations: 22.2 MB / 0.8039 GB, free: 73.21 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002598/0.6188, allocations: 318.4 kB / 0.8042 GB, free: 73.18 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001649/0.619, allocations: 71.38 kB / 0.8043 GB, free: 73.17 MB / 0.5606 GB 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 (82): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(2,8,100.0%), (2,8,100.0%), (3,17,100.0%), (3,17,100.0%), (2,16,100.0%), (2,16,100.0%), (2,8,100.0%), (2,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0007912/0.6198, allocations: 460.5 kB / 0.8048 GB, free: 72.88 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002703/0.62, allocations: 179.2 kB / 0.8049 GB, free: 72.79 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01353/0.6336, allocations: 5.357 MB / 0.8102 GB, free: 70.99 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.002e-05/0.6336, allocations: 16.05 kB / 0.8102 GB, free: 70.99 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.355e-05/0.6337, allocations: 19.31 kB / 0.8102 GB, free: 70.99 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.822e-05/0.6337, allocations: 5.953 kB / 0.8102 GB, free: 70.99 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01561/0.6493, allocations: 7.471 MB / 0.8175 GB, free: 66.52 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.858e-06/0.6494, allocations: 1.844 kB / 0.8175 GB, free: 66.52 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001715/0.6511, allocations: 361.8 kB / 0.8178 GB, free: 66.38 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005703/0.6568, allocations: 1.714 MB / 0.8195 GB, free: 65.5 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001264/0.6569, allocations: 47.72 kB / 0.8196 GB, free: 65.47 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01983/0.6768, allocations: 21.39 MB / 0.8404 GB, free: 47.24 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.659e-06/0.6768, allocations: 4 kB / 0.8404 GB, free: 47.24 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01108/0.6879, allocations: 4.929 MB / 0.8453 GB, free: 42.23 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008405/0.6888, allocations: 0.4908 MB / 0.8457 GB, free: 41.71 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002264/0.689, allocations: 28 kB / 0.8458 GB, free: 41.69 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002121/0.6911, allocations: 327.5 kB / 0.8461 GB, free: 41.37 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004637/0.6916, allocations: 153 kB / 0.8462 GB, free: 41.21 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001187/0.6917, allocations: 57.83 kB / 0.8463 GB, free: 41.16 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.00083/0.6926, allocations: 0.7899 MB / 0.8471 GB, free: 40.37 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.11e-07/0.6926, allocations: 0 / 0.8471 GB, free: 40.37 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.001848/0.6944, allocations: 0.6523 MB / 0.8477 GB, free: 39.72 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * 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 (46): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(2,8,100.0%), (3,15,100.0%), (2,8,100.0%), (3,17,100.0%), (2,8,100.0%), (3,15,100.0%), (2,8,100.0%), (3,17,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.01098/0.7054, allocations: 5.523 MB / 0.8531 GB, free: 34.11 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.009733/0.7152, allocations: 5.165 MB / 0.8581 GB, free: 28.85 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 6.873e-06/0.7152, allocations: 0 / 0.8581 GB, free: 28.85 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.006002/0.7213, allocations: 3.379 MB / 0.8614 GB, free: 25.39 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002738/0.724, allocations: 0.5179 MB / 0.8619 GB, free: 24.88 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04211/0.7661, allocations: 23.74 MB / 0.8851 GB, free: 288 kB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001505/0.7677, allocations: 1.583 MB / 0.8867 GB, free: 14.66 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.001714/0.7694, allocations: 386.4 kB / 0.887 GB, free: 14.28 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009442/0.7704, allocations: 0.6554 MB / 0.8877 GB, free: 13.62 MB / 0.5762 GB Notification: Performance of SimCode: time 5.81e-07/0.7704, allocations: 0 / 0.8877 GB, free: 13.62 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.083/0.8534, allocations: 55.6 MB / 0.942 GB, free: 6.773 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001783/0.8536, allocations: 257 kB / 0.9422 GB, free: 6.496 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.08/3.933, allocations: 0 / 0.9422 GB, free: 6.496 MB / 0.6231 GB (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLineMedium_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLineMedium.fmu > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe 2>&1)