Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_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_R_N,fileNamePrefix="Buildings_8_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_8_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.1.4-maint.8.1.x/package.mo): time 1.707/1.707, allocations: 292.6 MB / 307.5 MB, free: 5.195 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.001486/0.001486, allocations: 191.1 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.869/1.869, allocations: 205.4 MB / 0.6366 GB, free: 8.641 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.0009062/0.000906, allocations: 97 kB / 0.7509 GB, free: 62.93 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004319/0.0004322, allocations: 8 kB / 0.8749 GB, free: 11.11 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2915/0.2919, allocations: 116.3 MB / 0.9884 GB, free: 6.645 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8491/1.141, allocations: 172.5 MB / 1.157 GB, free: 9.59 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003574/1.142, allocations: 104.7 kB / 1.157 GB, free: 9.504 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.5058/1.647, allocations: 202.2 MB / 1.354 GB, free: 13.18 MB / 0.9323 GB Notification: Performance of FrontEnd: time 4.939e-06/1.647, allocations: 4 kB / 1.354 GB, free: 13.18 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 0.0007241/1.648, allocations: 147.8 kB / 1.355 GB, free: 13.03 MB / 0.9323 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.02065/1.669, allocations: 5.242 MB / 1.36 GB, free: 7.719 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 5.111e-05/1.669, allocations: 12.03 kB / 1.36 GB, free: 7.707 MB / 0.9323 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004501/1.673, allocations: 0.8371 MB / 1.361 GB, free: 6.859 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008429/1.682, allocations: 1.136 MB / 1.362 GB, free: 5.715 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01114/1.693, allocations: 3.703 MB / 1.365 GB, free: 1.961 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005292/1.694, allocations: 435.6 kB / 1.366 GB, free: 1.535 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002883/1.696, allocations: 0.5507 MB / 1.366 GB, free: 0.9844 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.6955/2.392, allocations: 8.804 MB / 1.375 GB, free: 155.2 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001829/2.392, allocations: 22.17 kB / 1.375 GB, free: 155.2 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001026/2.393, allocations: 259.3 kB / 1.375 GB, free: 155.2 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003429/2.394, allocations: 297.3 kB / 1.375 GB, free: 155.2 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01782/2.411, allocations: 6.44 MB / 1.382 GB, free: 155.1 MB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06178/2.473, allocations: 41.46 MB / 1.422 GB, free: 129 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004578/2.478, allocations: 3.111 MB / 1.425 GB, free: 128.9 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001475/2.478, allocations: 20.45 kB / 1.425 GB, free: 128.9 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.33e-05/2.478, allocations: 66.33 kB / 1.425 GB, free: 128.9 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=209): time 4.579e-06/2.478, allocations: 0 / 1.425 GB, free: 128.9 MB / 0.9323 GB Notification: Performance of matching and sorting (n=212): time 0.02631/2.504, allocations: 10.47 MB / 1.435 GB, free: 127.6 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.995e-05/2.505, allocations: 74.69 kB / 1.436 GB, free: 127.5 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00351/2.508, allocations: 1.663 MB / 1.437 GB, free: 127.3 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 0.0003974/2.509, allocations: 69.39 kB / 1.437 GB, free: 127.3 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.001668/2.51, allocations: 2.371 MB / 1.44 GB, free: 126.2 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008012/2.511, allocations: 0.7321 MB / 1.44 GB, free: 125.8 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001347/2.511, allocations: 50 kB / 1.44 GB, free: 125.8 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0001982/2.511, allocations: 407.6 kB / 1.441 GB, free: 125.5 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001891/2.513, allocations: 1.316 MB / 1.442 GB, free: 125.4 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002193/2.516, allocations: 2.106 MB / 1.444 GB, free: 124.5 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002238/2.518, allocations: 1.682 MB / 1.446 GB, free: 124.5 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.375e-05/2.518, allocations: 10.61 kB / 1.446 GB, free: 124.5 MB / 0.9323 GB Notification: Performance of matching and sorting (n=327) (initialization): time 0.008261/2.526, allocations: 4.97 MB / 1.451 GB, free: 124.2 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 4.253e-05/2.526, allocations: 16 kB / 1.451 GB, free: 124.2 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.948e-05/2.526, allocations: 25.19 kB / 1.451 GB, free: 124.2 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003356/2.53, allocations: 1.538 MB / 1.452 GB, free: 124.2 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001494/2.531, allocations: 444.9 kB / 1.453 GB, free: 124.2 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02089/2.552, allocations: 17.67 MB / 1.47 GB, free: 118.7 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003093/2.555, allocations: 148.5 kB / 1.47 GB, free: 118.7 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002938/2.555, allocations: 113.5 kB / 1.47 GB, free: 118.7 MB / 0.9323 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.004742/2.56, allocations: 1.942 MB / 1.472 GB, free: 117.8 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008772/2.561, allocations: 288.2 kB / 1.472 GB, free: 117.7 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007223/2.568, allocations: 4.439 MB / 1.477 GB, free: 115.9 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.872e-05/2.568, allocations: 21.53 kB / 1.477 GB, free: 115.9 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.974e-05/2.568, allocations: 15.56 kB / 1.477 GB, free: 115.9 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.871e-05/2.568, allocations: 10.08 kB / 1.477 GB, free: 115.9 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01672/2.585, allocations: 9.646 MB / 1.486 GB, free: 112.1 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.148e-05/2.585, allocations: 3.094 kB / 1.486 GB, free: 112.1 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00103/2.586, allocations: 241.1 kB / 1.486 GB, free: 112.1 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003095/2.589, allocations: 1.388 MB / 1.488 GB, free: 111.8 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001572/2.589, allocations: 40.81 kB / 1.488 GB, free: 111.7 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02299/2.612, allocations: 17.69 MB / 1.505 GB, free: 101.3 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.02e-05/2.613, allocations: 9.75 kB / 1.505 GB, free: 101.3 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008004/2.621, allocations: 4.876 MB / 1.51 GB, free: 98.95 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002261/2.623, allocations: 0.6325 MB / 1.51 GB, free: 98.55 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003319/2.623, allocations: 40.38 kB / 1.51 GB, free: 98.53 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001331/2.625, allocations: 117.5 kB / 1.51 GB, free: 98.5 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006603/2.625, allocations: 182.4 kB / 1.511 GB, free: 98.47 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001644/2.625, allocations: 59.62 kB / 1.511 GB, free: 98.45 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.002234/2.628, allocations: 1.261 MB / 1.512 GB, free: 97.96 MB / 0.9323 GB Notification: Performance of sort global known variables: time 1.4e-07/2.628, allocations: 3.609 kB / 1.512 GB, free: 97.96 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.00545/2.633, allocations: 1.175 MB / 1.513 GB, free: 97.87 MB / 0.9323 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.008928/2.642, allocations: 6.587 MB / 1.519 GB, free: 93.9 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.008916/2.651, allocations: 4.606 MB / 1.524 GB, free: 91.95 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 1.734e-05/2.651, allocations: 2.438 kB / 1.524 GB, free: 91.95 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.005238/2.656, allocations: 2.923 MB / 1.527 GB, free: 90.55 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004386/2.661, allocations: 0.7684 MB / 1.528 GB, free: 90.37 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06583/2.727, allocations: 42.95 MB / 1.57 GB, free: 58.58 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007426/2.734, allocations: 3.785 MB / 1.573 GB, free: 57.2 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.00295/2.737, allocations: 0.5458 MB / 1.574 GB, free: 57.12 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002446/2.74, allocations: 1.946 MB / 1.576 GB, free: 55.45 MB / 0.9323 GB Notification: Performance of SimCode: time 1.362e-06/2.74, allocations: 0 / 1.576 GB, free: 55.45 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.155/2.895, allocations: 81.19 MB / 1.655 GB, free: 44.39 MB / 0.9323 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002843/2.895, allocations: 226.9 kB / 1.655 GB, free: 44.15 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.351/7.246, allocations: 0 / 1.655 GB, free: 44.15 MB / 0.9323 GB (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_N_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_N.fmu > Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe 2>&1)