Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.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_RLC,fileNamePrefix="Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC,fileNamePrefix="Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC",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.682/1.682, allocations: 292.6 MB / 307.5 MB, free: 5.207 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.001508/0.001508, allocations: 184.2 kB / 377.1 MB, free: 1.539 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.4 MB / 0.6366 GB, free: 9.574 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.0008854/0.0008855, allocations: 89.28 kB / 0.7509 GB, free: 62.5 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003414/0.0003415, allocations: 8 kB / 0.8749 GB, free: 11.23 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.289/0.2894, allocations: 116.3 MB / 0.9884 GB, free: 6.773 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8502/1.14, allocations: 186 MB / 1.17 GB, free: 12.5 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002914/1.14, allocations: 101.1 kB / 1.17 GB, free: 12.41 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 1.418/2.558, allocations: 300.5 MB / 1.464 GB, free: 164.6 MB / 0.9323 GB Notification: Performance of FrontEnd: time 2.404e-06/2.558, allocations: 0 / 1.464 GB, free: 164.6 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 0.0009038/2.559, allocations: 152.4 kB / 1.464 GB, free: 164.5 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: 1394 * Number of variables: 1394 Notification: Performance of Generate backend data structure: time 0.0221/2.581, allocations: 5.176 MB / 1.469 GB, free: 162.3 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 4.49e-05/2.581, allocations: 9.781 kB / 1.469 GB, free: 162.3 MB / 0.9323 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004302/2.585, allocations: 0.7577 MB / 1.47 GB, free: 162.2 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01317/2.599, allocations: 1.494 MB / 1.471 GB, free: 161.9 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01773/2.616, allocations: 4.241 MB / 1.475 GB, free: 161 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009929/2.617, allocations: 380.3 kB / 1.476 GB, free: 161 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004266/2.622, allocations: 0.4955 MB / 1.476 GB, free: 161 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02915/2.651, allocations: 8.382 MB / 1.484 GB, free: 159.6 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005167/2.651, allocations: 28.27 kB / 1.484 GB, free: 159.5 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003003/2.654, allocations: 225.7 kB / 1.485 GB, free: 159.5 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007499/2.655, allocations: 327.4 kB / 1.485 GB, free: 159.5 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02073/2.676, allocations: 6.449 MB / 1.491 GB, free: 158.6 MB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.071/2.747, allocations: 40.02 MB / 1.53 GB, free: 127.5 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00485/2.752, allocations: 2.811 MB / 1.533 GB, free: 126.3 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004724/2.752, allocations: 31.16 kB / 1.533 GB, free: 126.3 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.762e-05/2.752, allocations: 61.61 kB / 1.533 GB, free: 126.3 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=265): time 6.472e-06/2.753, allocations: 0 / 1.533 GB, free: 126.3 MB / 0.9323 GB Notification: Performance of matching and sorting (n=424): time 0.2998/3.052, allocations: 64.9 MB / 1.596 GB, free: 109.9 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.27e-05/3.053, allocations: 103.2 kB / 1.597 GB, free: 109.8 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005052/3.058, allocations: 1.928 MB / 1.598 GB, free: 109.1 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 0.001216/3.059, allocations: 93.7 kB / 1.599 GB, free: 109 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.002043/3.061, allocations: 2.336 MB / 1.601 GB, free: 106.9 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.002621/3.064, allocations: 1.437 MB / 1.602 GB, free: 105.6 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001017/3.065, allocations: 84 kB / 1.602 GB, free: 105.5 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0003768/3.065, allocations: 492.4 kB / 1.603 GB, free: 105.1 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004133/3.069, allocations: 2.777 MB / 1.605 GB, free: 102.6 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004784/3.074, allocations: 3.74 MB / 1.609 GB, free: 98.92 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0047/3.079, allocations: 3.371 MB / 1.612 GB, free: 95.84 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.06e-05/3.079, allocations: 8 kB / 1.612 GB, free: 95.83 MB / 0.9323 GB Notification: Performance of matching and sorting (n=557) (initialization): time 0.02684/3.106, allocations: 11.78 MB / 1.624 GB, free: 85.93 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 4.438e-05/3.106, allocations: 18.06 kB / 1.624 GB, free: 85.91 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.837e-05/3.106, allocations: 28.91 kB / 1.624 GB, free: 85.88 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01815/3.124, allocations: 5.016 MB / 1.629 GB, free: 82.05 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002455/3.126, allocations: 0.5031 MB / 1.629 GB, free: 81.55 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0672/3.194, allocations: 66.88 MB / 1.695 GB, free: 11.59 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005223/3.199, allocations: 187.9 kB / 1.695 GB, free: 11.4 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001304/3.2, allocations: 164 kB / 1.695 GB, free: 11.24 MB / 0.9323 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 125 * 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 (275): * Single equations (assignments): 251 * 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: 24 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 24 {(2,100.0%) 2,(1,100.0%) 1,(2,100.0%) 2,(1,100.0%) 1,(2,100.0%) 2,(1,100.0%) 1,(2,100.0%) 8,(2,100.0%) 16,(4,100.0%) 16,(4,100.0%) 16,(2,100.0%) 16,(2,100.0%) 8,(2,100.0%) 8,(2,100.0%) 16,(4,100.0%) 16,(4,100.0%) 16,(3,100.0%) 15,(2,100.0%) 8,(2,100.0%) 8,(2,100.0%) 16,(4,100.0%) 16,(4,100.0%) 16,(3,100.0%) 15,(2,100.0%) 8} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.005233/3.205, allocations: 1.992 MB / 1.697 GB, free: 9.238 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001271/3.207, allocations: 387.4 kB / 1.697 GB, free: 8.855 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02621/3.233, allocations: 11.56 MB / 1.709 GB, free: 13.18 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.35e-05/3.233, allocations: 40 kB / 1.709 GB, free: 13.14 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0002251/3.233, allocations: 51.95 kB / 1.709 GB, free: 13.09 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.275e-05/3.233, allocations: 27.8 kB / 1.709 GB, free: 13.07 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.7784/4.012, allocations: 17.89 MB / 1.726 GB, free: 160.3 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.228e-05/4.012, allocations: 7.938 kB / 1.726 GB, free: 160.3 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001845/4.014, allocations: 290.7 kB / 1.726 GB, free: 160.3 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01685/4.031, allocations: 4.513 MB / 1.731 GB, free: 160.1 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001298/4.032, allocations: 80.05 kB / 1.731 GB, free: 160.1 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.08077/4.113, allocations: 64.4 MB / 1.794 GB, free: 130.2 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.925e-05/4.113, allocations: 15.5 kB / 1.794 GB, free: 130.2 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03187/4.145, allocations: 15.29 MB / 1.809 GB, free: 128.4 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004123/4.149, allocations: 0.9719 MB / 1.81 GB, free: 128.1 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001815/4.151, allocations: 87.45 kB / 1.81 GB, free: 128.1 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003846/4.155, allocations: 177.4 kB / 1.81 GB, free: 128.1 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002254/4.157, allocations: 397.6 kB / 1.81 GB, free: 128.1 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004428/4.157, allocations: 104.2 kB / 1.81 GB, free: 128.1 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.00311/4.16, allocations: 1.461 MB / 1.812 GB, free: 127.9 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.1e-07/4.16, allocations: 0 / 1.812 GB, free: 127.9 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.01315/4.174, allocations: 1.774 MB / 1.814 GB, free: 127.9 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 31 * Number of states: 6 (RLCLine_sc.phase1.Vc[1],RLCLine_sc.phase1.Vc[2],RLCLine_sc.phase2.Vc[1],RLCLine_sc.phase2.Vc[2],RLCLine_sc.phase3.Vc[1],RLCLine_sc.phase3.Vc[2]) * 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 (145): * Single equations (assignments): 121 * 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: 24 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 24 {(2,100.0%) 8,(2,100.0%) 8,(2,100.0%) 8,(3,100.0%) 15,(3,100.0%) 15,(3,100.0%) 15,(4,100.0%) 16,(4,100.0%) 16,(4,100.0%) 16,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 8,(2,100.0%) 16,(4,100.0%) 16,(2,100.0%) 8,(3,100.0%) 15,(4,100.0%) 16,(2,100.0%) 8,(2,100.0%) 16,(4,100.0%) 16} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.03201/4.206, allocations: 17.72 MB / 1.831 GB, free: 120.8 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.02487/4.231, allocations: 11.64 MB / 1.842 GB, free: 114.5 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.755e-05/4.231, allocations: 0 / 1.842 GB, free: 114.5 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.01924/4.25, allocations: 8.08 MB / 1.85 GB, free: 109.6 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009138/4.259, allocations: 0.9749 MB / 1.851 GB, free: 109.4 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1097/4.369, allocations: 59.95 MB / 1.91 GB, free: 67.65 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008523/4.377, allocations: 4.186 MB / 1.914 GB, free: 66.21 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.003367/4.381, allocations: 0.6704 MB / 1.914 GB, free: 66.11 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003734/4.385, allocations: 2.136 MB / 1.917 GB, free: 64.29 MB / 0.948 GB Notification: Performance of SimCode: time 2.064e-06/4.385, allocations: 0 / 1.917 GB, free: 64.29 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2234/4.608, allocations: 136.4 MB / 2.05 GB, free: 7.254 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001889/4.608, allocations: 230.5 kB / 2.05 GB, free: 7.004 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.938/10.55, allocations: 0 / 2.05 GB, free: 7.004 MB / 0.948 GB (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC.fmu > Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe 2>&1)