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.704/1.704, allocations: 285.6 MB / 293.1 MB, free: 10.18 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.001286/0.001286, allocations: 176.9 kB / 361.4 MB, free: 6.809 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.887/1.887, allocations: 205.3 MB / 0.62 GB, free: 11.65 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.0009413/0.0009412, allocations: 92.22 kB / 0.733 GB, free: 44.15 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.441e-05/2.443e-05, allocations: 8 kB / 0.8518 GB, free: 2.613 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7046/0.7046, allocations: 115.3 MB / 0.9645 GB, free: 78.87 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.225/0.9296, allocations: 170.8 MB / 1.131 GB, free: 0.9023 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000264/0.9299, allocations: 93.09 kB / 1.131 GB, free: 0.8125 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.9719/1.902, allocations: 200.4 MB / 1.327 GB, free: 182.6 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.963e-06/1.902, allocations: 0 / 1.327 GB, free: 182.6 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 0.0003521/1.902, allocations: 147 kB / 1.327 GB, free: 182.6 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: 1524 * Number of variables: 1524 Notification: Performance of Generate backend data structure: time 0.01415/1.916, allocations: 4.87 MB / 1.332 GB, free: 180.7 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.941e-05/1.917, allocations: 13.34 kB / 1.332 GB, free: 180.7 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007794/1.924, allocations: 1.141 MB / 1.333 GB, free: 180.4 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009942/1.934, allocations: 3.689 MB / 1.337 GB, free: 178.9 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003335/1.935, allocations: 182.2 kB / 1.337 GB, free: 178.9 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002677/1.937, allocations: 326.1 kB / 1.337 GB, free: 178.9 MB / 0.8542 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01278/1.95, allocations: 5.696 MB / 1.343 GB, free: 176.6 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02008/1.97, allocations: 7.857 MB / 1.35 GB, free: 173 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001812/1.971, allocations: 26.94 kB / 1.35 GB, free: 173 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001132/1.972, allocations: 14.78 kB / 1.35 GB, free: 173 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002688/1.972, allocations: 302.1 kB / 1.351 GB, free: 172.9 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0426/2.015, allocations: 40.26 MB / 1.39 GB, free: 139.9 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003632/2.018, allocations: 2.974 MB / 1.393 GB, free: 138.8 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002164/2.02, allocations: 2.058 MB / 1.395 GB, free: 138 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001137/2.021, allocations: 28.25 kB / 1.395 GB, free: 138 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.164e-05/2.021, allocations: 61.27 kB / 1.395 GB, free: 137.9 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=209): time 4.799e-06/2.021, allocations: 0 / 1.395 GB, free: 137.9 MB / 0.8542 GB Notification: Performance of matching and sorting (n=212): time 0.009733/2.03, allocations: 6.3 MB / 1.401 GB, free: 135.1 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.342e-05/2.03, allocations: 76.03 kB / 1.401 GB, free: 135 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001736/2.032, allocations: 1.316 MB / 1.403 GB, free: 134.5 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 0.0001728/2.032, allocations: 28.61 kB / 1.403 GB, free: 134.4 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009236/2.033, allocations: 2.393 MB / 1.405 GB, free: 132.6 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004741/2.034, allocations: 0.6994 MB / 1.406 GB, free: 132.1 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001143/2.034, allocations: 4 kB / 1.406 GB, free: 132.1 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001206/2.034, allocations: 407 kB / 1.406 GB, free: 131.7 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001481/2.035, allocations: 1.243 MB / 1.407 GB, free: 130.8 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001617/2.037, allocations: 2.017 MB / 1.409 GB, free: 128.6 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001673/2.039, allocations: 1.606 MB / 1.411 GB, free: 127.2 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.192e-05/2.039, allocations: 11.5 kB / 1.411 GB, free: 127.2 MB / 0.8542 GB Notification: Performance of matching and sorting (n=327) (initialization): time 0.006139/2.045, allocations: 4.598 MB / 1.415 GB, free: 122.6 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 3.484e-05/2.045, allocations: 16 kB / 1.415 GB, free: 122.6 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.056e-05/2.045, allocations: 24 kB / 1.415 GB, free: 122.6 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002833/2.048, allocations: 1.398 MB / 1.417 GB, free: 121.2 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001519/2.049, allocations: 443.3 kB / 1.417 GB, free: 120.8 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0164/2.066, allocations: 16.45 MB / 1.433 GB, free: 103.8 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002384/2.068, allocations: 99.86 kB / 1.433 GB, free: 103.7 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002619/2.069, allocations: 111.9 kB / 1.433 GB, free: 103.6 MB / 0.8542 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 () * 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,66.7%) 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.000402/2.069, allocations: 173.9 kB / 1.434 GB, free: 103.5 MB / 0.8542 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.005249/2.074, allocations: 3.989 MB / 1.437 GB, free: 99.46 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000498/2.075, allocations: 264.9 kB / 1.438 GB, free: 99.2 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005785/2.081, allocations: 4.181 MB / 1.442 GB, free: 94.99 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.622e-05/2.081, allocations: 20 kB / 1.442 GB, free: 94.97 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.694e-05/2.081, allocations: 20 kB / 1.442 GB, free: 94.95 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.065e-05/2.081, allocations: 7.969 kB / 1.442 GB, free: 94.94 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01284/2.093, allocations: 8.545 MB / 1.45 GB, free: 86.32 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.088e-05/2.094, allocations: 4 kB / 1.45 GB, free: 86.32 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009935/2.095, allocations: 231.6 kB / 1.45 GB, free: 86.09 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002658/2.097, allocations: 1.37 MB / 1.452 GB, free: 84.71 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001441/2.097, allocations: 4.219 kB / 1.452 GB, free: 84.71 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01563/2.113, allocations: 16.4 MB / 1.468 GB, free: 67.85 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.033e-05/2.113, allocations: 19.91 kB / 1.468 GB, free: 67.83 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006192/2.119, allocations: 4.617 MB / 1.472 GB, free: 63 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001968/2.121, allocations: 0.6072 MB / 1.473 GB, free: 62.37 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007436/2.122, allocations: 4 kB / 1.473 GB, free: 62.36 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001582/2.124, allocations: 79.86 kB / 1.473 GB, free: 62.29 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005199/2.124, allocations: 181.6 kB / 1.473 GB, free: 62.11 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000146/2.124, allocations: 56 kB / 1.473 GB, free: 62.05 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.001366/2.126, allocations: 0.9646 MB / 1.474 GB, free: 61.07 MB / 0.8542 GB Notification: Performance of sort global known variables: time 1.5e-07/2.126, allocations: 0 / 1.474 GB, free: 61.07 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.004442/2.13, allocations: 1.051 MB / 1.475 GB, free: 60.02 MB / 0.8542 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 (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.006294/2.137, allocations: 6.337 MB / 1.481 GB, free: 53.52 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.006252/2.143, allocations: 4.339 MB / 1.486 GB, free: 49.14 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.228e-05/2.143, allocations: 8.062 kB / 1.486 GB, free: 49.14 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.003867/2.147, allocations: 2.733 MB / 1.488 GB, free: 46.36 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00385/2.151, allocations: 0.6862 MB / 1.489 GB, free: 45.69 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01904/2.17, allocations: 8.704 MB / 1.497 GB, free: 36.87 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004154/2.174, allocations: 3.787 MB / 1.501 GB, free: 33.05 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.002365/2.176, allocations: 0.5143 MB / 1.502 GB, free: 32.55 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002606/2.179, allocations: 1.944 MB / 1.504 GB, free: 30.61 MB / 0.8542 GB Notification: Performance of SimCode: time 1.042e-06/2.179, allocations: 0 / 1.504 GB, free: 30.61 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1323/2.311, allocations: 76.33 MB / 1.578 GB, free: 2.984 MB / 0.9011 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001902/2.312, allocations: 168.6 kB / 1.578 GB, free: 2.797 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.251/6.562, allocations: 0 / 1.578 GB, free: 2.797 MB / 0.9011 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)