Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.176/2.176, allocations: 251.1 MB / 266.7 MB, free: 11.55 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001282/0.001282, allocations: 189.2 kB / 326.2 MB, free: 2.848 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.433/2.433, allocations: 205.4 MB / 0.5772 GB, free: 20.77 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009508/0.0009505, allocations: 85.36 kB / 0.6817 GB, free: 13.62 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004676/0.0004677, allocations: 13.44 kB / 0.7957 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2242/0.2247, allocations: 106.3 MB / 0.8995 GB, free: 65.52 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9126/1.137, allocations: 178.5 MB / 1.074 GB, free: 66.14 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003629/1.138, allocations: 99.59 kB / 1.074 GB, free: 66.14 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.067/2.205, allocations: 269.1 MB / 1.337 GB, free: 0.9844 MB / 0.823 GB Notification: Performance of FrontEnd: time 4.348e-06/2.205, allocations: 0 / 1.337 GB, free: 0.9844 MB / 0.823 GB Notification: Performance of Transformations before backend: time 0.000687/2.205, allocations: 147.9 kB / 1.337 GB, free: 0.8398 MB / 0.823 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.03045/2.236, allocations: 5.142 MB / 1.342 GB, free: 11.62 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 6.157e-05/2.236, allocations: 12.03 kB / 1.342 GB, free: 11.61 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02664/2.263, allocations: 1.499 MB / 1.343 GB, free: 10.11 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02134/2.284, allocations: 4.215 MB / 1.347 GB, free: 5.812 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006695/2.285, allocations: 382.1 kB / 1.348 GB, free: 5.438 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003286/2.288, allocations: 0.5037 MB / 1.348 GB, free: 4.934 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03412/2.322, allocations: 8.412 MB / 1.357 GB, free: 12.05 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004037/2.323, allocations: 35.67 kB / 1.357 GB, free: 12.02 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002971/2.326, allocations: 231.9 kB / 1.357 GB, free: 11.79 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007237/2.326, allocations: 329.9 kB / 1.357 GB, free: 11.47 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02455/2.351, allocations: 6.449 MB / 1.363 GB, free: 5.008 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.809/3.16, allocations: 40 MB / 1.402 GB, free: 153.7 MB / 0.8699 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008592/3.169, allocations: 2.814 MB / 1.405 GB, free: 153.6 MB / 0.8699 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007109/3.176, allocations: 2.578 MB / 1.408 GB, free: 153.6 MB / 0.8699 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006087/3.177, allocations: 26.31 kB / 1.408 GB, free: 153.6 MB / 0.8699 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.873e-05/3.177, allocations: 57.59 kB / 1.408 GB, free: 153.5 MB / 0.8699 GB Notification: Performance of pre-optimization done (n=265): time 6.352e-06/3.177, allocations: 5.75 kB / 1.408 GB, free: 153.5 MB / 0.8699 GB Notification: Performance of matching and sorting (n=424): time 0.5/3.677, allocations: 64.98 MB / 1.471 GB, free: 148.1 MB / 0.8699 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001028/3.677, allocations: 97.52 kB / 1.471 GB, free: 148 MB / 0.8699 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004574/3.681, allocations: 2.245 MB / 1.474 GB, free: 147.7 MB / 0.8699 GB Notification: Performance of collectPreVariables (initialization): time 0.001179/3.683, allocations: 95.98 kB / 1.474 GB, free: 147.7 MB / 0.8699 GB Notification: Performance of collectInitialEqns (initialization): time 0.001977/3.685, allocations: 2.335 MB / 1.476 GB, free: 146.9 MB / 0.8699 GB Notification: Performance of collectInitialBindings (initialization): time 0.002459/3.687, allocations: 1.444 MB / 1.477 GB, free: 146.2 MB / 0.8699 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006051/3.688, allocations: 86.12 kB / 1.477 GB, free: 146.2 MB / 0.8699 GB Notification: Performance of setup shared object (initialization): time 0.0003277/3.688, allocations: 478.9 kB / 1.478 GB, free: 145.9 MB / 0.8699 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007165/3.695, allocations: 2.78 MB / 1.481 GB, free: 145.9 MB / 0.8699 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008291/3.704, allocations: 3.753 MB / 1.484 GB, free: 144.8 MB / 0.8699 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008754/3.712, allocations: 3.37 MB / 1.488 GB, free: 144.7 MB / 0.8699 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.74e-05/3.713, allocations: 6.688 kB / 1.488 GB, free: 144.7 MB / 0.8699 GB Notification: Performance of matching and sorting (n=557) (initialization): time 0.04692/3.759, allocations: 11.8 MB / 1.499 GB, free: 143.9 MB / 0.8699 GB Notification: Performance of prepare postOptimizeDAE: time 5.906e-05/3.76, allocations: 15.78 kB / 1.499 GB, free: 143.9 MB / 0.8699 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.106e-05/3.76, allocations: 30.25 kB / 1.499 GB, free: 143.9 MB / 0.8699 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03167/3.791, allocations: 5.01 MB / 1.504 GB, free: 143.7 MB / 0.8699 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004173/3.796, allocations: 0.5114 MB / 1.505 GB, free: 143.7 MB / 0.8699 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1208/3.916, allocations: 64.92 MB / 1.568 GB, free: 101.5 MB / 0.8699 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006333/3.923, allocations: 190.4 kB / 1.568 GB, free: 101.4 MB / 0.8699 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001108/3.924, allocations: 165.3 kB / 1.568 GB, free: 101.4 MB / 0.8699 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.00659/3.931, allocations: 1.994 MB / 1.57 GB, free: 100.5 MB / 0.8699 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001375/3.932, allocations: 389.4 kB / 1.571 GB, free: 100.3 MB / 0.8699 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04506/3.977, allocations: 11.57 MB / 1.582 GB, free: 91.11 MB / 0.8699 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.377e-05/3.977, allocations: 40 kB / 1.582 GB, free: 91.07 MB / 0.8699 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0002019/3.977, allocations: 51.89 kB / 1.582 GB, free: 91.02 MB / 0.8699 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001185/3.977, allocations: 19.5 kB / 1.582 GB, free: 91.02 MB / 0.8699 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06214/4.04, allocations: 17.9 MB / 1.599 GB, free: 76.79 MB / 0.8699 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.767e-05/4.04, allocations: 4.938 kB / 1.599 GB, free: 76.78 MB / 0.8699 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003041/4.043, allocations: 299.3 kB / 1.6 GB, free: 76.56 MB / 0.8699 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02769/4.071, allocations: 4.514 MB / 1.604 GB, free: 73.15 MB / 0.8699 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00116/4.072, allocations: 83.84 kB / 1.604 GB, free: 73.07 MB / 0.8699 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1073/4.179, allocations: 62.44 MB / 1.665 GB, free: 13.14 MB / 0.8699 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.04e-05/4.179, allocations: 10.62 kB / 1.665 GB, free: 13.13 MB / 0.8699 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04913/4.228, allocations: 14.65 MB / 1.68 GB, free: 0.7578 MB / 0.8699 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004961/4.233, allocations: 1.016 MB / 1.681 GB, free: 15.99 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002208/4.236, allocations: 83.94 kB / 1.681 GB, free: 15.91 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005642/4.241, allocations: 180.1 kB / 1.681 GB, free: 15.78 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002612/4.244, allocations: 399.7 kB / 1.681 GB, free: 15.54 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001182/4.245, allocations: 104 kB / 1.681 GB, free: 15.44 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.00426/4.249, allocations: 1.466 MB / 1.683 GB, free: 14.23 MB / 0.8855 GB Notification: Performance of sort global known variables: time 2.785e-06/4.249, allocations: 0 / 1.683 GB, free: 14.23 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.01172/4.261, allocations: 1.763 MB / 1.684 GB, free: 12.47 MB / 0.8855 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.001574/4.263, allocations: 222.8 kB / 1.685 GB, free: 12.27 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.03698/4.3, allocations: 11.63 MB / 1.696 GB, free: 1.656 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 1.421e-05/4.3, allocations: 0 / 1.696 GB, free: 1.656 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.02988/4.33, allocations: 8.316 MB / 1.704 GB, free: 10.78 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01119/4.341, allocations: 1.028 MB / 1.705 GB, free: 9.961 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.771/5.112, allocations: 14.08 MB / 1.719 GB, free: 174.8 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01107/5.123, allocations: 4.09 MB / 1.723 GB, free: 173.9 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.004588/5.128, allocations: 0.668 MB / 1.724 GB, free: 173.9 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001167/5.129, allocations: 178.8 kB / 1.724 GB, free: 173.9 MB / 0.9011 GB Notification: Performance of SimCode: time 1.212e-06/5.129, allocations: 1.344 kB / 1.724 GB, free: 173.9 MB / 0.9011 GB Notification: Performance of Templates: time 0.2368/5.366, allocations: 94.91 MB / 1.816 GB, free: 171.4 MB / 0.9011 GB make -j1 -f Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.makefile (rm -f Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe ; mkfifo Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe >> ../files/Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.sim & ./Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe 2>&1)