Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.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.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_N",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.842/1.842, allocations: 288.2 MB / 303.2 MB, free: 8.16 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.001161/0.001161, allocations: 189 kB / 371.8 MB, free: 10.28 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.775/1.775, allocations: 205.4 MB / 0.6305 GB, free: 10.03 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.000959/0.000959, allocations: 93.53 kB / 0.7439 GB, free: 5.953 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004576/0.0004577, allocations: 11.53 kB / 0.8669 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2861/0.2866, allocations: 115.3 MB / 0.9795 GB, free: 27.6 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.881/1.168, allocations: 171.5 MB / 1.147 GB, free: 10.04 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003367/1.168, allocations: 98.19 kB / 1.147 GB, free: 10.02 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.5099/1.678, allocations: 202.2 MB / 1.345 GB, free: 10.58 MB / 0.8698 GB Notification: Performance of FrontEnd: time 4.148e-06/1.678, allocations: 0 / 1.345 GB, free: 10.58 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.00084/1.679, allocations: 148 kB / 1.345 GB, free: 10.43 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1524 * Number of variables: 1524 Notification: Performance of Generate backend data structure: time 0.02352/1.702, allocations: 5.242 MB / 1.35 GB, free: 5.121 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.595e-05/1.703, allocations: 8.031 kB / 1.35 GB, free: 5.113 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005085/1.708, allocations: 0.8371 MB / 1.351 GB, free: 4.266 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009324/1.717, allocations: 1.136 MB / 1.352 GB, free: 3.121 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01306/1.73, allocations: 3.708 MB / 1.355 GB, free: 15.36 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005938/1.731, allocations: 431.6 kB / 1.356 GB, free: 14.93 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003071/1.734, allocations: 0.5507 MB / 1.356 GB, free: 14.38 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02884/1.763, allocations: 8.823 MB / 1.365 GB, free: 5.113 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003465/1.763, allocations: 19.88 kB / 1.365 GB, free: 5.094 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002743/1.766, allocations: 252 kB / 1.365 GB, free: 4.848 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004598/1.766, allocations: 303 kB / 1.365 GB, free: 4.551 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02034/1.787, allocations: 6.437 MB / 1.372 GB, free: 14.1 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06918/1.856, allocations: 41.46 MB / 1.412 GB, free: 0.8984 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005605/1.862, allocations: 3.103 MB / 1.415 GB, free: 13.79 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002234/1.862, allocations: 25.95 kB / 1.415 GB, free: 13.77 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.164e-05/1.862, allocations: 56.56 kB / 1.415 GB, free: 13.71 MB / 0.948 GB Notification: Performance of pre-optimization done (n=209): time 4.9e-06/1.862, allocations: 4 kB / 1.415 GB, free: 13.7 MB / 0.948 GB Notification: Performance of matching and sorting (n=212): time 0.02917/1.891, allocations: 10.48 MB / 1.426 GB, free: 3.129 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.224e-05/1.891, allocations: 77.34 kB / 1.426 GB, free: 3.039 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003837/1.895, allocations: 1.669 MB / 1.427 GB, free: 1.355 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0004569/1.896, allocations: 65.7 kB / 1.427 GB, free: 1.285 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.6124/2.508, allocations: 2.367 MB / 1.43 GB, free: 226.9 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0015/2.51, allocations: 0.7292 MB / 1.43 GB, free: 226.7 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004594/2.51, allocations: 53.19 kB / 1.43 GB, free: 226.7 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0003016/2.51, allocations: 408.6 kB / 1.431 GB, free: 226.4 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002816/2.513, allocations: 1.323 MB / 1.432 GB, free: 226.4 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003304/2.517, allocations: 2.097 MB / 1.434 GB, free: 225.4 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003423/2.52, allocations: 1.684 MB / 1.436 GB, free: 225.4 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.388e-05/2.52, allocations: 6.219 kB / 1.436 GB, free: 225.4 MB / 0.948 GB Notification: Performance of matching and sorting (n=327) (initialization): time 0.01081/2.531, allocations: 4.974 MB / 1.441 GB, free: 225.1 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 6.648e-05/2.531, allocations: 14.67 kB / 1.441 GB, free: 225.1 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.646e-05/2.531, allocations: 25.16 kB / 1.441 GB, free: 225.1 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003992/2.535, allocations: 1.54 MB / 1.442 GB, free: 225.1 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002176/2.537, allocations: 443.1 kB / 1.443 GB, free: 225.1 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0255/2.563, allocations: 17.67 MB / 1.46 GB, free: 219.8 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003175/2.566, allocations: 149.6 kB / 1.46 GB, free: 219.8 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006892/2.567, allocations: 108.7 kB / 1.46 GB, free: 219.8 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 113 * 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 (219): * Single equations (assignments): 215 * 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: 4 {(6,72.2%) 32,(6,66.7%) 24,(4,100.0%) 18,(4,100.0%) 18} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.005536/2.572, allocations: 1.943 MB / 1.462 GB, free: 219.7 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001015/2.573, allocations: 288.8 kB / 1.462 GB, free: 219.6 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009323/2.583, allocations: 4.447 MB / 1.467 GB, free: 219.4 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.482e-05/2.583, allocations: 20.44 kB / 1.467 GB, free: 219.4 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.914e-05/2.583, allocations: 17.19 kB / 1.467 GB, free: 219.4 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.412e-05/2.583, allocations: 10.17 kB / 1.467 GB, free: 219.4 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02483/2.608, allocations: 9.632 MB / 1.476 GB, free: 218.7 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.437e-05/2.608, allocations: 8.797 kB / 1.476 GB, free: 218.7 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001206/2.609, allocations: 241.4 kB / 1.476 GB, free: 218.7 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003522/2.613, allocations: 1.394 MB / 1.478 GB, free: 218.6 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003024/2.613, allocations: 39.03 kB / 1.478 GB, free: 218.6 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02209/2.635, allocations: 17.71 MB / 1.495 GB, free: 213.3 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.352e-06/2.635, allocations: 6.906 kB / 1.495 GB, free: 213.3 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0115/2.647, allocations: 4.864 MB / 1.5 GB, free: 212.1 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003042/2.65, allocations: 0.633 MB / 1.5 GB, free: 211.8 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001307/2.651, allocations: 39.03 kB / 1.5 GB, free: 211.7 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002831/2.654, allocations: 121.2 kB / 1.501 GB, free: 211.7 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000947/2.655, allocations: 176.3 kB / 1.501 GB, free: 211.7 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003867/2.655, allocations: 58.47 kB / 1.501 GB, free: 211.7 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.00308/2.658, allocations: 1.266 MB / 1.502 GB, free: 211.2 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.943e-06/2.658, allocations: 3.562 kB / 1.502 GB, free: 211.2 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.005378/2.664, allocations: 1.178 MB / 1.503 GB, free: 211.1 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * 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 (107): * Single equations (assignments): 103 * 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: 4 {(4,100.0%) 18,(6,66.7%) 24,(6,66.7%) 32,(4,100.0%) 18} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.007731/2.671, allocations: 6.595 MB / 1.51 GB, free: 207.1 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.007031/2.679, allocations: 4.603 MB / 1.514 GB, free: 205.2 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.183e-05/2.679, allocations: 3.75 kB / 1.514 GB, free: 205.2 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.004311/2.683, allocations: 2.92 MB / 1.517 GB, free: 203.8 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004106/2.687, allocations: 0.7638 MB / 1.518 GB, free: 203.6 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06421/2.751, allocations: 42.96 MB / 1.56 GB, free: 172.1 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01004/2.761, allocations: 3.792 MB / 1.563 GB, free: 170.8 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.004022/2.765, allocations: 0.5459 MB / 1.564 GB, free: 170.8 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004704/2.77, allocations: 1.944 MB / 1.566 GB, free: 169.1 MB / 0.948 GB Notification: Performance of SimCode: time 1.844e-06/2.77, allocations: 0 / 1.566 GB, free: 169.1 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1269/2.897, allocations: 81.19 MB / 1.645 GB, free: 140.8 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001675/2.897, allocations: 233.4 kB / 1.645 GB, free: 140.5 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.288/7.185, allocations: 0 / 1.645 GB, free: 140.5 MB / 0.948 GB (rm -f Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_N_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_N.fmu > Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe 2>&1)