Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.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_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009873/0.0009873, allocations: 100.1 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.001005/0.001005, allocations: 177.3 kB / 15.95 MB, free: 216 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.451/1.451, allocations: 205.4 MB / 222.1 MB, free: 5.648 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.68/1.68, allocations: 292.5 MB / 0.5497 GB, free: 14.64 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.0004804/0.0004804, allocations: 12.47 kB / 0.6736 GB, free: 26.21 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2658/0.2663, allocations: 116.3 MB / 0.7871 GB, free: 11.96 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N): time 0.0411/0.3075, allocations: 35.73 MB / 0.822 GB, free: 8.141 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.02641/0.3339, allocations: 14.53 MB / 0.8362 GB, free: 9.578 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005563/0.3395, allocations: 151.1 kB / 0.8364 GB, free: 9.43 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.004745/0.3443, allocations: 0.8384 MB / 0.8372 GB, free: 8.586 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.01025/0.3546, allocations: 2.111 MB / 0.8392 GB, free: 6.469 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.008034/0.3627, allocations: 1.918 MB / 0.8411 GB, free: 4.551 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.01244/0.3751, allocations: 5.733 MB / 0.8467 GB, free: 14.81 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02645/0.4016, allocations: 13.96 MB / 0.8603 GB, free: 0.75 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007966/0.4096, allocations: 3.153 MB / 0.8634 GB, free: 13.58 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007987/0.4176, allocations: 3.317 MB / 0.8667 GB, free: 10.25 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.002375/0.4201, allocations: 400 kB / 0.867 GB, free: 9.863 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003916/0.424, allocations: 0.7571 MB / 0.8678 GB, free: 9.109 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.005504/0.4295, allocations: 2.74 MB / 0.8705 GB, free: 6.363 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.004357/0.4339, allocations: 1.389 MB / 0.8718 GB, free: 4.965 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.01369/0.4476, allocations: 11.6 MB / 0.8831 GB, free: 9.332 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/0.4477, allocations: 0 / 0.8831 GB, free: 9.332 MB / 0.7012 GB Notification: Performance of FrontEnd: time 3.817e-06/0.4477, allocations: 0 / 0.8831 GB, free: 9.332 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 0.0005636/0.4482, allocations: 0 / 0.8831 GB, free: 9.332 MB / 0.7012 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1668 * Number of variables: 1668 Notification: Performance of Generate backend data structure: time 0.01655/0.4648, allocations: 6.189 MB / 0.8892 GB, free: 3.062 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 3.931e-05/0.4649, allocations: 8.031 kB / 0.8892 GB, free: 3.055 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01033/0.4752, allocations: 1.514 MB / 0.8907 GB, free: 1.531 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0108/0.486, allocations: 4.09 MB / 0.8947 GB, free: 13.36 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000453/0.4865, allocations: 456 kB / 0.8951 GB, free: 12.92 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002121/0.4887, allocations: 0.5974 MB / 0.8957 GB, free: 12.32 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02408/0.5128, allocations: 10.59 MB / 0.906 GB, free: 1.348 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003658/0.5132, allocations: 31.66 kB / 0.9061 GB, free: 1.316 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001887/0.5151, allocations: 263.9 kB / 0.9063 GB, free: 1.059 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002892/0.518, allocations: 0.7729 MB / 0.9071 GB, free: 288 kB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01754/0.5355, allocations: 8.514 MB / 0.9154 GB, free: 7.742 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5015/1.037, allocations: 46.99 MB / 0.9613 GB, free: 83.94 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008912/1.046, allocations: 4.293 MB / 0.9655 GB, free: 82.05 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005814/1.047, allocations: 39.61 kB / 0.9655 GB, free: 82.04 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.746e-05/1.047, allocations: 82.47 kB / 0.9656 GB, free: 81.97 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=353): time 6.002e-06/1.047, allocations: 0 / 0.9656 GB, free: 81.97 MB / 0.7325 GB Notification: Performance of matching and sorting (n=578): time 0.4864/1.533, allocations: 127.9 MB / 1.09 GB, free: 3.984 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.541e-05/1.533, allocations: 111.9 kB / 1.091 GB, free: 3.859 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003758/1.537, allocations: 2.665 MB / 1.093 GB, free: 1.195 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 0.001314/1.538, allocations: 125.6 kB / 1.093 GB, free: 1.066 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 0.001987/1.54, allocations: 2.675 MB / 1.096 GB, free: 14.37 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 0.002833/1.543, allocations: 1.957 MB / 1.098 GB, free: 12.43 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004431/1.544, allocations: 108 kB / 1.098 GB, free: 12.32 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0003383/1.544, allocations: 0.5296 MB / 1.098 GB, free: 11.79 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006369/1.55, allocations: 4.052 MB / 1.102 GB, free: 7.73 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007425/1.558, allocations: 4.972 MB / 1.107 GB, free: 2.426 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007783/1.566, allocations: 4.82 MB / 1.112 GB, free: 13.57 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.103e-05/1.566, allocations: 4 kB / 1.112 GB, free: 13.57 MB / 0.795 GB Notification: Performance of matching and sorting (n=713) (initialization): time 0.0399/1.606, allocations: 16.92 MB / 1.128 GB, free: 12.52 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 5.16e-05/1.606, allocations: 12 kB / 1.128 GB, free: 12.51 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.633e-05/1.606, allocations: 24 kB / 1.129 GB, free: 12.48 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03171/1.638, allocations: 9.049 MB / 1.137 GB, free: 3.391 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002763/1.64, allocations: 0.5265 MB / 1.138 GB, free: 2.863 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.107/1.747, allocations: 73.68 MB / 1.21 GB, free: 7.727 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005783/1.753, allocations: 283.8 kB / 1.21 GB, free: 7.449 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001718/1.755, allocations: 192 kB / 1.21 GB, free: 7.262 MB / 0.8887 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 (274): * Single equations (assignments): 263 * 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: 11 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 11 {(5,84.0%) 17,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(14,51.0%) 72,(14,51.0%) 72,(6,77.8%) 40,(7,71.4%) 71,(8,70.3%) 70,(6,77.8%) 40} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.006568/1.762, allocations: 2.42 MB / 1.213 GB, free: 4.832 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001419/1.763, allocations: 478.4 kB / 1.213 GB, free: 4.359 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03663/1.8, allocations: 16.75 MB / 1.229 GB, free: 3.469 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.95e-05/1.8, allocations: 56 kB / 1.229 GB, free: 3.414 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0002648/1.8, allocations: 75.95 kB / 1.23 GB, free: 3.34 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001689/1.8, allocations: 27.09 kB / 1.23 GB, free: 3.316 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05578/1.856, allocations: 25.61 MB / 1.255 GB, free: 9.477 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.885e-05/1.856, allocations: 11.94 kB / 1.255 GB, free: 9.465 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0019/1.858, allocations: 324.3 kB / 1.255 GB, free: 9.148 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02909/1.887, allocations: 8.255 MB / 1.263 GB, free: 0.8516 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001339/1.888, allocations: 112 kB / 1.263 GB, free: 0.7422 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.6681/2.557, allocations: 70.53 MB / 1.332 GB, free: 292.9 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.686e-06/2.557, allocations: 15.77 kB / 1.332 GB, free: 292.9 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03951/2.596, allocations: 22.18 MB / 1.354 GB, free: 282.9 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004301/2.6, allocations: 1.358 MB / 1.355 GB, free: 282 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001337/2.602, allocations: 105.7 kB / 1.355 GB, free: 281.9 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003773/2.606, allocations: 291.4 kB / 1.355 GB, free: 281.7 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002209/2.608, allocations: 0.5242 MB / 1.356 GB, free: 281.4 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003979/2.608, allocations: 145.7 kB / 1.356 GB, free: 281.4 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.002685/2.611, allocations: 1.747 MB / 1.358 GB, free: 280.5 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.1e-07/2.611, allocations: 0 / 1.358 GB, free: 280.5 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.008907/2.62, allocations: 2.46 MB / 1.36 GB, free: 280.2 MB / 0.9512 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 31 * Number of states: 8 (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],RLCLine_sc.neutral.Vc[1],RLCLine_sc.neutral.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 (142): * Single equations (assignments): 131 * 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: 11 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 11 {(6,77.8%) 40,(8,70.3%) 70,(14,51.0%) 72,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(5,84.0%) 17,(6,83.3%) 40,(8,70.3%) 70,(14,51.0%) 72} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009919/2.621, allocations: 245.9 kB / 1.36 GB, free: 280 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.02629/2.647, allocations: 14.49 MB / 1.374 GB, free: 265.6 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 1.622e-05/2.647, allocations: 4 kB / 1.374 GB, free: 265.6 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.01873/2.666, allocations: 9.368 MB / 1.384 GB, free: 256.1 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007641/2.674, allocations: 1.193 MB / 1.385 GB, free: 254.9 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03159/2.705, allocations: 18.14 MB / 1.403 GB, free: 236.7 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007487/2.713, allocations: 5.017 MB / 1.407 GB, free: 231.6 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.003797/2.717, allocations: 0.737 MB / 1.408 GB, free: 230.9 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009813/2.718, allocations: 203.4 kB / 1.408 GB, free: 230.7 MB / 0.9512 GB Notification: Performance of SimCode: time 1.903e-06/2.718, allocations: 0 / 1.408 GB, free: 230.7 MB / 0.9512 GB Notification: Performance of Templates: time 0.2013/2.919, allocations: 135.4 MB / 1.541 GB, free: 96.54 MB / 0.9512 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.sim & ./Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe 2>&1) Environment - environmentSimulation: