Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_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.ACLine_RL_N,fileNamePrefix="Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N,fileNamePrefix="Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_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.729/1.729, allocations: 289.7 MB / 302.2 MB, free: 2.176 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.002103/0.002103, allocations: 184.9 kB / 371.6 MB, free: 3.406 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.706/1.706, allocations: 205.2 MB / 0.6309 GB, free: 11.74 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.001055/0.001054, allocations: 89.56 kB / 0.745 GB, free: 54.5 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 5.143e-05/5.166e-05, allocations: 8 kB / 0.8663 GB, free: 14.94 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3014/0.3015, allocations: 116.3 MB / 0.9799 GB, free: 10.48 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.031/1.332, allocations: 197.3 MB / 1.173 GB, free: 1.816 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003433/1.333, allocations: 94.25 kB / 1.173 GB, free: 1.766 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.3032/1.636, allocations: 113.2 MB / 1.283 GB, free: 11.37 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.094e-06/1.636, allocations: 4 kB / 1.283 GB, free: 11.36 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 0.0003809/1.636, allocations: 75.98 kB / 1.283 GB, free: 11.29 MB / 0.8542 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 798 * Number of variables: 798 Notification: Performance of Generate backend data structure: time 0.01267/1.649, allocations: 2.678 MB / 1.286 GB, free: 8.555 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 7.899e-05/1.649, allocations: 12.03 kB / 1.286 GB, free: 8.543 MB / 0.8542 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003405/1.653, allocations: 454.4 kB / 1.286 GB, free: 8.086 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008512/1.661, allocations: 0.6614 MB / 1.287 GB, free: 7.422 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009482/1.671, allocations: 2.067 MB / 1.289 GB, free: 5.297 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004211/1.671, allocations: 225.9 kB / 1.289 GB, free: 5.074 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00234/1.674, allocations: 299.9 kB / 1.289 GB, free: 4.781 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02253/1.696, allocations: 4.563 MB / 1.294 GB, free: 15.96 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003312/1.697, allocations: 7.938 kB / 1.294 GB, free: 15.96 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001927/1.698, allocations: 136 kB / 1.294 GB, free: 15.82 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000373/1.699, allocations: 165.8 kB / 1.294 GB, free: 15.66 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01263/1.712, allocations: 3.349 MB / 1.298 GB, free: 12.3 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04482/1.756, allocations: 21.59 MB / 1.319 GB, free: 4.711 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002397/1.759, allocations: 1.271 MB / 1.32 GB, free: 3.43 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001729/1.761, allocations: 1.03 MB / 1.321 GB, free: 2.395 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 9.705e-05/1.761, allocations: 9 kB / 1.321 GB, free: 2.387 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.503e-05/1.761, allocations: 47.5 kB / 1.321 GB, free: 2.332 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=107): time 3.036e-06/1.761, allocations: 4 kB / 1.321 GB, free: 2.328 MB / 0.8855 GB Notification: Performance of matching and sorting (n=138): time 0.0282/1.789, allocations: 6.644 MB / 1.327 GB, free: 11.69 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.856e-05/1.789, allocations: 64.72 kB / 1.327 GB, free: 11.61 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002973/1.792, allocations: 0.9537 MB / 1.328 GB, free: 10.65 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 0.0002683/1.793, allocations: 45.7 kB / 1.328 GB, free: 10.6 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.001592/1.794, allocations: 1.307 MB / 1.33 GB, free: 9.277 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008425/1.795, allocations: 481.1 kB / 1.33 GB, free: 8.801 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002372/1.795, allocations: 32 kB / 1.33 GB, free: 8.77 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0003138/1.796, allocations: 373.9 kB / 1.331 GB, free: 8.398 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002329/1.798, allocations: 0.8668 MB / 1.331 GB, free: 7.531 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002849/1.801, allocations: 1.319 MB / 1.333 GB, free: 6.012 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002997/1.804, allocations: 1.102 MB / 1.334 GB, free: 4.91 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-05/1.804, allocations: 4 kB / 1.334 GB, free: 4.906 MB / 0.9011 GB Notification: Performance of matching and sorting (n=205) (initialization): time 0.01103/1.815, allocations: 3.382 MB / 1.337 GB, free: 1.504 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 7.118e-05/1.815, allocations: 12 kB / 1.337 GB, free: 1.492 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.887e-05/1.815, allocations: 12 kB / 1.337 GB, free: 1.48 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005021/1.82, allocations: 1.135 MB / 1.338 GB, free: 348 kB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002061/1.822, allocations: 275.5 kB / 1.338 GB, free: 72 kB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02789/1.85, allocations: 12.44 MB / 1.351 GB, free: 3.227 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00257/1.853, allocations: 92.34 kB / 1.351 GB, free: 3.137 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004744/1.853, allocations: 64 kB / 1.351 GB, free: 3.074 MB / 0.9167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 65 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (134): * Single equations (assignments): 131 * 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: 3 {(5,84.0%) 17,(5,84.0%) 17,(5,88.0%) 25} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0007483/1.854, allocations: 212.4 kB / 1.351 GB, free: 2.859 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007133/1.855, allocations: 154.1 kB / 1.351 GB, free: 2.707 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01001/1.865, allocations: 3.083 MB / 1.354 GB, free: 15.6 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.712e-05/1.865, allocations: 19.95 kB / 1.354 GB, free: 15.58 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.504e-05/1.865, allocations: 12 kB / 1.354 GB, free: 15.57 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.204e-05/1.865, allocations: 7.969 kB / 1.354 GB, free: 15.56 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01992/1.885, allocations: 6.101 MB / 1.36 GB, free: 9.32 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.497e-05/1.885, allocations: 4 kB / 1.36 GB, free: 9.316 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000787/1.886, allocations: 151.8 kB / 1.36 GB, free: 9.168 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003401/1.889, allocations: 1.02 MB / 1.361 GB, free: 8.141 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001522/1.89, allocations: 28 kB / 1.361 GB, free: 8.113 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01806/1.908, allocations: 12.14 MB / 1.373 GB, free: 11.57 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.966e-05/1.908, allocations: 7.938 kB / 1.373 GB, free: 11.56 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006886/1.915, allocations: 3.326 MB / 1.376 GB, free: 8.008 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001508/1.916, allocations: 415 kB / 1.377 GB, free: 7.582 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007331/1.917, allocations: 27.98 kB / 1.377 GB, free: 7.555 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001369/1.918, allocations: 79.91 kB / 1.377 GB, free: 7.477 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005888/1.919, allocations: 120.7 kB / 1.377 GB, free: 7.359 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001264/1.919, allocations: 39.98 kB / 1.377 GB, free: 7.32 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.001762/1.921, allocations: 0.7339 MB / 1.378 GB, free: 6.582 MB / 0.948 GB Notification: Performance of sort global known variables: time 5.31e-07/1.921, allocations: 3.938 kB / 1.378 GB, free: 6.578 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.003819/1.925, allocations: 0.668 MB / 1.378 GB, free: 5.91 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (70): * Single equations (assignments): 67 * 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: 3 {(5,84.0%) 17,(5,88.0%) 25,(5,84.0%) 17} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.007772/1.933, allocations: 5.099 MB / 1.383 GB, free: 0.6523 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.6595/2.592, allocations: 3.009 MB / 1.386 GB, free: 221.7 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 8.166e-06/2.592, allocations: 0 / 1.386 GB, free: 221.7 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.003431/2.596, allocations: 1.893 MB / 1.388 GB, free: 221.3 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002385/2.598, allocations: 418.4 kB / 1.389 GB, free: 221.3 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01302/2.611, allocations: 5.092 MB / 1.394 GB, free: 220.3 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003347/2.614, allocations: 2.397 MB / 1.396 GB, free: 219.5 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.001567/2.616, allocations: 348.2 kB / 1.396 GB, free: 219.5 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001409/2.617, allocations: 0.994 MB / 1.397 GB, free: 219.5 MB / 0.948 GB Notification: Performance of SimCode: time 9.32e-07/2.617, allocations: 0.625 kB / 1.397 GB, free: 219.5 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09643/2.714, allocations: 48.73 MB / 1.445 GB, free: 218 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000174/2.714, allocations: 191.8 kB / 1.445 GB, free: 217.8 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.246/5.96, allocations: 4 kB / 1.445 GB, free: 217.8 MB / 0.948 GB (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_N_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_N.fmu > Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe 2>&1)