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.001038/0.001038, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001162/0.001162, allocations: 195.7 kB / 16.14 MB, free: 6.66 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.277/1.277, allocations: 222.9 MB / 239.8 MB, free: 4.613 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002018/0.002018, allocations: 270.9 kB / 290.2 MB, free: 2.223 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9198/0.9198, allocations: 169.2 MB / 0.4977 GB, free: 14.19 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001601/0.001601, allocations: 97.69 kB / 0.5946 GB, free: 28.44 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1289/0.1305, allocations: 86.98 MB / 0.6796 GB, free: 1.07 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium): time 0.01424/0.1448, allocations: 14.68 MB / 0.6939 GB, free: 2.352 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.01348/0.1583, allocations: 10.36 MB / 0.704 GB, free: 7.969 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001671/0.16, allocations: 55.62 kB / 0.7041 GB, free: 7.914 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.003952/0.1639, allocations: 1.579 MB / 0.7056 GB, free: 6.336 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.005113/0.1691, allocations: 1.603 MB / 0.7072 GB, free: 4.734 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.00152/0.1706, allocations: 0.6863 MB / 0.7078 GB, free: 4.047 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.003383/0.174, allocations: 3.409 MB / 0.7112 GB, free: 0.6328 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001633/0.1756, allocations: 1.356 MB / 0.7125 GB, free: 15.24 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001621/0.1773, allocations: 1.402 MB / 0.7139 GB, free: 13.84 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001367/0.1786, allocations: 1.167 MB / 0.715 GB, free: 12.66 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0002075/0.1789, allocations: 96 kB / 0.7151 GB, free: 12.57 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001687/0.1806, allocations: 0.8812 MB / 0.7159 GB, free: 11.69 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0005659/0.1811, allocations: 0.5373 MB / 0.7165 GB, free: 11.15 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0009371/0.1821, allocations: 0.8897 MB / 0.7173 GB, free: 10.25 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.003757/0.1858, allocations: 2.733 MB / 0.72 GB, free: 7.512 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 8.877e-06/0.1859, allocations: 0 / 0.72 GB, free: 7.512 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.543e-06/0.1859, allocations: 7.938 kB / 0.72 GB, free: 7.504 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 4.4e-05/0.1859, allocations: 0 / 0.72 GB, free: 7.504 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.004766/0.1907, allocations: 2.166 MB / 0.7221 GB, free: 5.281 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 5.781e-05/0.1908, allocations: 12.03 kB / 0.7221 GB, free: 5.27 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000251/0.191, allocations: 194.4 kB / 0.7223 GB, free: 5.07 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01106/0.2021, allocations: 2.105 MB / 0.7244 GB, free: 2.961 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00255/0.2047, allocations: 1.21 MB / 0.7256 GB, free: 1.695 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.446e-05/0.2048, allocations: 90.67 kB / 0.7257 GB, free: 1.605 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002281/0.205, allocations: 119.9 kB / 0.7258 GB, free: 1.488 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005154/0.2102, allocations: 2.675 MB / 0.7284 GB, free: 14.66 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.938e-05/0.2102, allocations: 15.83 kB / 0.7284 GB, free: 14.65 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001606/0.2104, allocations: 51.98 kB / 0.7284 GB, free: 14.6 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005856/0.211, allocations: 194.1 kB / 0.7286 GB, free: 14.41 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006792/0.2178, allocations: 2.791 MB / 0.7314 GB, free: 11.61 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0138/0.2316, allocations: 10.51 MB / 0.7416 GB, free: 0.5195 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005706/0.2374, allocations: 2.34 MB / 0.7439 GB, free: 14.15 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002736/0.2401, allocations: 1.28 MB / 0.7451 GB, free: 12.87 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 6.469e-05/0.2402, allocations: 9 kB / 0.7452 GB, free: 12.86 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.937e-05/0.2403, allocations: 47.56 kB / 0.7452 GB, free: 12.8 MB / 0.545 GB Notification: Performance of pre-optimization done (n=89): time 2.835e-06/0.2403, allocations: 3.938 kB / 0.7452 GB, free: 12.8 MB / 0.545 GB Notification: Performance of matching and sorting (n=153): time 0.05517/0.2955, allocations: 16.48 MB / 0.7613 GB, free: 12.17 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.995e-05/0.2955, allocations: 68.72 kB / 0.7614 GB, free: 12.09 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001625/0.2972, allocations: 1.18 MB / 0.7625 GB, free: 10.89 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0001846/0.2974, allocations: 45.7 kB / 0.7626 GB, free: 10.84 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005134/0.2979, allocations: 0.7437 MB / 0.7633 GB, free: 10.09 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004901/0.2984, allocations: 0.5197 MB / 0.7638 GB, free: 9.566 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005993/0.299, allocations: 291.5 kB / 0.7641 GB, free: 9.273 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 8.868e-05/0.2991, allocations: 305.1 kB / 0.7644 GB, free: 8.973 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003214/0.3023, allocations: 1.503 MB / 0.7658 GB, free: 7.469 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003346/0.3057, allocations: 1.78 MB / 0.7676 GB, free: 5.594 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006661/0.3123, allocations: 3.369 MB / 0.7709 GB, free: 2.129 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.049e-05/0.3124, allocations: 8 kB / 0.7709 GB, free: 2.121 MB / 0.5606 GB Notification: Performance of matching and sorting (n=190) (initialization): time 0.2838/0.5962, allocations: 5.272 MB / 0.776 GB, free: 90.46 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 3.076e-05/0.5963, allocations: 8.125 kB / 0.776 GB, free: 90.46 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.039e-05/0.5963, allocations: 8.656 kB / 0.776 GB, free: 90.46 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006934/0.6032, allocations: 1.879 MB / 0.7779 GB, free: 90.07 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001808/0.605, allocations: 415.1 kB / 0.7783 GB, free: 90.05 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02415/0.6292, allocations: 22.18 MB / 0.7999 GB, free: 74.79 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002363/0.6316, allocations: 311.2 kB / 0.8002 GB, free: 74.77 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002967/0.6319, allocations: 68.78 kB / 0.8003 GB, free: 74.76 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.0009618/0.6329, allocations: 470.9 kB / 0.8007 GB, free: 74.47 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004383/0.6333, allocations: 175.1 kB / 0.8009 GB, free: 74.42 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01285/0.6462, allocations: 5.32 MB / 0.8061 GB, free: 72.63 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.025e-05/0.6463, allocations: 14.91 kB / 0.8061 GB, free: 72.63 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.189e-05/0.6463, allocations: 18.47 kB / 0.8061 GB, free: 72.63 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.888e-05/0.6464, allocations: 6.609 kB / 0.8061 GB, free: 72.63 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01606/0.6624, allocations: 7.41 MB / 0.8134 GB, free: 68.17 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.148e-05/0.6625, allocations: 5.75 kB / 0.8134 GB, free: 68.17 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00145/0.6639, allocations: 360.4 kB / 0.8137 GB, free: 68.02 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005769/0.6697, allocations: 1.708 MB / 0.8154 GB, free: 67.14 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001617/0.6699, allocations: 43.66 kB / 0.8154 GB, free: 67.12 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02019/0.6901, allocations: 21.36 MB / 0.8363 GB, free: 49.32 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.647e-06/0.6901, allocations: 4 kB / 0.8363 GB, free: 49.31 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01042/0.7005, allocations: 4.885 MB / 0.8411 GB, free: 44.34 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000877/0.7014, allocations: 494.7 kB / 0.8415 GB, free: 43.84 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003817/0.7018, allocations: 31.94 kB / 0.8416 GB, free: 43.81 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002008/0.7039, allocations: 323.5 kB / 0.8419 GB, free: 43.49 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004971/0.7044, allocations: 145 kB / 0.842 GB, free: 43.35 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001383/0.7045, allocations: 55.97 kB / 0.8421 GB, free: 43.29 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0009725/0.7055, allocations: 0.7937 MB / 0.8428 GB, free: 42.5 MB / 0.5606 GB Notification: Performance of sort global known variables: time 2.4e-07/0.7055, allocations: 4 kB / 0.8428 GB, free: 42.5 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.002104/0.7076, allocations: 0.6562 MB / 0.8435 GB, free: 41.84 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.01043/0.7181, allocations: 5.47 MB / 0.8488 GB, free: 36.28 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.008983/0.7271, allocations: 5.144 MB / 0.8538 GB, free: 31.04 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 6.603e-06/0.7271, allocations: 4 kB / 0.8538 GB, free: 31.04 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.005635/0.7327, allocations: 3.347 MB / 0.8571 GB, free: 27.6 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002399/0.7351, allocations: 0.5211 MB / 0.8576 GB, free: 27.1 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0405/0.7757, allocations: 23.61 MB / 0.8807 GB, free: 2.648 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001137/0.7768, allocations: 1.568 MB / 0.8822 GB, free: 1.047 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.001617/0.7785, allocations: 379 kB / 0.8826 GB, free: 0.6836 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000763/0.7792, allocations: 0.6593 MB / 0.8832 GB, free: 24 kB / 0.5606 GB Notification: Performance of SimCode: time 5.41e-07/0.7792, allocations: 0 / 0.8832 GB, free: 24 kB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08345/0.8627, allocations: 56.64 MB / 0.9385 GB, free: 8.125 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001988/0.8629, allocations: 260 kB / 0.9388 GB, free: 7.832 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.815/3.678, allocations: 4.062 kB / 0.9388 GB, free: 7.828 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)