Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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.ACLineMatrix_RL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.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.001012/0.001012, allocations: 90.75 kB / 15.06 MB, free: 1.098 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.001131/0.001131, allocations: 172.7 kB / 15.95 MB, free: 208 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.687/1.687, allocations: 205.4 MB / 222.1 MB, free: 5.469 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.619/1.619, allocations: 252 MB / 0.5102 GB, free: 4.777 MB / 414.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.0004708/0.0004708, allocations: 12 kB / 0.6243 GB, free: 1.082 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.57/0.5704, allocations: 106.3 MB / 0.7281 GB, free: 11.43 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL): time 0.02046/0.5909, allocations: 20.52 MB / 0.7482 GB, free: 6.84 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.01035/0.6013, allocations: 5.974 MB / 0.754 GB, free: 0.8516 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002215/0.6036, allocations: 75.56 kB / 0.7541 GB, free: 0.7773 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001144/0.6048, allocations: 440.5 kB / 0.7545 GB, free: 352 kB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.003555/0.6083, allocations: 1.334 MB / 0.7558 GB, free: 15 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.002714/0.6111, allocations: 0.8252 MB / 0.7566 GB, free: 14.18 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.008393/0.6195, allocations: 6.854 MB / 0.7633 GB, free: 7.305 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01/0.6295, allocations: 6.206 MB / 0.7694 GB, free: 1.043 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003665/0.6332, allocations: 1.798 MB / 0.7711 GB, free: 15.24 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004374/0.6376, allocations: 2.558 MB / 0.7736 GB, free: 12.67 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0006197/0.6382, allocations: 204 kB / 0.7738 GB, free: 12.47 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001792/0.64, allocations: 0.5384 MB / 0.7743 GB, free: 11.93 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.001908/0.642, allocations: 1.711 MB / 0.776 GB, free: 10.22 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.001174/0.6431, allocations: 0.7264 MB / 0.7767 GB, free: 9.484 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.00581/0.649, allocations: 5.994 MB / 0.7826 GB, free: 3.477 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 7.344e-06/0.649, allocations: 0 / 0.7826 GB, free: 3.477 MB / 0.5919 GB Notification: Performance of FrontEnd: time 3.486e-06/0.649, allocations: 8 kB / 0.7826 GB, free: 3.469 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 0.0001924/0.6492, allocations: 0 / 0.7826 GB, free: 3.469 MB / 0.5919 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.006136/0.6553, allocations: 3.111 MB / 0.7856 GB, free: 304 kB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.047e-05/0.6554, allocations: 8.031 kB / 0.7856 GB, free: 296 kB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005647/0.6611, allocations: 1.22 MB / 0.7868 GB, free: 15.06 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004256/0.6653, allocations: 2.15 MB / 0.7889 GB, free: 12.86 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001838/0.6655, allocations: 242.4 kB / 0.7891 GB, free: 12.62 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005424/0.6661, allocations: 315.9 kB / 0.7894 GB, free: 12.31 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01105/0.6771, allocations: 6.193 MB / 0.7955 GB, free: 5.855 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.951e-05/0.6773, allocations: 7.938 kB / 0.7955 GB, free: 5.848 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003903/0.6777, allocations: 143.9 kB / 0.7956 GB, free: 5.707 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005195/0.6782, allocations: 406.3 kB / 0.796 GB, free: 5.309 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008739/0.6869, allocations: 4.647 MB / 0.8006 GB, free: 0.6523 MB / 0.6075 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.03465/0.7216, allocations: 29.04 MB / 0.8289 GB, free: 0.8984 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003078/0.7247, allocations: 1.428 MB / 0.8303 GB, free: 15.46 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002912/0.7277, allocations: 1.476 MB / 0.8318 GB, free: 13.98 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001731/0.7279, allocations: 13 kB / 0.8318 GB, free: 13.97 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.684e-05/0.7279, allocations: 43.56 kB / 0.8318 GB, free: 13.91 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=110): time 5.641e-06/0.728, allocations: 0 / 0.8318 GB, free: 13.91 MB / 0.6544 GB Notification: Performance of matching and sorting (n=179): time 0.1524/0.8804, allocations: 36.3 MB / 0.8673 GB, free: 9.543 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.013e-05/0.8805, allocations: 77.34 kB / 0.8673 GB, free: 9.457 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002854/0.8834, allocations: 1.411 MB / 0.8687 GB, free: 8.039 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 0.0003731/0.8838, allocations: 53.7 kB / 0.8688 GB, free: 7.98 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.001309/0.8851, allocations: 1.539 MB / 0.8703 GB, free: 6.422 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008973/0.886, allocations: 0.6123 MB / 0.8709 GB, free: 5.801 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002472/0.8863, allocations: 40 kB / 0.8709 GB, free: 5.762 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0002026/0.8865, allocations: 381.9 kB / 0.8713 GB, free: 5.383 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002848/0.8893, allocations: 1.776 MB / 0.873 GB, free: 3.602 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003354/0.8927, allocations: 2.342 MB / 0.8753 GB, free: 1.004 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003397/0.8961, allocations: 2.055 MB / 0.8773 GB, free: 14.95 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.328e-05/0.8962, allocations: 4 kB / 0.8773 GB, free: 14.95 MB / 0.7012 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.01802/0.9142, allocations: 8.54 MB / 0.8856 GB, free: 6.371 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 4.952e-05/0.9143, allocations: 15.95 kB / 0.8857 GB, free: 6.355 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.714e-05/0.9143, allocations: 20 kB / 0.8857 GB, free: 6.336 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01412/0.9285, allocations: 4.63 MB / 0.8902 GB, free: 1.691 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001321/0.9299, allocations: 299.5 kB / 0.8905 GB, free: 1.398 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.6342/1.564, allocations: 29.42 MB / 0.9192 GB, free: 154.8 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002603/1.567, allocations: 154.7 kB / 0.9194 GB, free: 154.8 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002112/1.567, allocations: 87.36 kB / 0.9195 GB, free: 154.8 MB / 0.7169 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 (linear and non-linear blocks): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(11,90.1%) 13,(11,91.7%) 13,(6,100.0%) 12,(6,100.0%) 12,(6,100.0%) 6,(6,100.0%) 6} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002869/1.57, allocations: 1.324 MB / 0.9207 GB, free: 154.2 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005757/1.57, allocations: 196.3 kB / 0.9209 GB, free: 154.2 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01548/1.586, allocations: 8.419 MB / 0.9292 GB, free: 151.7 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.837e-05/1.586, allocations: 19.69 kB / 0.9292 GB, free: 151.7 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.869e-05/1.586, allocations: 27.52 kB / 0.9292 GB, free: 151.7 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.476e-05/1.586, allocations: 7.641 kB / 0.9292 GB, free: 151.7 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0209/1.607, allocations: 12.82 MB / 0.9417 GB, free: 146.4 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.004e-05/1.607, allocations: 8.594 kB / 0.9417 GB, free: 146.4 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006834/1.608, allocations: 171.4 kB / 0.9419 GB, free: 146.4 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01171/1.62, allocations: 4.485 MB / 0.9463 GB, free: 142.3 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002625/1.62, allocations: 36.98 kB / 0.9463 GB, free: 142.2 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03407/1.654, allocations: 29.06 MB / 0.9747 GB, free: 112.6 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.464e-06/1.654, allocations: 11.94 kB / 0.9747 GB, free: 112.6 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01388/1.668, allocations: 8.217 MB / 0.9827 GB, free: 104.2 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001318/1.669, allocations: 0.6195 MB / 0.9833 GB, free: 103.6 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003105/1.67, allocations: 40 kB / 0.9834 GB, free: 103.5 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001149/1.671, allocations: 131.8 kB / 0.9835 GB, free: 103.4 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006975/1.671, allocations: 175 kB / 0.9837 GB, free: 103.2 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001457/1.672, allocations: 48 kB / 0.9837 GB, free: 103.2 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.001152/1.673, allocations: 0.9509 MB / 0.9846 GB, free: 102.2 MB / 0.7169 GB Notification: Performance of sort global known variables: time 2.11e-07/1.673, allocations: 0 / 0.9846 GB, free: 102.2 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.003773/1.677, allocations: 1.102 MB / 0.9857 GB, free: 101.1 MB / 0.7169 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 (linear and non-linear blocks): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(6,100.0%) 6,(6,100.0%) 12,(11,91.7%) 13,(6,100.0%) 6,(6,100.0%) 12,(11,91.7%) 13} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003106/1.677, allocations: 153.6 kB / 0.9859 GB, free: 101 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.01034/1.687, allocations: 6.405 MB / 0.9921 GB, free: 94.52 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.208e-05/1.687, allocations: 0 / 0.9921 GB, free: 94.52 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.007799/1.695, allocations: 4.29 MB / 0.9963 GB, free: 90.15 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002806/1.698, allocations: 0.4979 MB / 0.9968 GB, free: 89.67 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0112/1.709, allocations: 8.083 MB / 1.005 GB, free: 81.5 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002443/1.712, allocations: 2.719 MB / 1.007 GB, free: 78.75 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.001162/1.713, allocations: 392.5 kB / 1.008 GB, free: 78.36 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00022/1.713, allocations: 99.42 kB / 1.008 GB, free: 78.27 MB / 0.7169 GB Notification: Performance of SimCode: time 1.873e-06/1.713, allocations: 0 / 1.008 GB, free: 78.27 MB / 0.7169 GB Notification: Performance of Templates: time 0.07409/1.787, allocations: 55.51 MB / 1.062 GB, free: 23.08 MB / 0.7169 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.makefile Environment - environmentSimulation: (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe 2>&1) Environment - environmentSimulation: