Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACSimpleGrid",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACSimpleGrid",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.48/1.48, allocations: 288.4 MB / 303.6 MB, free: 8.043 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009175/0.0009175, allocations: 177.4 kB / 372.2 MB, free: 10.13 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.22/1.22, allocations: 205.4 MB / 0.631 GB, free: 9.836 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0006582/0.0006583, allocations: 92.97 kB / 0.7444 GB, free: 5.746 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000308/0.000308, allocations: 15.84 kB / 0.8676 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1378/0.1381, allocations: 115.3 MB / 0.9802 GB, free: 27.27 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid): time 0.003698/0.1419, allocations: 4.494 MB / 0.9846 GB, free: 22.75 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.002986/0.1449, allocations: 3.1 MB / 0.9876 GB, free: 19.64 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001429/0.145, allocations: 8 kB / 0.9876 GB, free: 19.63 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0004061/0.1455, allocations: 163 kB / 0.9878 GB, free: 19.47 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0004981/0.146, allocations: 330.5 kB / 0.9881 GB, free: 19.14 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003552/0.1463, allocations: 211.5 kB / 0.9883 GB, free: 18.94 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0005105/0.1468, allocations: 0.7164 MB / 0.989 GB, free: 18.22 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000834/0.1477, allocations: 0.8099 MB / 0.9898 GB, free: 17.38 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001636/0.1479, allocations: 199.2 kB / 0.99 GB, free: 17.19 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002324/0.1481, allocations: 251.1 kB / 0.9902 GB, free: 16.94 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 3.974e-05/0.1482, allocations: 20 kB / 0.9902 GB, free: 16.92 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004034/0.1486, allocations: 359.4 kB / 0.9906 GB, free: 16.57 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 8.821e-05/0.1487, allocations: 143.6 kB / 0.9907 GB, free: 16.43 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001363/0.1488, allocations: 224.7 kB / 0.9909 GB, free: 16.2 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0004329/0.1492, allocations: 0.7208 MB / 0.9916 GB, free: 15.48 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.967e-06/0.1493, allocations: 0 / 0.9916 GB, free: 15.48 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.092e-06/0.1493, allocations: 0 / 0.9916 GB, free: 15.48 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.431e-06/0.1493, allocations: 4 kB / 0.9916 GB, free: 15.48 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 83 * Number of variables: 83 Notification: Performance of Generate backend data structure: time 0.0009273/0.1502, allocations: 0.7442 MB / 0.9924 GB, free: 14.68 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 2.912e-05/0.1502, allocations: 8.031 kB / 0.9924 GB, free: 14.68 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.366e-05/0.1503, allocations: 74.72 kB / 0.9924 GB, free: 14.59 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002357/0.1527, allocations: 0.6945 MB / 0.9931 GB, free: 13.9 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005342/0.1532, allocations: 491.7 kB / 0.9936 GB, free: 13.38 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.738e-05/0.1533, allocations: 36.95 kB / 0.9936 GB, free: 13.34 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.965e-05/0.1533, allocations: 31.94 kB / 0.9937 GB, free: 13.31 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001235/0.1546, allocations: 0.8395 MB / 0.9945 GB, free: 12.44 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.428e-05/0.1546, allocations: 0 / 0.9945 GB, free: 12.44 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.544e-05/0.1546, allocations: 15.98 kB / 0.9945 GB, free: 12.43 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001749/0.1548, allocations: 76.5 kB / 0.9946 GB, free: 12.35 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001649/0.1565, allocations: 0.939 MB / 0.9955 GB, free: 11.41 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002834/0.1593, allocations: 2.917 MB / 0.9983 GB, free: 8.281 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001395/0.1607, allocations: 0.5721 MB / 0.9989 GB, free: 7.699 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006202/0.1614, allocations: 317.3 kB / 0.9992 GB, free: 7.387 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 7.552e-05/0.1614, allocations: 85.09 kB / 0.9993 GB, free: 7.285 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.528e-05/0.1615, allocations: 38.56 kB / 0.9993 GB, free: 7.238 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=22): time 1.252e-06/0.1615, allocations: 0 / 0.9993 GB, free: 7.238 MB / 0.6198 GB Notification: Performance of matching and sorting (n=32): time 0.01068/0.1722, allocations: 3.654 MB / 1.003 GB, free: 3.531 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.33e-05/0.1722, allocations: 85.05 kB / 1.003 GB, free: 3.43 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003122/0.1725, allocations: 412.4 kB / 1.003 GB, free: 3.016 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 3.379e-05/0.1726, allocations: 33.7 kB / 1.003 GB, free: 2.977 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 8.873e-05/0.1726, allocations: 235.9 kB / 1.004 GB, free: 2.742 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 7.604e-05/0.1727, allocations: 106.4 kB / 1.004 GB, free: 2.637 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.004e-05/0.1728, allocations: 16 kB / 1.004 GB, free: 2.621 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 4.721e-05/0.1728, allocations: 342.8 kB / 1.004 GB, free: 2.277 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007756/0.1736, allocations: 399.7 kB / 1.004 GB, free: 1.887 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007855/0.1744, allocations: 485 kB / 1.005 GB, free: 1.379 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001554/0.176, allocations: 0.866 MB / 1.006 GB, free: 496 kB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.362e-06/0.176, allocations: 4 kB / 1.006 GB, free: 492 kB / 0.6198 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.005039/0.181, allocations: 1.72 MB / 1.007 GB, free: 14.74 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 7.944e-05/0.1811, allocations: 151.9 kB / 1.008 GB, free: 14.56 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.143e-06/0.1811, allocations: 4 kB / 1.008 GB, free: 14.55 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004079/0.1852, allocations: 0.9738 MB / 1.009 GB, free: 13.57 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005576/0.1858, allocations: 131.8 kB / 1.009 GB, free: 13.44 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3519/0.5377, allocations: 6.411 MB / 1.015 GB, free: 6.637 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007386/0.5385, allocations: 115.8 kB / 1.015 GB, free: 6.523 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.414e-05/0.5385, allocations: 16 kB / 1.015 GB, free: 6.508 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 7.785e-06/0.5385, allocations: 7.938 kB / 1.015 GB, free: 6.5 MB / 0.6355 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004417/0.543, allocations: 1.664 MB / 1.017 GB, free: 4.785 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.06e-06/0.543, allocations: 4 kB / 1.017 GB, free: 4.781 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002875/0.5459, allocations: 0.7251 MB / 1.017 GB, free: 4.043 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005576/0.5464, allocations: 135.8 kB / 1.018 GB, free: 3.91 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005206/0.5516, allocations: 5.437 MB / 1.023 GB, free: 14.07 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007012/0.5524, allocations: 107.9 kB / 1.023 GB, free: 13.97 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.973e-05/0.5524, allocations: 20.05 kB / 1.023 GB, free: 13.95 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (32): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 4,(1,100.0%) 1} * Non-linear torn systems: 1 {2 4} Notification: Performance of prepare postOptimizeDAE: time 0.0003532/0.5528, allocations: 326.7 kB / 1.023 GB, free: 13.62 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.893e-05/0.5529, allocations: 43.47 kB / 1.023 GB, free: 13.58 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004685/0.5575, allocations: 1.622 MB / 1.025 GB, free: 11.94 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.318e-06/0.5576, allocations: 4 kB / 1.025 GB, free: 11.93 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.625e-06/0.5576, allocations: 0 / 1.025 GB, free: 11.93 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.933e-06/0.5576, allocations: 7.984 kB / 1.025 GB, free: 11.93 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005247/0.5628, allocations: 2.326 MB / 1.027 GB, free: 9.52 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.878e-06/0.5628, allocations: 4 kB / 1.027 GB, free: 9.516 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003644/0.5632, allocations: 87.83 kB / 1.027 GB, free: 9.43 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003516/0.5667, allocations: 0.9115 MB / 1.028 GB, free: 8.508 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.549e-05/0.5668, allocations: 11.98 kB / 1.028 GB, free: 8.496 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006661/0.5735, allocations: 6.227 MB / 1.034 GB, free: 1.867 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.5735, allocations: 0 / 1.034 GB, free: 1.867 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004398/0.5779, allocations: 1.647 MB / 1.036 GB, free: 188 kB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000215/0.5781, allocations: 184.7 kB / 1.036 GB, free: 15.98 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.72e-05/0.5782, allocations: 11.94 kB / 1.036 GB, free: 15.97 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005491/0.5787, allocations: 91.86 kB / 1.036 GB, free: 15.88 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001014/0.5788, allocations: 27.95 kB / 1.036 GB, free: 15.85 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.448e-05/0.5789, allocations: 15.97 kB / 1.036 GB, free: 15.84 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.000306/0.5792, allocations: 311.1 kB / 1.036 GB, free: 15.53 MB / 0.6667 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5792, allocations: 0 / 1.036 GB, free: 15.53 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.0007849/0.58, allocations: 244 kB / 1.037 GB, free: 15.29 MB / 0.6667 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (22): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 4,(1,100.0%) 1} * Non-linear torn systems: 1 {2 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.004821/0.5848, allocations: 2.192 MB / 1.039 GB, free: 13.05 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.003958/0.5888, allocations: 2.247 MB / 1.041 GB, free: 10.7 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.5888, allocations: 3.938 kB / 1.041 GB, free: 10.7 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.001339/0.5902, allocations: 0.8318 MB / 1.042 GB, free: 9.828 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000618/0.5908, allocations: 114.3 kB / 1.042 GB, free: 9.719 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009124/0.5999, allocations: 4.585 MB / 1.046 GB, free: 5.039 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004458/0.6004, allocations: 0.9297 MB / 1.047 GB, free: 4.082 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.0005079/0.6009, allocations: 167.2 kB / 1.047 GB, free: 3.918 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002157/0.6011, allocations: 135.4 kB / 1.048 GB, free: 3.785 MB / 0.6667 GB Notification: Performance of SimCode: time 3.2e-07/0.6011, allocations: 0 / 1.048 GB, free: 3.785 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.609/4.21, allocations: 18.11 MB / 1.065 GB, free: 1.945 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002161/4.211, allocations: 238 kB / 1.066 GB, free: 1.672 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.29/7.5, allocations: 0 / 1.066 GB, free: 1.672 MB / 0.6823 GB (rm -f Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACSimpleGrid_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACSimpleGrid.fmu > Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid.pipe 2>&1)