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.007835/0.007835, allocations: 100.1 kB / 15.73 MB, free: 6.055 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.001574/0.001574, allocations: 190.3 kB / 16.67 MB, free: 5.969 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.437/1.437, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002546/0.002546, allocations: 280.6 kB / 290.8 MB, free: 14.47 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.063/1.063, allocations: 169.3 MB / 0.4983 GB, free: 4.441 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002745/0.002745, allocations: 99.84 kB / 0.681 GB, free: 7.465 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4221/0.4249, allocations: 86.96 MB / 0.7659 GB, free: 4.043 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium): time 0.01909/0.444, allocations: 14.77 MB / 0.7803 GB, free: 5.215 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.01655/0.4606, allocations: 10.35 MB / 0.7904 GB, free: 10.82 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001465/0.4621, allocations: 59.62 kB / 0.7905 GB, free: 10.77 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.00478/0.4669, allocations: 1.683 MB / 0.7921 GB, free: 9.078 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.005431/0.4723, allocations: 1.814 MB / 0.7939 GB, free: 7.266 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002149/0.4745, allocations: 0.7583 MB / 0.7947 GB, free: 6.508 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.004125/0.4786, allocations: 2.754 MB / 0.7973 GB, free: 3.742 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002365/0.481, allocations: 1.415 MB / 0.7987 GB, free: 2.293 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002408/0.4834, allocations: 1.5 MB / 0.8002 GB, free: 0.7891 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002275/0.4857, allocations: 1.156 MB / 0.8013 GB, free: 15.63 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0006156/0.4864, allocations: 164 kB / 0.8015 GB, free: 15.47 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00208/0.4885, allocations: 0.7877 MB / 0.8022 GB, free: 14.68 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.001113/0.4896, allocations: 0.6076 MB / 0.8028 GB, free: 14.07 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001832/0.4914, allocations: 0.96 MB / 0.8038 GB, free: 13.11 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.004501/0.496, allocations: 2.771 MB / 0.8065 GB, free: 10.32 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.496, allocations: 0 / 0.8065 GB, free: 10.32 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.004e-06/0.496, allocations: 0 / 0.8065 GB, free: 10.32 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 9.078e-05/0.4961, allocations: 0 / 0.8065 GB, free: 10.32 MB / 0.5762 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.004705/0.5008, allocations: 2.234 MB / 0.8087 GB, free: 8.031 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 5.089e-05/0.5009, allocations: 16.03 kB / 0.8087 GB, free: 8.016 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000317/0.5012, allocations: 190.4 kB / 0.8089 GB, free: 7.82 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01164/0.5128, allocations: 2.117 MB / 0.8109 GB, free: 5.699 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003133/0.516, allocations: 1.308 MB / 0.8122 GB, free: 4.336 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.446e-05/0.5161, allocations: 90.67 kB / 0.8123 GB, free: 4.246 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004391/0.5166, allocations: 123.9 kB / 0.8124 GB, free: 4.125 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006106/0.5227, allocations: 2.667 MB / 0.815 GB, free: 1.309 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.991e-05/0.5227, allocations: 11.94 kB / 0.815 GB, free: 1.297 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001831/0.5229, allocations: 55.98 kB / 0.8151 GB, free: 1.242 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006688/0.5236, allocations: 190.1 kB / 0.8153 GB, free: 1.055 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00768/0.5313, allocations: 2.791 MB / 0.818 GB, free: 14.25 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01639/0.5477, allocations: 10.48 MB / 0.8282 GB, free: 3.184 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00659/0.5544, allocations: 2.332 MB / 0.8305 GB, free: 0.8281 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00313/0.5575, allocations: 1.28 MB / 0.8318 GB, free: 15.55 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 7.253e-05/0.5576, allocations: 16.94 kB / 0.8318 GB, free: 15.53 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.418e-05/0.5577, allocations: 39.56 kB / 0.8318 GB, free: 15.48 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=89): time 2.835e-06/0.5577, allocations: 0 / 0.8318 GB, free: 15.48 MB / 0.6075 GB Notification: Performance of matching and sorting (n=153): time 0.06053/0.6182, allocations: 16.53 MB / 0.8479 GB, free: 14.8 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.156e-05/0.6183, allocations: 68.72 kB / 0.848 GB, free: 14.72 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001675/0.62, allocations: 1.172 MB / 0.8492 GB, free: 13.54 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 0.000179/0.6202, allocations: 53.7 kB / 0.8492 GB, free: 13.48 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007253/0.6209, allocations: 0.7567 MB / 0.8499 GB, free: 12.72 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005994/0.6215, allocations: 0.5383 MB / 0.8505 GB, free: 12.18 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006009/0.6221, allocations: 287.5 kB / 0.8507 GB, free: 11.89 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001429/0.6223, allocations: 309 kB / 0.851 GB, free: 11.59 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003583/0.6259, allocations: 1.51 MB / 0.8525 GB, free: 10.07 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003833/0.6297, allocations: 1.78 MB / 0.8543 GB, free: 8.199 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00756/0.6373, allocations: 3.365 MB / 0.8575 GB, free: 4.738 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.18e-06/0.6373, allocations: 0 / 0.8575 GB, free: 4.738 MB / 0.6231 GB Notification: Performance of matching and sorting (n=190) (initialization): time 0.01421/0.6515, allocations: 5.301 MB / 0.8627 GB, free: 15.4 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.764e-05/0.6516, allocations: 8 kB / 0.8627 GB, free: 15.39 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.343e-05/0.6516, allocations: 4 kB / 0.8627 GB, free: 15.39 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007303/0.6589, allocations: 1.877 MB / 0.8646 GB, free: 13.49 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002044/0.661, allocations: 419.3 kB / 0.865 GB, free: 13.08 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0323/0.6933, allocations: 24.16 MB / 0.8886 GB, free: 3.805 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002612/0.6959, allocations: 303.5 kB / 0.8888 GB, free: 3.508 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001907/0.6961, allocations: 75.89 kB / 0.8889 GB, free: 3.434 MB / 0.6544 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.0009681/0.6971, allocations: 454.7 kB / 0.8894 GB, free: 2.98 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003802/0.6975, allocations: 182.9 kB / 0.8895 GB, free: 2.801 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01418/0.7117, allocations: 5.32 MB / 0.8947 GB, free: 13.43 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.326e-05/0.7118, allocations: 16 kB / 0.8947 GB, free: 13.41 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.629e-05/0.7118, allocations: 20 kB / 0.8948 GB, free: 13.39 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.729e-05/0.7119, allocations: 11.97 kB / 0.8948 GB, free: 13.38 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01775/0.7296, allocations: 7.419 MB / 0.902 GB, free: 5.844 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.1e-05/0.7296, allocations: 7.984 kB / 0.902 GB, free: 5.836 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001622/0.7313, allocations: 351.7 kB / 0.9024 GB, free: 5.492 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006184/0.7375, allocations: 1.705 MB / 0.904 GB, free: 3.766 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001567/0.7376, allocations: 47.91 kB / 0.9041 GB, free: 3.719 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03052/0.7682, allocations: 23.32 MB / 0.9268 GB, free: 11.28 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.979e-06/0.7682, allocations: 4 kB / 0.9268 GB, free: 11.28 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01251/0.7807, allocations: 4.904 MB / 0.9316 GB, free: 6.289 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00117/0.7819, allocations: 499.7 kB / 0.9321 GB, free: 5.781 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003215/0.7823, allocations: 40.03 kB / 0.9322 GB, free: 5.742 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002161/0.7844, allocations: 315.5 kB / 0.9325 GB, free: 5.434 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006542/0.7851, allocations: 153 kB / 0.9326 GB, free: 5.281 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001491/0.7853, allocations: 63.91 kB / 0.9327 GB, free: 5.219 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.001349/0.7866, allocations: 0.7937 MB / 0.9334 GB, free: 4.426 MB / 0.7012 GB Notification: Performance of sort global known variables: time 2.3e-07/0.7866, allocations: 0 / 0.9334 GB, free: 4.426 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.002581/0.7892, allocations: 0.6562 MB / 0.9341 GB, free: 3.77 MB / 0.7012 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.01316/0.8024, allocations: 5.479 MB / 0.9394 GB, free: 14.2 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.01123/0.8137, allocations: 5.151 MB / 0.9445 GB, free: 8.945 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 5.641e-06/0.8137, allocations: 0 / 0.9445 GB, free: 8.945 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.007233/0.8209, allocations: 3.374 MB / 0.9478 GB, free: 5.465 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002473/0.8234, allocations: 0.5633 MB / 0.9483 GB, free: 4.93 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3767/1.2, allocations: 21.89 MB / 0.9697 GB, free: 184.6 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001595/1.202, allocations: 1.571 MB / 0.9712 GB, free: 183.8 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.001475/1.203, allocations: 386.8 kB / 0.9716 GB, free: 183.8 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007926/1.204, allocations: 0.6552 MB / 0.9722 GB, free: 183.8 MB / 0.7325 GB Notification: Performance of SimCode: time 1.884e-06/1.204, allocations: 0 / 0.9722 GB, free: 183.8 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.115/1.319, allocations: 58.79 MB / 1.03 GB, free: 142.6 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 19.8/21.12, allocations: 7.812 kB / 1.03 GB, free: 142.6 MB / 0.7325 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)