Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.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_N,fileNamePrefix="Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACSimpleGrid_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N,fileNamePrefix="Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACSimpleGrid_N",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.772/1.772, allocations: 289.7 MB / 302.2 MB, free: 2.094 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.001117/0.001117, allocations: 180.5 kB / 371.6 MB, free: 3.352 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.817/1.817, allocations: 205.2 MB / 0.6309 GB, free: 11.79 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.0009577/0.0009573, allocations: 91.31 kB / 0.745 GB, free: 54.56 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 4.098e-05/4.1e-05, allocations: 4 kB / 0.8663 GB, free: 14.96 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3115/0.3116, allocations: 116.3 MB / 0.9799 GB, free: 10.51 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9719/1.284, allocations: 193.6 MB / 1.169 GB, free: 5.066 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003088/1.284, allocations: 94.36 kB / 1.169 GB, free: 5.031 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.1766/1.46, allocations: 72.44 MB / 1.24 GB, free: 8.188 MB / 0.8073 GB Notification: Performance of FrontEnd: time 2.976e-06/1.461, allocations: 0 / 1.24 GB, free: 8.188 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 0.0001313/1.461, allocations: 36 kB / 1.24 GB, free: 8.152 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: 425 * Number of variables: 425 Notification: Performance of Generate backend data structure: time 0.005166/1.466, allocations: 1.686 MB / 1.242 GB, free: 6.516 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 6.209e-05/1.466, allocations: 8.031 kB / 1.242 GB, free: 6.508 MB / 0.8073 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007666/1.467, allocations: 258.9 kB / 1.242 GB, free: 6.344 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003554/1.47, allocations: 0.662 MB / 1.242 GB, free: 5.684 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003062/1.473, allocations: 1.261 MB / 1.244 GB, free: 4.383 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.422e-05/1.473, allocations: 115.2 kB / 1.244 GB, free: 4.27 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003697/1.474, allocations: 160 kB / 1.244 GB, free: 4.113 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004959/1.479, allocations: 2.605 MB / 1.246 GB, free: 1.445 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.428e-05/1.479, allocations: 3.938 kB / 1.246 GB, free: 1.441 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002264/1.479, allocations: 64 kB / 1.247 GB, free: 1.379 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001259/1.479, allocations: 95.22 kB / 1.247 GB, free: 1.285 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004039/1.483, allocations: 2.152 MB / 1.249 GB, free: 15.13 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0177/1.501, allocations: 10.9 MB / 1.259 GB, free: 3.34 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001175/1.502, allocations: 0.7497 MB / 1.26 GB, free: 2.582 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007416/1.503, allocations: 0.513 MB / 1.261 GB, free: 2.066 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001655/1.503, allocations: 97.44 kB / 1.261 GB, free: 1.953 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.313e-05/1.503, allocations: 38.94 kB / 1.261 GB, free: 1.906 MB / 0.823 GB Notification: Performance of pre-optimization done (n=46): time 3.126e-06/1.503, allocations: 0 / 1.261 GB, free: 1.906 MB / 0.823 GB Notification: Performance of matching and sorting (n=72): time 0.02102/1.524, allocations: 7.168 MB / 1.268 GB, free: 10.72 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.493e-05/1.524, allocations: 85.89 kB / 1.268 GB, free: 10.62 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001421/1.526, allocations: 0.8472 MB / 1.269 GB, free: 9.766 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 0.000125/1.526, allocations: 37.7 kB / 1.269 GB, free: 9.723 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005573/1.527, allocations: 0.7736 MB / 1.269 GB, free: 8.934 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002438/1.527, allocations: 256.4 kB / 1.27 GB, free: 8.68 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.01e-05/1.527, allocations: 20 kB / 1.27 GB, free: 8.66 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0002208/1.527, allocations: 394.8 kB / 1.27 GB, free: 8.266 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001067/1.528, allocations: 0.7639 MB / 1.271 GB, free: 7.5 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001368/1.53, allocations: 1.117 MB / 1.272 GB, free: 6.227 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001323/1.531, allocations: 0.9701 MB / 1.273 GB, free: 5.254 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.847e-06/1.531, allocations: 4 kB / 1.273 GB, free: 5.25 MB / 0.8386 GB Notification: Performance of matching and sorting (n=129) (initialization): time 0.007528/1.539, allocations: 3.4 MB / 1.276 GB, free: 1.832 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 0.001854/1.54, allocations: 4.261 MB / 1.28 GB, free: 13.24 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.734e-05/1.54, allocations: 12 kB / 1.28 GB, free: 13.23 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005806/1.546, allocations: 1.763 MB / 1.282 GB, free: 11.46 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001022/1.547, allocations: 223.6 kB / 1.282 GB, free: 11.24 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01208/1.559, allocations: 7.279 MB / 1.289 GB, free: 3.797 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001556/1.561, allocations: 183.7 kB / 1.29 GB, free: 3.617 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001172/1.561, allocations: 51.94 kB / 1.29 GB, free: 3.566 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.522e-05/1.561, allocations: 4 kB / 1.29 GB, free: 3.562 MB / 0.8542 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005837/1.567, allocations: 2.739 MB / 1.292 GB, free: 0.8203 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.88e-05/1.567, allocations: 8 kB / 1.292 GB, free: 0.8125 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003365/1.57, allocations: 1.033 MB / 1.293 GB, free: 15.78 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001092/1.572, allocations: 295.5 kB / 1.294 GB, free: 15.49 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009223/1.581, allocations: 6.072 MB / 1.3 GB, free: 9.277 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001591/1.582, allocations: 155.7 kB / 1.3 GB, free: 9.125 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001112/1.583, allocations: 48 kB / 1.3 GB, free: 9.078 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 49 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (95): * Single equations (assignments): 93 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(4,100.0%) 14} * Non-linear torn systems: 1 {4 14} Notification: Performance of prepare postOptimizeDAE: time 0.0004046/1.583, allocations: 168.7 kB / 1.3 GB, free: 8.906 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002082/1.583, allocations: 90.97 kB / 1.3 GB, free: 8.816 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007085/1.59, allocations: 2.995 MB / 1.303 GB, free: 5.805 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.175e-05/1.59, allocations: 8 kB / 1.303 GB, free: 5.797 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.005e-05/1.59, allocations: 4 kB / 1.303 GB, free: 5.793 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.189e-05/1.59, allocations: 7.984 kB / 1.303 GB, free: 5.785 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01119/1.602, allocations: 5.59 MB / 1.308 GB, free: 92 kB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.21e-05/1.602, allocations: 4 kB / 1.308 GB, free: 88 kB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006051/1.602, allocations: 111.8 kB / 1.308 GB, free: 15.98 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005551/1.608, allocations: 1.632 MB / 1.31 GB, free: 14.34 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001281/1.608, allocations: 16 kB / 1.31 GB, free: 14.32 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01365/1.622, allocations: 9.464 MB / 1.319 GB, free: 4.598 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.103e-06/1.622, allocations: 7.953 kB / 1.319 GB, free: 4.59 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006625/1.628, allocations: 2.966 MB / 1.322 GB, free: 1.523 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009517/1.629, allocations: 339.9 kB / 1.323 GB, free: 1.172 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001744/1.63, allocations: 15.98 kB / 1.323 GB, free: 1.156 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008788/1.63, allocations: 135.8 kB / 1.323 GB, free: 1.023 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003743/1.631, allocations: 68.42 kB / 1.323 GB, free: 0.957 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.841e-05/1.631, allocations: 23.98 kB / 1.323 GB, free: 0.9336 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.001219/1.632, allocations: 0.663 MB / 1.323 GB, free: 280 kB / 0.8855 GB Notification: Performance of sort global known variables: time 1.4e-07/1.632, allocations: 0 / 1.323 GB, free: 280 kB / 0.8855 GB Notification: Performance of remove unused functions: time 0.003199/1.635, allocations: 0.7226 MB / 1.324 GB, free: 15.55 MB / 0.9011 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 (44): * Single equations (assignments): 42 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(3,100.0%) 13} * Non-linear torn systems: 1 {4 12} Notification: Performance of Backend phase and start with SimCode phase: time 0.007783/1.643, allocations: 4.154 MB / 1.328 GB, free: 11.3 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.007553/1.651, allocations: 3.605 MB / 1.332 GB, free: 7.676 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 1.074e-05/1.651, allocations: 1.875 kB / 1.332 GB, free: 7.676 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.00276/1.654, allocations: 1.366 MB / 1.333 GB, free: 6.281 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001496/1.655, allocations: 251 kB / 1.333 GB, free: 6.047 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007222/1.662, allocations: 3.395 MB / 1.337 GB, free: 2.586 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001735/1.664, allocations: 1.758 MB / 1.338 GB, free: 0.793 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.001825/1.666, allocations: 0.663 MB / 1.339 GB, free: 128 kB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007213/1.667, allocations: 0.5033 MB / 1.339 GB, free: 15.62 MB / 0.9167 GB Notification: Performance of SimCode: time 1.322e-06/1.667, allocations: 0 / 1.339 GB, free: 15.62 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07436/1.741, allocations: 41.41 MB / 1.38 GB, free: 6.473 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002008/1.741, allocations: 209.8 kB / 1.38 GB, free: 6.25 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.981/4.723, allocations: 0 / 1.38 GB, free: 6.25 MB / 0.948 GB (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACSimpleGrid_N_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACSimpleGrid_N.fmu > Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.pipe 2>&1)