Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.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.ThreePhasesBalanced.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008543/0.0008543, allocations: 97.56 kB / 15.36 MB, free: 0.7344 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.006113/0.006113, allocations: 171.2 kB / 16.27 MB, free: 6.648 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.694/1.694, allocations: 205.4 MB / 222.4 MB, free: 5.559 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.853/1.853, allocations: 292.7 MB / 0.5502 GB, free: 14.49 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.0006044/0.0006045, allocations: 13.78 kB / 0.6743 GB, free: 25.85 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3224/0.323, allocations: 116.3 MB / 0.7879 GB, free: 11.61 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R): time 0.007711/0.3308, allocations: 6.338 MB / 0.7941 GB, free: 5.246 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.006524/0.3374, allocations: 3.053 MB / 0.7971 GB, free: 2.18 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007673/0.3382, allocations: 23.81 kB / 0.7971 GB, free: 2.156 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0005/0.3387, allocations: 138.8 kB / 0.7972 GB, free: 2.02 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.001406/0.3401, allocations: 481.7 kB / 0.7977 GB, free: 1.547 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.00119/0.3413, allocations: 406.7 kB / 0.7981 GB, free: 1.152 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.001727/0.3431, allocations: 1.591 MB / 0.7996 GB, free: 15.56 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001826/0.3449, allocations: 1.016 MB / 0.8006 GB, free: 14.52 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000644/0.3456, allocations: 390.3 kB / 0.801 GB, free: 14.13 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007117/0.3463, allocations: 0.4902 MB / 0.8015 GB, free: 13.64 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 7.456e-05/0.3464, allocations: 36 kB / 0.8015 GB, free: 13.61 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008736/0.3473, allocations: 447.1 kB / 0.8019 GB, free: 13.17 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0002728/0.3475, allocations: 271.1 kB / 0.8022 GB, free: 12.9 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0004381/0.348, allocations: 435.5 kB / 0.8026 GB, free: 12.47 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.001248/0.3492, allocations: 1.187 MB / 0.8038 GB, free: 11.28 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 8.035e-06/0.3493, allocations: 0 / 0.8038 GB, free: 11.28 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.914e-06/0.3493, allocations: 3.938 kB / 0.8038 GB, free: 11.27 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 1.266e-05/0.3493, allocations: 0 / 0.8038 GB, free: 11.27 MB / 0.6231 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 183 * Number of variables: 183 Notification: Performance of Generate backend data structure: time 0.001829/0.3511, allocations: 1.009 MB / 0.8047 GB, free: 10.21 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.604e-05/0.3512, allocations: 8.031 kB / 0.8047 GB, free: 10.2 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001553/0.3527, allocations: 243.5 kB / 0.805 GB, free: 9.965 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008588/0.3536, allocations: 0.5569 MB / 0.8055 GB, free: 9.371 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.408e-05/0.3537, allocations: 45.67 kB / 0.8056 GB, free: 9.328 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001319/0.3538, allocations: 68.36 kB / 0.8056 GB, free: 9.262 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001736/0.3556, allocations: 1.081 MB / 0.8067 GB, free: 8.07 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.731e-05/0.3556, allocations: 3.938 kB / 0.8067 GB, free: 8.066 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.974e-05/0.3557, allocations: 35.98 kB / 0.8067 GB, free: 8.031 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001561/0.3558, allocations: 85.25 kB / 0.8068 GB, free: 7.945 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001154/0.357, allocations: 0.7504 MB / 0.8075 GB, free: 7.195 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005956/0.363, allocations: 5.905 MB / 0.8133 GB, free: 0.8633 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001008/0.364, allocations: 0.5516 MB / 0.8138 GB, free: 304 kB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004515/0.3645, allocations: 326.1 kB / 0.8142 GB, free: 15.97 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 3.931e-05/0.3645, allocations: 4.438 kB / 0.8142 GB, free: 15.97 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.112e-05/0.3646, allocations: 39 kB / 0.8142 GB, free: 15.92 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=47): time 2.815e-06/0.3646, allocations: 8 kB / 0.8142 GB, free: 15.91 MB / 0.6387 GB Notification: Performance of matching and sorting (n=48): time 0.004103/0.3687, allocations: 1.994 MB / 0.8162 GB, free: 13.82 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.092e-05/0.3687, allocations: 63.84 kB / 0.8162 GB, free: 13.75 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006289/0.3694, allocations: 0.5625 MB / 0.8168 GB, free: 13.18 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 4.378e-05/0.3694, allocations: 33.7 kB / 0.8168 GB, free: 13.14 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003005/0.3697, allocations: 418.8 kB / 0.8172 GB, free: 12.73 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001259/0.3699, allocations: 169.6 kB / 0.8174 GB, free: 12.56 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.988e-05/0.37, allocations: 57.69 kB / 0.8174 GB, free: 12.5 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001556/0.3701, allocations: 378.7 kB / 0.8178 GB, free: 12.12 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003807/0.3705, allocations: 281.8 kB / 0.818 GB, free: 11.85 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005394/0.3711, allocations: 496.9 kB / 0.8185 GB, free: 11.27 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001046/0.3721, allocations: 0.8016 MB / 0.8193 GB, free: 10.37 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.988e-06/0.3721, allocations: 0 / 0.8193 GB, free: 10.37 MB / 0.6387 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001726/0.3739, allocations: 1.087 MB / 0.8204 GB, free: 9.262 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.686e-05/0.3739, allocations: 8 kB / 0.8204 GB, free: 9.254 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.563e-05/0.3739, allocations: 11.98 kB / 0.8204 GB, free: 9.242 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008265/0.3747, allocations: 279.6 kB / 0.8206 GB, free: 8.957 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004627/0.3752, allocations: 123.8 kB / 0.8208 GB, free: 8.836 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006313/0.3815, allocations: 6.606 MB / 0.8272 GB, free: 1.691 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006575/0.3822, allocations: 47.97 kB / 0.8273 GB, free: 1.645 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.764e-05/0.3823, allocations: 28 kB / 0.8273 GB, free: 1.617 MB / 0.6387 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (67): * Single equations (assignments): 63 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(2,6,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004044/0.3827, allocations: 263.8 kB / 0.8275 GB, free: 1.352 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001109/0.3828, allocations: 75.16 kB / 0.8276 GB, free: 1.277 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001646/0.3845, allocations: 0.8925 MB / 0.8285 GB, free: 368 kB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.27e-06/0.3845, allocations: 4 kB / 0.8285 GB, free: 364 kB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.124e-06/0.3845, allocations: 4 kB / 0.8285 GB, free: 360 kB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.053e-06/0.3845, allocations: 4.031 kB / 0.8285 GB, free: 356 kB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002678/0.3872, allocations: 1.728 MB / 0.8302 GB, free: 14.53 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.143e-06/0.3872, allocations: 3.938 kB / 0.8302 GB, free: 14.52 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002536/0.3875, allocations: 64.14 kB / 0.8302 GB, free: 14.46 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007437/0.3882, allocations: 267.1 kB / 0.8305 GB, free: 14.19 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.237e-05/0.3883, allocations: 12 kB / 0.8305 GB, free: 14.18 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006202/0.3945, allocations: 6.575 MB / 0.8369 GB, free: 7.07 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.923e-06/0.3945, allocations: 7.969 kB / 0.8369 GB, free: 7.062 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001618/0.3961, allocations: 0.9916 MB / 0.8379 GB, free: 6.027 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002948/0.3964, allocations: 188.2 kB / 0.8381 GB, free: 5.824 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.407e-05/0.3965, allocations: 15.94 kB / 0.8381 GB, free: 5.809 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003582/0.3969, allocations: 36.09 kB / 0.8381 GB, free: 5.773 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001009/0.397, allocations: 39.88 kB / 0.8382 GB, free: 5.734 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.223e-05/0.397, allocations: 16.19 kB / 0.8382 GB, free: 5.719 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.000475/0.3975, allocations: 391.1 kB / 0.8386 GB, free: 5.344 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3975, allocations: 7.938 kB / 0.8386 GB, free: 5.336 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0009032/0.3984, allocations: 228 kB / 0.8388 GB, free: 5.113 MB / 0.6544 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 simulation (31): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002145/0.3987, allocations: 111.6 kB / 0.8389 GB, free: 4.992 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.002024/0.4007, allocations: 1.275 MB / 0.8401 GB, free: 3.664 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 4.037e-06/0.4007, allocations: 0 / 0.8401 GB, free: 3.664 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.001225/0.4019, allocations: 0.8893 MB / 0.841 GB, free: 2.723 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001217/0.4032, allocations: 206.7 kB / 0.8412 GB, free: 2.516 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002587/0.4058, allocations: 1.669 MB / 0.8428 GB, free: 0.7969 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00074/0.4065, allocations: 1.009 MB / 0.8438 GB, free: 15.76 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.0004434/0.407, allocations: 126 kB / 0.8439 GB, free: 15.64 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001232/0.4071, allocations: 51.31 kB / 0.844 GB, free: 15.59 MB / 0.67 GB Notification: Performance of SimCode: time 1.313e-06/0.4071, allocations: 0 / 0.844 GB, free: 15.59 MB / 0.67 GB Notification: Performance of Templates: time 0.02092/0.428, allocations: 10.62 MB / 0.8544 GB, free: 5.094 MB / 0.67 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.sim & ./Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe 2>&1) Environment - environmentSimulation: