Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.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.ACLine,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine",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.00123/0.00123, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001054/0.001054, allocations: 192.1 kB / 16.26 MB, free: 6.621 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.313/1.313, allocations: 222.9 MB / 239.9 MB, free: 4.516 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002109/0.002109, allocations: 286.6 kB / 290.3 MB, free: 2.121 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9317/0.9317, allocations: 169.2 MB / 0.4978 GB, free: 14.05 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001593/0.001593, allocations: 95.88 kB / 0.5948 GB, free: 28.27 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1417/0.1433, allocations: 86.97 MB / 0.6797 GB, free: 0.9414 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine): time 0.01369/0.157, allocations: 13.95 MB / 0.6934 GB, free: 2.949 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.01106/0.1681, allocations: 9.299 MB / 0.7024 GB, free: 9.621 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007694/0.1689, allocations: 55.62 kB / 0.7025 GB, free: 9.566 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.003428/0.1723, allocations: 1.584 MB / 0.704 GB, free: 7.98 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.002914/0.1753, allocations: 1.403 MB / 0.7054 GB, free: 6.578 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001329/0.1766, allocations: 0.6859 MB / 0.7061 GB, free: 5.895 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.002191/0.1788, allocations: 2.524 MB / 0.7085 GB, free: 3.363 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001603/0.1804, allocations: 1.574 MB / 0.7101 GB, free: 1.754 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001056/0.1815, allocations: 1.063 MB / 0.7111 GB, free: 0.6875 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001124/0.1826, allocations: 1.176 MB / 0.7123 GB, free: 15.5 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0001877/0.1828, allocations: 172 kB / 0.7124 GB, free: 15.34 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001124/0.1839, allocations: 0.7876 MB / 0.7132 GB, free: 14.55 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0004544/0.1844, allocations: 0.6154 MB / 0.7138 GB, free: 13.93 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.000729/0.1851, allocations: 0.9407 MB / 0.7147 GB, free: 12.99 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.00228/0.1874, allocations: 2.784 MB / 0.7174 GB, free: 10.2 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.319e-06/0.1874, allocations: 0 / 0.7174 GB, free: 10.2 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.262e-06/0.1875, allocations: 0 / 0.7174 GB, free: 10.2 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 2.01e-05/0.1875, allocations: 0 / 0.7174 GB, free: 10.2 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.003355/0.1908, allocations: 2.147 MB / 0.7195 GB, free: 7.992 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.541e-05/0.1909, allocations: 8.031 kB / 0.7195 GB, free: 7.984 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002362/0.1911, allocations: 194.4 kB / 0.7197 GB, free: 7.785 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01044/0.2016, allocations: 2.085 MB / 0.7218 GB, free: 5.695 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00195/0.2036, allocations: 1.197 MB / 0.7229 GB, free: 4.441 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.547e-05/0.2036, allocations: 94.67 kB / 0.723 GB, free: 4.348 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002151/0.2038, allocations: 123.8 kB / 0.7231 GB, free: 4.227 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004956/0.2088, allocations: 2.671 MB / 0.7258 GB, free: 1.406 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.93e-05/0.2089, allocations: 11.92 kB / 0.7258 GB, free: 1.395 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000157/0.209, allocations: 59.98 kB / 0.7258 GB, free: 1.336 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005424/0.2096, allocations: 178.1 kB / 0.726 GB, free: 1.16 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006617/0.2162, allocations: 2.795 MB / 0.7287 GB, free: 14.36 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0136/0.2298, allocations: 10.51 MB / 0.739 GB, free: 3.262 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006396/0.2362, allocations: 2.528 MB / 0.7415 GB, free: 0.6719 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003004/0.2393, allocations: 1.29 MB / 0.7427 GB, free: 15.38 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 7.549e-05/0.2394, allocations: 9 kB / 0.7427 GB, free: 15.38 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.916e-05/0.2394, allocations: 47.5 kB / 0.7428 GB, free: 15.32 MB / 0.545 GB Notification: Performance of pre-optimization done (n=89): time 2.565e-06/0.2394, allocations: 0 / 0.7428 GB, free: 15.32 MB / 0.545 GB Notification: Performance of matching and sorting (n=131): time 0.04549/0.2849, allocations: 13.36 MB / 0.7558 GB, free: 1.746 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.116e-05/0.285, allocations: 64.72 kB / 0.7559 GB, free: 1.672 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001433/0.2864, allocations: 1.117 MB / 0.757 GB, free: 0.5391 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0001413/0.2866, allocations: 45.7 kB / 0.757 GB, free: 500 kB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004935/0.2871, allocations: 0.7157 MB / 0.7577 GB, free: 15.76 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004141/0.2875, allocations: 457.4 kB / 0.7581 GB, free: 15.31 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000509/0.288, allocations: 263.4 kB / 0.7584 GB, free: 15.05 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001284/0.2882, allocations: 365.9 kB / 0.7587 GB, free: 14.68 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003142/0.2913, allocations: 1.335 MB / 0.76 GB, free: 13.35 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003365/0.2947, allocations: 1.608 MB / 0.7616 GB, free: 11.64 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006526/0.3012, allocations: 3.002 MB / 0.7645 GB, free: 8.543 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.759e-06/0.3012, allocations: 0 / 0.7645 GB, free: 8.543 MB / 0.5606 GB Notification: Performance of matching and sorting (n=168) (initialization): time 0.01107/0.3123, allocations: 4.438 MB / 0.7689 GB, free: 4.051 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.282e-05/0.3124, allocations: 8 kB / 0.7689 GB, free: 4.043 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.44e-05/0.3124, allocations: 12.86 kB / 0.7689 GB, free: 4.031 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005135/0.3175, allocations: 1.443 MB / 0.7703 GB, free: 2.547 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001993/0.3195, allocations: 435.2 kB / 0.7707 GB, free: 2.121 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2739/0.5934, allocations: 26.68 MB / 0.7968 GB, free: 70.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00233/0.5958, allocations: 305.5 kB / 0.7971 GB, free: 70.88 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001402/0.5959, allocations: 63.92 kB / 0.7971 GB, free: 70.87 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 (99): * Single equations (assignments): 86 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 13 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 13 systems {(2,4,100.0%), (1,1,100.0%), (2,4,100.0%), (3,9,100.0%), (1,1,100.0%), (1,1,100.0%), (3,9,100.0%), (3,9,100.0%), (1,1,100.0%), (3,9,100.0%), (1,1,100.0%), (2,4,100.0%), (2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0006762/0.5966, allocations: 435.4 kB / 0.7976 GB, free: 70.6 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002422/0.5969, allocations: 164.9 kB / 0.7977 GB, free: 70.6 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01062/0.6075, allocations: 4.454 MB / 0.8021 GB, free: 69.18 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.279e-05/0.6075, allocations: 11.41 kB / 0.8021 GB, free: 69.18 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.469e-05/0.6076, allocations: 18.09 kB / 0.8021 GB, free: 69.17 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.603e-05/0.6076, allocations: 5.812 kB / 0.8021 GB, free: 69.17 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01276/0.6204, allocations: 6.76 MB / 0.8087 GB, free: 66.66 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.328e-06/0.6204, allocations: 6.781 kB / 0.8087 GB, free: 66.66 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001749/0.6222, allocations: 387 kB / 0.8091 GB, free: 66.64 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004497/0.6267, allocations: 1.316 MB / 0.8104 GB, free: 66.26 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001217/0.6268, allocations: 44.61 kB / 0.8104 GB, free: 66.24 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01834/0.6451, allocations: 25.5 MB / 0.8353 GB, free: 43.44 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.458e-06/0.6452, allocations: 13.84 kB / 0.8353 GB, free: 43.43 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009093/0.6543, allocations: 4.197 MB / 0.8394 GB, free: 41.01 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005827/0.6549, allocations: 448.8 kB / 0.8398 GB, free: 40.67 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002376/0.6551, allocations: 35.83 kB / 0.8399 GB, free: 40.65 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001843/0.657, allocations: 308.9 kB / 0.8402 GB, free: 40.5 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003576/0.6573, allocations: 124 kB / 0.8403 GB, free: 40.43 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001107/0.6575, allocations: 54.5 kB / 0.8403 GB, free: 40.41 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0007208/0.6582, allocations: 0.7491 MB / 0.8411 GB, free: 40 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6582, allocations: 0 / 0.8411 GB, free: 40 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.001665/0.6599, allocations: 0.5748 MB / 0.8416 GB, free: 39.93 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 (67): * Single equations (assignments): 54 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 13 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 13 systems {(1,1,100.0%), (2,4,100.0%), (1,1,100.0%), (3,9,100.0%), (1,1,100.0%), (2,4,100.0%), (1,1,100.0%), (1,1,100.0%), (3,7,100.0%), (2,4,100.0%), (3,9,100.0%), (2,4,100.0%), (3,7,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.008965/0.6688, allocations: 4.799 MB / 0.8463 GB, free: 36.94 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.009897/0.6787, allocations: 5.516 MB / 0.8517 GB, free: 31.34 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 8.015e-06/0.6788, allocations: 0 / 0.8517 GB, free: 31.34 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.005639/0.6844, allocations: 3.488 MB / 0.8551 GB, free: 27.7 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002145/0.6866, allocations: 0.556 MB / 0.8556 GB, free: 27.18 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0336/0.7202, allocations: 20.91 MB / 0.8761 GB, free: 5.621 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007709/0.721, allocations: 1.48 MB / 0.8775 GB, free: 4.113 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.001531/0.7226, allocations: 432.2 kB / 0.8779 GB, free: 3.699 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007001/0.7233, allocations: 0.632 MB / 0.8785 GB, free: 3.066 MB / 0.5606 GB Notification: Performance of SimCode: time 5.61e-07/0.7233, allocations: 0 / 0.8785 GB, free: 3.066 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.104/3.828, allocations: 51.48 MB / 0.9288 GB, free: 340 kB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002443/3.828, allocations: 249.5 kB / 0.9291 GB, free: 80 kB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.532/7.36, allocations: 6.531 kB / 0.9291 GB, free: 76 kB / 0.6075 GB (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine.fmu > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe 2>&1)