Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.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.ThreePhasesBalanced.Lines.Examples.ACLineMedium,fileNamePrefix="Buildings_8_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLineMedium",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium,fileNamePrefix="Buildings_8_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLineMedium",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.715/1.715, allocations: 292.6 MB / 307.5 MB, free: 5.23 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.00129/0.00129, allocations: 185 kB / 377.1 MB, free: 1.531 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.998/1.998, allocations: 205.4 MB / 0.6366 GB, free: 9.438 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.0008857/0.0008857, allocations: 93.5 kB / 0.7509 GB, free: 62.75 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003411/0.0003411, allocations: 12 kB / 0.8749 GB, free: 11.21 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2748/0.2752, allocations: 116.3 MB / 0.9884 GB, free: 6.758 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8306/1.106, allocations: 210.6 MB / 1.194 GB, free: 3.895 MB / 0.7605 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000357/1.106, allocations: 103.9 kB / 1.194 GB, free: 3.793 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 0.2134/1.32, allocations: 85.73 MB / 1.278 GB, free: 13.38 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.855e-06/1.32, allocations: 0 / 1.278 GB, free: 13.38 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 0.0001291/1.32, allocations: 43.92 kB / 1.278 GB, free: 13.33 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: 327 * Number of variables: 327 Notification: Performance of Generate backend data structure: time 0.004898/1.325, allocations: 1.867 MB / 1.28 GB, free: 11.41 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 5.834e-05/1.325, allocations: 8.031 kB / 1.28 GB, free: 11.4 MB / 0.8542 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004503/1.325, allocations: 198.2 kB / 1.28 GB, free: 11.2 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01148/1.337, allocations: 1.963 MB / 1.282 GB, free: 9.23 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006092/1.343, allocations: 2.086 MB / 1.284 GB, free: 7.086 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.537e-05/1.343, allocations: 86.31 kB / 1.284 GB, free: 7 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002786/1.343, allocations: 112 kB / 1.284 GB, free: 6.891 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005997/1.349, allocations: 2.728 MB / 1.287 GB, free: 3.973 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.823e-05/1.349, allocations: 15.84 kB / 1.287 GB, free: 3.957 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001847/1.35, allocations: 51.98 kB / 1.287 GB, free: 3.906 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001124/1.35, allocations: 90.28 kB / 1.287 GB, free: 3.816 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007466/1.357, allocations: 2.842 MB / 1.29 GB, free: 0.9648 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01677/1.374, allocations: 10.73 MB / 1.3 GB, free: 5.672 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006456/1.38, allocations: 2.397 MB / 1.303 GB, free: 3.246 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 9.787e-05/1.381, allocations: 12.94 kB / 1.303 GB, free: 3.234 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.954e-05/1.381, allocations: 55.55 kB / 1.303 GB, free: 3.172 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=89): time 3.306e-06/1.381, allocations: 0 / 1.303 GB, free: 3.172 MB / 0.8698 GB Notification: Performance of matching and sorting (n=153): time 0.06238/1.443, allocations: 17.32 MB / 1.319 GB, free: 1.691 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001348/1.443, allocations: 226.9 kB / 1.32 GB, free: 1.418 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001736/1.445, allocations: 1.024 MB / 1.321 GB, free: 396 kB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0003053/1.445, allocations: 53.7 kB / 1.321 GB, free: 336 kB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005747/1.446, allocations: 0.7323 MB / 1.321 GB, free: 15.59 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005552/1.446, allocations: 0.512 MB / 1.322 GB, free: 15.07 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001295/1.447, allocations: 32 kB / 1.322 GB, free: 15.04 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0001628/1.447, allocations: 369.8 kB / 1.322 GB, free: 14.67 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00348/1.45, allocations: 1.538 MB / 1.324 GB, free: 13.13 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003671/1.454, allocations: 1.828 MB / 1.326 GB, free: 11.2 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003633/1.458, allocations: 1.654 MB / 1.327 GB, free: 9.547 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.372e-06/1.458, allocations: 0 / 1.327 GB, free: 9.547 MB / 0.9011 GB Notification: Performance of matching and sorting (n=186) (initialization): time 0.01494/1.472, allocations: 5.417 MB / 1.333 GB, free: 4.09 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 3.584e-05/1.473, allocations: 8.625 kB / 1.333 GB, free: 4.082 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.532e-05/1.473, allocations: 8.75 kB / 1.333 GB, free: 4.074 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009096/1.482, allocations: 2.14 MB / 1.335 GB, free: 1.91 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002028/1.484, allocations: 411.3 kB / 1.335 GB, free: 1.508 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03034/1.514, allocations: 23.3 MB / 1.358 GB, free: 9.152 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003208/1.517, allocations: 327.5 kB / 1.358 GB, free: 8.832 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002764/1.518, allocations: 63.97 kB / 1.358 GB, free: 8.77 MB / 0.9323 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * 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 (78): * Single equations (assignments): 70 * 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: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 8 {(3,100.0%) 17,(3,100.0%) 17,(2,100.0%) 8,(2,100.0%) 8,(2,100.0%) 16,(2,100.0%) 16,(2,100.0%) 8,(2,100.0%) 8} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001098/1.519, allocations: 469.5 kB / 1.359 GB, free: 8.301 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005295/1.519, allocations: 177.9 kB / 1.359 GB, free: 8.125 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.015/1.534, allocations: 5.468 MB / 1.364 GB, free: 2.617 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.706e-05/1.534, allocations: 16 kB / 1.364 GB, free: 2.602 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.68e-05/1.534, allocations: 20 kB / 1.364 GB, free: 2.582 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.534e-05/1.534, allocations: 4.172 kB / 1.364 GB, free: 2.578 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.5438/2.078, allocations: 7.693 MB / 1.372 GB, free: 216.7 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.066e-05/2.078, allocations: 3.531 kB / 1.372 GB, free: 216.7 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001682/2.08, allocations: 362.5 kB / 1.372 GB, free: 216.7 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008099/2.088, allocations: 1.992 MB / 1.374 GB, free: 216.7 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002874/2.088, allocations: 41.55 kB / 1.374 GB, free: 216.7 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03075/2.119, allocations: 22.47 MB / 1.396 GB, free: 206.7 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.599e-06/2.119, allocations: 5.25 kB / 1.396 GB, free: 206.7 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01415/2.133, allocations: 5.237 MB / 1.401 GB, free: 206 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001453/2.135, allocations: 0.5092 MB / 1.402 GB, free: 205.8 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003079/2.135, allocations: 32.97 kB / 1.402 GB, free: 205.8 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002138/2.137, allocations: 334.1 kB / 1.402 GB, free: 205.8 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006665/2.138, allocations: 148.5 kB / 1.402 GB, free: 205.8 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001434/2.138, allocations: 52.61 kB / 1.402 GB, free: 205.8 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.001141/2.139, allocations: 0.7906 MB / 1.403 GB, free: 205.7 MB / 0.9323 GB Notification: Performance of sort global known variables: time 1.21e-07/2.139, allocations: 1.422 kB / 1.403 GB, free: 205.7 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.003208/2.143, allocations: 0.7223 MB / 1.404 GB, free: 205.7 MB / 0.9323 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * 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 (46): * 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: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 8 {(2,100.0%) 8,(3,100.0%) 15,(3,100.0%) 17,(2,100.0%) 8,(2,100.0%) 8,(3,100.0%) 15,(3,100.0%) 17,(2,100.0%) 8} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01341/2.156, allocations: 6.631 MB / 1.41 GB, free: 203.8 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.01098/2.167, allocations: 5.204 MB / 1.415 GB, free: 202.8 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 1.036e-05/2.167, allocations: 0 / 1.415 GB, free: 202.8 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.007022/2.174, allocations: 3.402 MB / 1.418 GB, free: 201.7 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002542/2.177, allocations: 0.5001 MB / 1.419 GB, free: 201.7 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0351/2.212, allocations: 20.29 MB / 1.439 GB, free: 193.7 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00128/2.213, allocations: 1.607 MB / 1.44 GB, free: 192.9 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.001972/2.215, allocations: 405.8 kB / 1.441 GB, free: 192.8 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008542/2.216, allocations: 0.6679 MB / 1.441 GB, free: 192.3 MB / 0.9323 GB Notification: Performance of SimCode: time 2.094e-06/2.216, allocations: 0 / 1.441 GB, free: 192.3 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1242/2.34, allocations: 59.2 MB / 1.499 GB, free: 189.4 MB / 0.9323 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000157/2.34, allocations: 222.4 kB / 1.499 GB, free: 189.2 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.86/6.2, allocations: 0 / 1.499 GB, free: 189.2 MB / 0.9323 GB (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLineMedium_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLineMedium.fmu > Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe 2>&1)