Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL") translateModel(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001424/0.001424, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.00148/0.00148, allocations: 194.5 kB / 16.14 MB, free: 6.715 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.447/1.447, allocations: 222.9 MB / 239.8 MB, free: 4.625 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002566/0.002566, allocations: 282.9 kB / 290.2 MB, free: 2.234 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.098/1.098, allocations: 178.6 MB / 0.5068 GB, free: 4.789 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002753/0.002754, allocations: 99.41 kB / 0.6057 GB, free: 25.04 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1568/0.1596, allocations: 89.14 MB / 0.6928 GB, free: 4.828 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL): time 0.0271/0.1867, allocations: 22.4 MB / 0.7147 GB, free: 14.37 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.01116/0.1979, allocations: 6.244 MB / 0.7208 GB, free: 8.113 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001667/0.1996, allocations: 79.56 kB / 0.7208 GB, free: 8.035 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.003778/0.2034, allocations: 1.417 MB / 0.7222 GB, free: 6.617 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.00369/0.2071, allocations: 1.541 MB / 0.7237 GB, free: 5.07 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.002993/0.2101, allocations: 1.231 MB / 0.7249 GB, free: 3.84 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.009444/0.2196, allocations: 8.856 MB / 0.7336 GB, free: 10.96 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009971/0.2295, allocations: 6.75 MB / 0.7402 GB, free: 4.137 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004768/0.2343, allocations: 2.039 MB / 0.7422 GB, free: 2.09 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004504/0.2389, allocations: 2.968 MB / 0.7451 GB, free: 15.11 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0006128/0.2395, allocations: 316 kB / 0.7454 GB, free: 14.8 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0024/0.2419, allocations: 1.135 MB / 0.7465 GB, free: 13.67 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.002243/0.2442, allocations: 1.898 MB / 0.7483 GB, free: 11.77 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.00268/0.2468, allocations: 2.003 MB / 0.7503 GB, free: 9.754 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.007981/0.2548, allocations: 7.19 MB / 0.7573 GB, free: 2.543 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 7.644e-06/0.2549, allocations: 0 / 0.7573 GB, free: 2.543 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.923e-06/0.2549, allocations: 0 / 0.7573 GB, free: 2.543 MB / 0.545 GB Notification: Performance of Transformations before backend: time 0.000237/0.2551, allocations: 0 / 0.7573 GB, free: 2.543 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 913 * Number of variables: 913 Notification: Performance of Generate backend data structure: time 0.2709/0.526, allocations: 3.814 MB / 0.761 GB, free: 64.09 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.578e-05/0.5261, allocations: 10.31 kB / 0.761 GB, free: 64.09 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006436/0.5325, allocations: 1.203 MB / 0.7622 GB, free: 63.86 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005253/0.5378, allocations: 2.217 MB / 0.7644 GB, free: 62.74 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001866/0.538, allocations: 242.9 kB / 0.7646 GB, free: 62.64 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007206/0.5387, allocations: 317.5 kB / 0.7649 GB, free: 62.55 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009729/0.5485, allocations: 6.211 MB / 0.771 GB, free: 60.04 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.343e-05/0.5486, allocations: 14.97 kB / 0.771 GB, free: 60.03 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003295/0.5489, allocations: 150.1 kB / 0.7711 GB, free: 59.93 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005031/0.5494, allocations: 410.3 kB / 0.7715 GB, free: 59.88 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007093/0.5565, allocations: 4.664 MB / 0.7761 GB, free: 58.3 MB / 0.545 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02251/0.579, allocations: 29.14 MB / 0.8045 GB, free: 33.1 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0017/0.5808, allocations: 1.418 MB / 0.8059 GB, free: 32.35 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001602/0.5824, allocations: 1.484 MB / 0.8074 GB, free: 31.62 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001116/0.5825, allocations: 16.23 kB / 0.8074 GB, free: 31.61 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.203e-05/0.5825, allocations: 44.16 kB / 0.8074 GB, free: 31.56 MB / 0.545 GB Notification: Performance of pre-optimization done (n=110): time 2.735e-06/0.5825, allocations: 0 / 0.8074 GB, free: 31.56 MB / 0.545 GB Notification: Performance of matching and sorting (n=179): time 0.1182/0.7008, allocations: 37.23 MB / 0.8438 GB, free: 15.63 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.774e-05/0.7009, allocations: 69.41 kB / 0.8439 GB, free: 15.55 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002135/0.703, allocations: 1.419 MB / 0.8452 GB, free: 14.13 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0002432/0.7033, allocations: 53.7 kB / 0.8453 GB, free: 14.07 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.001155/0.7044, allocations: 1.535 MB / 0.8468 GB, free: 12.52 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006557/0.7051, allocations: 0.6123 MB / 0.8474 GB, free: 11.89 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007703/0.7059, allocations: 383.3 kB / 0.8478 GB, free: 11.51 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001309/0.706, allocations: 301.1 kB / 0.848 GB, free: 11.21 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002781/0.7088, allocations: 1.788 MB / 0.8498 GB, free: 9.422 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00332/0.7121, allocations: 2.346 MB / 0.8521 GB, free: 6.82 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006321/0.7185, allocations: 4.387 MB / 0.8564 GB, free: 2.195 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.149e-05/0.7185, allocations: 4 kB / 0.8564 GB, free: 2.191 MB / 0.5606 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.01884/0.7373, allocations: 8.57 MB / 0.8647 GB, free: 9.586 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 3.496e-05/0.7374, allocations: 17.5 kB / 0.8647 GB, free: 9.57 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.773e-05/0.7374, allocations: 16 kB / 0.8648 GB, free: 9.555 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01542/0.7529, allocations: 4.641 MB / 0.8693 GB, free: 4.902 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001209/0.7541, allocations: 307.4 kB / 0.8696 GB, free: 4.602 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04728/0.8014, allocations: 29.67 MB / 0.8986 GB, free: 6.129 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002259/0.8037, allocations: 153.6 kB / 0.8987 GB, free: 5.98 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002292/0.8039, allocations: 80 kB / 0.8988 GB, free: 5.902 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 78 * 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 (157): * Single equations (assignments): 151 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(11,13,90.1%), (11,13,91.7%), (6,12,100.0%), (6,12,100.0%), (6,6,100.0%), (6,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002317/0.8063, allocations: 1.337 MB / 0.9001 GB, free: 4.555 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004421/0.8067, allocations: 201.6 kB / 0.9003 GB, free: 4.355 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01852/0.8252, allocations: 8.433 MB / 0.9085 GB, free: 11.88 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.741e-05/0.8253, allocations: 16 kB / 0.9085 GB, free: 11.86 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.505e-05/0.8253, allocations: 31.94 kB / 0.9086 GB, free: 11.83 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.027e-05/0.8254, allocations: 7.969 kB / 0.9086 GB, free: 11.82 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02578/0.8512, allocations: 12.85 MB / 0.9211 GB, free: 14.8 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.612e-05/0.8512, allocations: 8 kB / 0.9211 GB, free: 14.8 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007013/0.8519, allocations: 163.7 kB / 0.9213 GB, free: 14.64 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01481/0.8667, allocations: 4.484 MB / 0.9257 GB, free: 10.14 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002354/0.867, allocations: 39.98 kB / 0.9257 GB, free: 10.1 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04641/0.9134, allocations: 29.27 MB / 0.9543 GB, free: 12.01 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-05/0.9135, allocations: 8 kB / 0.9543 GB, free: 12 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01803/0.9315, allocations: 8.24 MB / 0.9623 GB, free: 3.637 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001494/0.933, allocations: 0.6195 MB / 0.9629 GB, free: 2.996 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003584/0.9334, allocations: 36 kB / 0.963 GB, free: 2.961 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001299/0.9347, allocations: 143.7 kB / 0.9631 GB, free: 2.82 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008744/0.9356, allocations: 165 kB / 0.9633 GB, free: 2.66 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001678/0.9358, allocations: 48 kB / 0.9633 GB, free: 2.613 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.00139/0.9372, allocations: 0.9588 MB / 0.9643 GB, free: 1.66 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.7e-07/0.9372, allocations: 3.375 kB / 0.9643 GB, free: 1.66 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.003478/0.9407, allocations: 1.113 MB / 0.9653 GB, free: 0.5469 MB / 0.67 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * 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 (80): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(6,6,100.0%), (6,12,100.0%), (11,13,91.7%), (6,6,100.0%), (6,12,100.0%), (11,13,91.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003131/0.941, allocations: 157.7 kB / 0.9655 GB, free: 396 kB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.01282/0.9538, allocations: 6.509 MB / 0.9719 GB, free: 9.809 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 7.925e-06/0.9538, allocations: 8.062 kB / 0.9719 GB, free: 9.801 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.009295/0.9631, allocations: 4.362 MB / 0.9761 GB, free: 5.359 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002526/0.9657, allocations: 489.7 kB / 0.9766 GB, free: 4.895 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01281/0.9785, allocations: 8.437 MB / 0.9848 GB, free: 12.38 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003099/0.9816, allocations: 2.727 MB / 0.9875 GB, free: 9.613 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.001175/0.9828, allocations: 388.6 kB / 0.9879 GB, free: 9.23 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002601/0.9831, allocations: 99.42 kB / 0.988 GB, free: 9.133 MB / 0.7012 GB Notification: Performance of SimCode: time 6.41e-07/0.9831, allocations: 0 / 0.988 GB, free: 9.133 MB / 0.7012 GB Notification: Performance of Templates: time 0.3796/1.363, allocations: 58.84 MB / 1.045 GB, free: 249.8 MB / 0.7481 GB make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.makefile (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe 2>&1)