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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) 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) 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001434/0.001434, allocations: 99.31 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001098/0.001098, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.512/1.512, allocations: 205.4 MB / 222.1 MB, free: 5.52 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.689/1.689, allocations: 292.5 MB / 0.5497 GB, free: 14.62 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0006446/0.0006446, allocations: 18 kB / 0.6736 GB, free: 26.18 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2716/0.2722, allocations: 116.3 MB / 0.7871 GB, free: 11.94 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC): time 0.03507/0.3074, allocations: 32.68 MB / 0.819 GB, free: 11.18 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.0213/0.3287, allocations: 12.54 MB / 0.8313 GB, free: 14.61 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003515/0.3322, allocations: 139.1 kB / 0.8314 GB, free: 14.47 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.002647/0.3349, allocations: 0.7453 MB / 0.8321 GB, free: 13.72 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.008056/0.343, allocations: 1.889 MB / 0.834 GB, free: 11.83 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.006126/0.3492, allocations: 1.647 MB / 0.8356 GB, free: 10.18 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.009732/0.3589, allocations: 4.844 MB / 0.8403 GB, free: 5.332 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02112/0.3801, allocations: 11.41 MB / 0.8515 GB, free: 9.828 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007509/0.3876, allocations: 2.639 MB / 0.854 GB, free: 7.18 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006564/0.3942, allocations: 2.671 MB / 0.8567 GB, free: 4.5 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.002012/0.3963, allocations: 319.9 kB / 0.857 GB, free: 4.188 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003793/0.4001, allocations: 0.6595 MB / 0.8576 GB, free: 3.527 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.004721/0.4048, allocations: 2.249 MB / 0.8598 GB, free: 1.273 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.003133/0.408, allocations: 1.178 MB / 0.8609 GB, free: 88 kB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.012/0.42, allocations: 9.576 MB / 0.8703 GB, free: 6.484 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 3.226e-06/0.42, allocations: 0 / 0.8703 GB, free: 6.484 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.463e-06/0.42, allocations: 0 / 0.8703 GB, free: 6.484 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 0.0004171/0.4205, allocations: 0 / 0.8703 GB, free: 6.484 MB / 0.6856 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.01481/0.4353, allocations: 5.165 MB / 0.8753 GB, free: 1.246 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.225e-05/0.4354, allocations: 16.03 kB / 0.8754 GB, free: 1.23 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01119/0.4466, allocations: 1.285 MB / 0.8766 GB, free: 15.93 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01403/0.4607, allocations: 3.464 MB / 0.88 GB, free: 12.4 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007227/0.4614, allocations: 378.1 kB / 0.8804 GB, free: 12.03 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003113/0.4646, allocations: 0.4998 MB / 0.8808 GB, free: 11.53 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02778/0.4924, allocations: 8.804 MB / 0.8894 GB, free: 2.367 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000292/0.4927, allocations: 23.72 kB / 0.8895 GB, free: 2.344 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001708/0.4945, allocations: 223.9 kB / 0.8897 GB, free: 2.125 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002416/0.4969, allocations: 0.6343 MB / 0.8903 GB, free: 1.488 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01579/0.5127, allocations: 6.975 MB / 0.8971 GB, free: 10.5 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5315/1.044, allocations: 40.42 MB / 0.9366 GB, free: 102.7 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003976/1.048, allocations: 2.875 MB / 0.9394 GB, free: 102.7 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001702/1.048, allocations: 36.27 kB / 0.9394 GB, free: 102.7 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.775e-05/1.049, allocations: 61.47 kB / 0.9395 GB, free: 102.6 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=265): time 4.979e-06/1.049, allocations: 2.75 kB / 0.9395 GB, free: 102.6 MB / 0.7325 GB Notification: Performance of matching and sorting (n=424): time 0.2777/1.326, allocations: 77.41 MB / 1.015 GB, free: 51.85 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.847e-05/1.326, allocations: 94.73 kB / 1.015 GB, free: 51.74 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003917/1.33, allocations: 2.332 MB / 1.017 GB, free: 49.4 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.00103/1.331, allocations: 97.7 kB / 1.018 GB, free: 49.3 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.001298/1.333, allocations: 2.339 MB / 1.02 GB, free: 46.94 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.001736/1.334, allocations: 1.437 MB / 1.021 GB, free: 45.52 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005955/1.335, allocations: 84 kB / 1.021 GB, free: 45.43 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0002186/1.335, allocations: 483.3 kB / 1.022 GB, free: 44.95 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004184/1.339, allocations: 2.991 MB / 1.025 GB, free: 41.96 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005115/1.345, allocations: 3.808 MB / 1.028 GB, free: 37.81 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004817/1.349, allocations: 3.552 MB / 1.032 GB, free: 34.25 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.447e-05/1.349, allocations: 8 kB / 1.032 GB, free: 34.25 MB / 0.7325 GB Notification: Performance of matching and sorting (n=551) (initialization): time 0.02516/1.375, allocations: 12.49 MB / 1.044 GB, free: 21.65 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 4.002e-05/1.375, allocations: 16 kB / 1.044 GB, free: 21.64 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.084e-05/1.375, allocations: 24.86 kB / 1.044 GB, free: 21.61 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02072/1.395, allocations: 6.023 MB / 1.05 GB, free: 15.53 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002393/1.398, allocations: 499.1 kB / 1.05 GB, free: 15.04 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.08153/1.48, allocations: 69.29 MB / 1.118 GB, free: 6.629 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004497/1.484, allocations: 219.8 kB / 1.118 GB, free: 6.414 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004486/1.485, allocations: 156.4 kB / 1.119 GB, free: 6.262 MB / 0.795 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.004156/1.489, allocations: 1.998 MB / 1.12 GB, free: 4.254 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00102/1.49, allocations: 391.4 kB / 1.121 GB, free: 3.867 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02701/1.517, allocations: 12.17 MB / 1.133 GB, free: 7.578 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.861e-05/1.517, allocations: 43.94 kB / 1.133 GB, free: 7.535 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001379/1.517, allocations: 48 kB / 1.133 GB, free: 7.488 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.665e-05/1.517, allocations: 23.92 kB / 1.133 GB, free: 7.465 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04513/1.562, allocations: 19.11 MB / 1.151 GB, free: 4.152 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.567e-05/1.562, allocations: 8 kB / 1.152 GB, free: 4.145 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001723/1.564, allocations: 283.6 kB / 1.152 GB, free: 3.867 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02159/1.586, allocations: 5.57 MB / 1.157 GB, free: 14.23 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007563/1.586, allocations: 83.98 kB / 1.157 GB, free: 14.15 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.08185/1.668, allocations: 66.92 MB / 1.223 GB, free: 8.098 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.656e-06/1.668, allocations: 8 kB / 1.223 GB, free: 8.09 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03368/1.702, allocations: 16.2 MB / 1.238 GB, free: 7.434 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004103/1.706, allocations: 1.047 MB / 1.239 GB, free: 6.363 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001011/1.707, allocations: 87.94 kB / 1.24 GB, free: 6.277 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002725/1.71, allocations: 212.8 kB / 1.24 GB, free: 6.07 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001659/1.712, allocations: 402.3 kB / 1.24 GB, free: 5.676 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002932/1.712, allocations: 108 kB / 1.24 GB, free: 5.57 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.002366/1.714, allocations: 1.533 MB / 1.242 GB, free: 4.039 MB / 0.92 GB Notification: Performance of sort global known variables: time 2.244e-06/1.714, allocations: 0 / 1.242 GB, free: 4.039 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.007489/1.722, allocations: 1.863 MB / 1.244 GB, free: 2.176 MB / 0.92 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.0007675/1.723, allocations: 234.6 kB / 1.244 GB, free: 1.938 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.02236/1.745, allocations: 12.18 MB / 1.256 GB, free: 5.445 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.578e-05/1.745, allocations: 4 kB / 1.256 GB, free: 5.441 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.01573/1.761, allocations: 8.373 MB / 1.264 GB, free: 12.77 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0053/1.766, allocations: 1.043 MB / 1.265 GB, free: 11.73 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4087/2.175, allocations: 14.26 MB / 1.279 GB, free: 303.8 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00576/2.181, allocations: 4.19 MB / 1.283 GB, free: 302.9 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.002848/2.183, allocations: 0.6679 MB / 1.284 GB, free: 302.9 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004552/2.184, allocations: 181.9 kB / 1.284 GB, free: 302.9 MB / 0.9512 GB Notification: Performance of SimCode: time 7.22e-07/2.184, allocations: 0 / 1.284 GB, free: 302.9 MB / 0.9512 GB Notification: Performance of Templates: time 0.1492/2.333, allocations: 102.5 MB / 1.384 GB, free: 243.3 MB / 0.9512 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.makefile Environment - environmentSimulation: (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 & ./Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe 2>&1) Environment - environmentSimulation: