Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/var/lib/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(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.421/2.421, allocations: 251.2 MB / 266.2 MB, free: 11.54 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001507/0.001507, allocations: 179.4 kB / 325.8 MB, free: 2.781 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.507/2.507, allocations: 205.4 MB / 0.5767 GB, free: 21.09 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009554/0.0009552, allocations: 92.36 kB / 0.6812 GB, free: 13.98 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004841/0.0004843, allocations: 15.94 kB / 0.7953 GB, free: 135.7 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2511/0.2516, allocations: 106.3 MB / 0.899 GB, free: 65.88 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC): time 0.04873/0.3004, allocations: 34.18 MB / 0.9324 GB, free: 31.61 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.02578/0.3262, allocations: 12.44 MB / 0.9446 GB, free: 19.13 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004242/0.3305, allocations: 147.1 kB / 0.9447 GB, free: 18.99 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.003791/0.3344, allocations: 0.7402 MB / 0.9454 GB, free: 18.24 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.008079/0.3425, allocations: 2.056 MB / 0.9474 GB, free: 16.18 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.007588/0.3502, allocations: 1.62 MB / 0.949 GB, free: 14.56 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.01572/0.366, allocations: 10.69 MB / 0.9595 GB, free: 3.832 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0297/0.3957, allocations: 11.95 MB / 0.9711 GB, free: 7.801 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008058/0.4038, allocations: 2.941 MB / 0.974 GB, free: 4.844 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009736/0.4136, allocations: 3.769 MB / 0.9777 GB, free: 1.062 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 0.002262/0.4159, allocations: 323.9 kB / 0.978 GB, free: 0.7461 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005172/0.4212, allocations: 0.7844 MB / 0.9788 GB, free: 15.96 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.005675/0.4269, allocations: 2.432 MB / 0.9811 GB, free: 13.52 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.003745/0.4307, allocations: 1.171 MB / 0.9823 GB, free: 12.34 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.02198/0.4528, allocations: 9.728 MB / 0.9918 GB, free: 2.59 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 1.106e-05/0.4528, allocations: 0 / 0.9918 GB, free: 2.59 MB / 0.6355 GB Notification: Performance of FrontEnd: time 3.366e-06/0.4528, allocations: 3.938 kB / 0.9918 GB, free: 2.586 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 0.0004204/0.4533, allocations: 0 / 0.9918 GB, free: 2.586 MB / 0.6355 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.02715/0.4804, allocations: 5.197 MB / 0.9969 GB, free: 13.32 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 6.808e-05/0.4805, allocations: 8.031 kB / 0.9969 GB, free: 13.31 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02224/0.5028, allocations: 1.297 MB / 0.9981 GB, free: 12 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01597/0.5189, allocations: 3.481 MB / 1.002 GB, free: 8.449 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006415/0.5196, allocations: 382.5 kB / 1.002 GB, free: 8.074 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002521/0.5221, allocations: 0.4923 MB / 1.002 GB, free: 7.582 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02979/0.5519, allocations: 8.859 MB / 1.011 GB, free: 14.37 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003197/0.5523, allocations: 27.77 kB / 1.011 GB, free: 14.34 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001999/0.5543, allocations: 223.9 kB / 1.011 GB, free: 14.12 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004098/0.5584, allocations: 0.6304 MB / 1.012 GB, free: 13.49 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0237/0.5822, allocations: 6.975 MB / 1.019 GB, free: 6.5 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.7069/1.289, allocations: 40.39 MB / 1.058 GB, free: 120.7 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007244/1.296, allocations: 2.873 MB / 1.061 GB, free: 120.7 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006956/1.303, allocations: 2.658 MB / 1.064 GB, free: 120.6 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005667/1.304, allocations: 34.89 kB / 1.064 GB, free: 120.6 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.417e-05/1.304, allocations: 62.06 kB / 1.064 GB, free: 120.6 MB / 0.698 GB Notification: Performance of pre-optimization done (n=265): time 6.873e-06/1.304, allocations: 1.312 kB / 1.064 GB, free: 120.6 MB / 0.698 GB Notification: Performance of matching and sorting (n=424): time 0.6778/1.982, allocations: 77.44 MB / 1.139 GB, free: 69.61 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.726e-05/1.982, allocations: 98.72 kB / 1.139 GB, free: 69.5 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004146/1.986, allocations: 2.328 MB / 1.142 GB, free: 67.16 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.001087/1.987, allocations: 97.7 kB / 1.142 GB, free: 67.05 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.001758/1.989, allocations: 2.333 MB / 1.144 GB, free: 64.7 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.00231/1.992, allocations: 1.441 MB / 1.145 GB, free: 63.27 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006168/1.992, allocations: 88 kB / 1.145 GB, free: 63.19 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0002728/1.992, allocations: 482.7 kB / 1.146 GB, free: 62.71 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007273/2, allocations: 2.98 MB / 1.149 GB, free: 59.72 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007995/2.008, allocations: 3.831 MB / 1.153 GB, free: 55.55 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008513/2.016, allocations: 3.552 MB / 1.156 GB, free: 52 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.877e-05/2.016, allocations: 12 kB / 1.156 GB, free: 51.98 MB / 0.698 GB Notification: Performance of matching and sorting (n=551) (initialization): time 0.04901/2.065, allocations: 12.5 MB / 1.168 GB, free: 39.38 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 4.376e-05/2.066, allocations: 12 kB / 1.168 GB, free: 39.37 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.229e-05/2.066, allocations: 27.94 kB / 1.168 GB, free: 39.34 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.05762/2.123, allocations: 6.018 MB / 1.174 GB, free: 33.26 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004999/2.128, allocations: 499.1 kB / 1.175 GB, free: 32.77 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2087/2.337, allocations: 67.2 MB / 1.24 GB, free: 10.43 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008639/2.346, allocations: 219.7 kB / 1.241 GB, free: 10.22 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001736/2.348, allocations: 152 kB / 1.241 GB, free: 10.07 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 101 * 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 (269): * Single equations (assignments): 245 * 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,(4,100.0%) 16,(4,100.0%) 16,(4,100.0%) 16,(4,100.0%) 16,(4,100.0%) 16,(4,100.0%) 16,(2,100.0%) 8,(2,100.0%) 16,(3,100.0%) 15,(2,100.0%) 8,(2,100.0%) 8,(2,100.0%) 16,(3,100.0%) 15,(2,100.0%) 8,(2,100.0%) 8,(2,100.0%) 16,(3,100.0%) 15,(2,100.0%) 8} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0105/2.358, allocations: 1.988 MB / 1.243 GB, free: 8.07 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002861/2.361, allocations: 399.3 kB / 1.243 GB, free: 7.676 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0598/2.421, allocations: 12.2 MB / 1.255 GB, free: 11.36 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.352e-05/2.421, allocations: 40 kB / 1.255 GB, free: 11.32 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0002107/2.421, allocations: 52 kB / 1.255 GB, free: 11.27 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001188/2.421, allocations: 19.92 kB / 1.255 GB, free: 11.25 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.08228/2.504, allocations: 19.13 MB / 1.274 GB, free: 7.922 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.763e-05/2.504, allocations: 11.98 kB / 1.274 GB, free: 7.91 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0031/2.507, allocations: 283.6 kB / 1.274 GB, free: 7.633 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.03982/2.547, allocations: 5.568 MB / 1.279 GB, free: 2 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001027/2.548, allocations: 84 kB / 1.279 GB, free: 1.918 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1491/2.697, allocations: 64.84 MB / 1.343 GB, free: 13.93 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.615e-05/2.697, allocations: 15.92 kB / 1.343 GB, free: 13.92 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05914/2.756, allocations: 15.57 MB / 1.358 GB, free: 14.12 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004166/2.76, allocations: 1.047 MB / 1.359 GB, free: 13.05 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00184/2.762, allocations: 87.98 kB / 1.359 GB, free: 12.97 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005657/2.768, allocations: 211.7 kB / 1.359 GB, free: 12.76 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002511/2.771, allocations: 406.3 kB / 1.36 GB, free: 12.36 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001023/2.772, allocations: 111.9 kB / 1.36 GB, free: 12.25 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.004631/2.776, allocations: 1.529 MB / 1.361 GB, free: 10.73 MB / 0.8698 GB Notification: Performance of sort global known variables: time 4.91e-07/2.776, allocations: 0 / 1.361 GB, free: 10.73 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.01038/2.787, allocations: 1.848 MB / 1.363 GB, free: 8.879 MB / 0.8698 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,(3,100.0%) 15,(2,100.0%) 8,(3,100.0%) 15,(2,100.0%) 8,(3,100.0%) 15,(4,100.0%) 16,(4,100.0%) 16,(4,100.0%) 16} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001428/2.788, allocations: 228 kB / 1.363 GB, free: 8.648 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0373/2.826, allocations: 12.17 MB / 1.375 GB, free: 12.16 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 1.335e-05/2.826, allocations: 0 / 1.375 GB, free: 12.16 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.02946/2.855, allocations: 8.38 MB / 1.383 GB, free: 3.477 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01318/2.868, allocations: 1.111 MB / 1.384 GB, free: 2.367 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.6565/3.525, allocations: 14.25 MB / 1.398 GB, free: 284.6 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01501/3.54, allocations: 4.088 MB / 1.402 GB, free: 283.7 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.006611/3.547, allocations: 0.6663 MB / 1.403 GB, free: 283.6 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001857/3.549, allocations: 178.1 kB / 1.403 GB, free: 283.6 MB / 0.8855 GB Notification: Performance of SimCode: time 1.633e-06/3.549, allocations: 0 / 1.403 GB, free: 283.6 MB / 0.8855 GB Notification: Performance of Templates: time 0.2716/3.82, allocations: 102.5 MB / 1.503 GB, free: 214.4 MB / 0.8855 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)