Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid,fileNamePrefix="Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACSimpleGrid",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid,fileNamePrefix="Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACSimpleGrid",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.74/1.74, allocations: 289.7 MB / 302.2 MB, free: 2.145 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.001182/0.001182, allocations: 178.6 kB / 371.6 MB, free: 3.359 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.71/1.71, allocations: 205.1 MB / 0.6309 GB, free: 11.75 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008793/0.0008793, allocations: 91.84 kB / 0.745 GB, free: 54.61 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 6.285e-05/6.286e-05, allocations: 4 kB / 0.8663 GB, free: 14.95 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3026/0.3026, allocations: 116.3 MB / 0.9799 GB, free: 10.49 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.945/1.248, allocations: 192.8 MB / 1.168 GB, free: 5.637 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004492/1.248, allocations: 99.36 kB / 1.168 GB, free: 5.602 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.1848/1.433, allocations: 69.15 MB / 1.236 GB, free: 11.85 MB / 0.8073 GB Notification: Performance of FrontEnd: time 2.555e-06/1.433, allocations: 0 / 1.236 GB, free: 11.85 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 0.0001642/1.433, allocations: 32 kB / 1.236 GB, free: 11.82 MB / 0.8073 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 406 * Number of variables: 406 Notification: Performance of Generate backend data structure: time 0.005969/1.439, allocations: 1.569 MB / 1.237 GB, free: 10.29 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 8.919e-05/1.439, allocations: 12.03 kB / 1.237 GB, free: 10.28 MB / 0.8073 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001436/1.441, allocations: 243.7 kB / 1.238 GB, free: 10.12 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003149/1.444, allocations: 0.4907 MB / 1.238 GB, free: 9.641 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002503/1.446, allocations: 1.156 MB / 1.239 GB, free: 8.707 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001081/1.447, allocations: 113.8 kB / 1.239 GB, free: 8.641 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002842/1.447, allocations: 146.9 kB / 1.239 GB, free: 8.543 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004463/1.451, allocations: 2.439 MB / 1.242 GB, free: 6.191 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.749e-05/1.451, allocations: 0 / 1.242 GB, free: 6.191 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001902/1.452, allocations: 71.92 kB / 1.242 GB, free: 6.121 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001086/1.452, allocations: 87.06 kB / 1.242 GB, free: 6.035 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003294/1.455, allocations: 1.98 MB / 1.244 GB, free: 4.051 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01319/1.468, allocations: 10.52 MB / 1.254 GB, free: 8.645 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009418/1.469, allocations: 0.5687 MB / 1.255 GB, free: 8.066 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005812/1.47, allocations: 377.4 kB / 1.255 GB, free: 7.695 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001309/1.47, allocations: 89.09 kB / 1.255 GB, free: 7.59 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.433e-05/1.47, allocations: 41.23 kB / 1.255 GB, free: 7.543 MB / 0.823 GB Notification: Performance of pre-optimization done (n=36): time 2.255e-06/1.47, allocations: 0 / 1.255 GB, free: 7.543 MB / 0.823 GB Notification: Performance of matching and sorting (n=52): time 0.01511/1.485, allocations: 4.778 MB / 1.26 GB, free: 2.746 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.56e-05/1.485, allocations: 81.55 kB / 1.26 GB, free: 2.648 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001377/1.487, allocations: 0.8001 MB / 1.261 GB, free: 1.84 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001214/1.487, allocations: 37.7 kB / 1.261 GB, free: 1.797 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005891/1.487, allocations: 0.7616 MB / 1.262 GB, free: 1.023 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002027/1.488, allocations: 189.4 kB / 1.262 GB, free: 0.8359 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.983e-05/1.488, allocations: 20 kB / 1.262 GB, free: 0.8164 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0002173/1.488, allocations: 390.7 kB / 1.262 GB, free: 436 kB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009409/1.489, allocations: 0.5916 MB / 1.263 GB, free: 15.83 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001197/1.49, allocations: 0.9683 MB / 1.264 GB, free: 14.69 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001142/1.491, allocations: 0.7682 MB / 1.264 GB, free: 13.93 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.17e-06/1.491, allocations: 0 / 1.264 GB, free: 13.93 MB / 0.8386 GB Notification: Performance of matching and sorting (n=111) (initialization): time 0.007091/1.498, allocations: 2.777 MB / 1.267 GB, free: 11.12 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 0.002874/1.501, allocations: 4.527 MB / 1.272 GB, free: 6.246 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.059e-05/1.501, allocations: 12 kB / 1.272 GB, free: 6.234 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005484/1.507, allocations: 1.427 MB / 1.273 GB, free: 4.793 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009994/1.508, allocations: 219.6 kB / 1.273 GB, free: 4.578 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008557/1.516, allocations: 6.82 MB / 1.28 GB, free: 13.43 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00166/1.518, allocations: 163.8 kB / 1.28 GB, free: 13.27 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001162/1.518, allocations: 43.98 kB / 1.28 GB, free: 13.23 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.823e-05/1.518, allocations: 4 kB / 1.28 GB, free: 13.22 MB / 0.8542 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005358/1.524, allocations: 2.247 MB / 1.282 GB, free: 10.97 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.594e-05/1.524, allocations: 8 kB / 1.282 GB, free: 10.96 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003245/1.527, allocations: 0.8683 MB / 1.283 GB, free: 10.09 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001028/1.528, allocations: 259.5 kB / 1.283 GB, free: 9.832 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007196/1.535, allocations: 5.376 MB / 1.289 GB, free: 4.199 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001297/1.537, allocations: 139.7 kB / 1.289 GB, free: 4.062 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.706e-05/1.537, allocations: 40.06 kB / 1.289 GB, free: 4.023 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 52 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (99): * Single equations (assignments): 95 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 2 {2 2,2 2} Notification: Performance of prepare postOptimizeDAE: time 0.0003679/1.537, allocations: 172.7 kB / 1.289 GB, free: 3.848 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001859/1.537, allocations: 83.02 kB / 1.289 GB, free: 3.766 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006258/1.544, allocations: 2.309 MB / 1.291 GB, free: 1.422 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.208e-06/1.544, allocations: 8 kB / 1.291 GB, free: 1.414 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.173e-06/1.544, allocations: 3.984 kB / 1.291 GB, free: 1.41 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.713e-06/1.544, allocations: 0 / 1.291 GB, free: 1.41 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009152/1.553, allocations: 4.256 MB / 1.295 GB, free: 13.04 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.939e-06/1.553, allocations: 0 / 1.295 GB, free: 13.04 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004556/1.553, allocations: 108.1 kB / 1.295 GB, free: 12.93 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004943/1.558, allocations: 1.365 MB / 1.297 GB, free: 11.55 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.389e-05/1.558, allocations: 12 kB / 1.297 GB, free: 11.54 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01237/1.571, allocations: 9.485 MB / 1.306 GB, free: 1.527 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.76e-06/1.571, allocations: 4.031 kB / 1.306 GB, free: 1.523 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006299/1.577, allocations: 2.373 MB / 1.308 GB, free: 15.04 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008042/1.578, allocations: 288.1 kB / 1.309 GB, free: 14.74 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002689/1.578, allocations: 12 kB / 1.309 GB, free: 14.73 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008514/1.579, allocations: 123.8 kB / 1.309 GB, free: 14.61 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002782/1.579, allocations: 39.94 kB / 1.309 GB, free: 14.57 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.104e-05/1.579, allocations: 20 kB / 1.309 GB, free: 14.55 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.001121/1.581, allocations: 0.6318 MB / 1.309 GB, free: 13.93 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.7e-07/1.581, allocations: 0 / 1.309 GB, free: 13.93 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.002326/1.583, allocations: 0.6133 MB / 1.31 GB, free: 13.31 MB / 0.8855 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (42): * Single equations (assignments): 38 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 2 {2 2,2 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.006884/1.59, allocations: 3.562 MB / 1.314 GB, free: 9.656 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.005973/1.596, allocations: 2.959 MB / 1.316 GB, free: 6.652 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 7.303e-06/1.596, allocations: 0 / 1.316 GB, free: 6.652 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.002047/1.598, allocations: 1.234 MB / 1.318 GB, free: 5.367 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001343/1.599, allocations: 225.9 kB / 1.318 GB, free: 5.148 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006886/1.606, allocations: 2.894 MB / 1.321 GB, free: 2.18 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00155/1.608, allocations: 1.642 MB / 1.322 GB, free: 0.5 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.001658/1.609, allocations: 0.5996 MB / 1.323 GB, free: 15.89 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006342/1.61, allocations: 479.3 kB / 1.323 GB, free: 15.43 MB / 0.9011 GB Notification: Performance of SimCode: time 8.31e-07/1.61, allocations: 4 kB / 1.323 GB, free: 15.42 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06686/1.677, allocations: 34.35 MB / 1.357 GB, free: 13.31 MB / 0.9323 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002388/1.677, allocations: 212.2 kB / 1.357 GB, free: 13.08 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.992/4.67, allocations: 0 / 1.357 GB, free: 13.08 MB / 0.9323 GB (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACSimpleGrid_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACSimpleGrid.fmu > Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.pipe 2>&1)