Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_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 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.ACLineMatrix_RL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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_8_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.0008825/0.0008827, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.0008219/0.0008223, allocations: 168.7 kB / 15.95 MB, free: 204 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.478/1.478, allocations: 205.4 MB / 222.1 MB, free: 5.633 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.638/1.638, allocations: 292.7 MB / 0.5499 GB, free: 14.55 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.0004624/0.0004625, allocations: 18.78 kB / 0.6737 GB, free: 26.1 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2273/0.2278, allocations: 116.3 MB / 0.7873 GB, free: 11.9 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL): time 0.0204/0.2482, allocations: 20.53 MB / 0.8074 GB, free: 7.309 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.01023/0.2585, allocations: 5.982 MB / 0.8132 GB, free: 1.312 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002875/0.2614, allocations: 79.5 kB / 0.8133 GB, free: 1.234 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.001384/0.2628, allocations: 424.7 kB / 0.8137 GB, free: 0.8164 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.003665/0.2665, allocations: 1.353 MB / 0.815 GB, free: 15.46 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.002376/0.2689, allocations: 0.8183 MB / 0.8158 GB, free: 14.64 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.007948/0.2769, allocations: 6.886 MB / 0.8225 GB, free: 7.738 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009038/0.2859, allocations: 6.221 MB / 0.8286 GB, free: 1.457 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003151/0.2891, allocations: 1.805 MB / 0.8304 GB, free: 15.64 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003963/0.2931, allocations: 2.555 MB / 0.8329 GB, free: 13.08 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0006455/0.2938, allocations: 207.9 kB / 0.8331 GB, free: 12.88 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001831/0.2956, allocations: 0.5463 MB / 0.8336 GB, free: 12.33 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.001818/0.2974, allocations: 1.715 MB / 0.8353 GB, free: 10.61 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.001111/0.2986, allocations: 0.7342 MB / 0.836 GB, free: 9.871 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.00585/0.3044, allocations: 5.996 MB / 0.8418 GB, free: 3.859 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 9.288e-06/0.3044, allocations: 0 / 0.8418 GB, free: 3.859 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.174e-06/0.3045, allocations: 3.938 kB / 0.8418 GB, free: 3.855 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 0.0002148/0.3047, allocations: 0 / 0.8418 GB, free: 3.855 MB / 0.6544 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.006377/0.3111, allocations: 3.122 MB / 0.8449 GB, free: 0.6719 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.999e-05/0.3111, allocations: 8.031 kB / 0.8449 GB, free: 0.6641 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006104/0.3172, allocations: 1.213 MB / 0.8461 GB, free: 15.45 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004255/0.3215, allocations: 2.161 MB / 0.8482 GB, free: 13.23 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001716/0.3217, allocations: 238.4 kB / 0.8484 GB, free: 12.99 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006654/0.3224, allocations: 315.9 kB / 0.8487 GB, free: 12.68 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01099/0.3334, allocations: 6.185 MB / 0.8548 GB, free: 6.242 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.138e-05/0.3335, allocations: 19.77 kB / 0.8548 GB, free: 6.223 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003688/0.3339, allocations: 143.9 kB / 0.8549 GB, free: 6.082 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005088/0.3344, allocations: 402.3 kB / 0.8553 GB, free: 5.688 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008218/0.3426, allocations: 4.65 MB / 0.8598 GB, free: 1.027 MB / 0.67 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.02971/0.3724, allocations: 29.06 MB / 0.8882 GB, free: 1.254 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002117/0.3745, allocations: 1.408 MB / 0.8896 GB, free: 15.83 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001994/0.3765, allocations: 1.479 MB / 0.891 GB, free: 14.35 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001226/0.3767, allocations: 20.94 kB / 0.8911 GB, free: 14.33 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.359e-05/0.3767, allocations: 47.55 kB / 0.8911 GB, free: 14.27 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=110): time 3.196e-06/0.3767, allocations: 0 / 0.8911 GB, free: 14.27 MB / 0.7169 GB Notification: Performance of matching and sorting (n=179): time 0.4965/0.8733, allocations: 36.3 MB / 0.9265 GB, free: 126 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.206e-05/0.8734, allocations: 70.72 kB / 0.9266 GB, free: 125.9 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002376/0.8758, allocations: 1.411 MB / 0.928 GB, free: 125.5 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0003214/0.8761, allocations: 57.14 kB / 0.928 GB, free: 125.5 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.000858/0.877, allocations: 1.538 MB / 0.9296 GB, free: 124.6 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005882/0.8776, allocations: 0.607 MB / 0.9301 GB, free: 124.2 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001462/0.8777, allocations: 40.25 kB / 0.9302 GB, free: 124.1 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001203/0.8779, allocations: 390.9 kB / 0.9306 GB, free: 123.8 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002366/0.8802, allocations: 1.779 MB / 0.9323 GB, free: 123.2 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002475/0.8827, allocations: 2.345 MB / 0.9346 GB, free: 121.8 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002595/0.8853, allocations: 2.046 MB / 0.9366 GB, free: 121 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.746e-06/0.8854, allocations: 4.75 kB / 0.9366 GB, free: 121 MB / 0.7325 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.01743/0.9028, allocations: 8.542 MB / 0.9449 GB, free: 118.4 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 3.539e-05/0.9029, allocations: 12.78 kB / 0.9449 GB, free: 118.4 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.838e-05/0.9029, allocations: 20.45 kB / 0.945 GB, free: 118.4 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01246/0.9154, allocations: 4.628 MB / 0.9495 GB, free: 116.2 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001216/0.9166, allocations: 306 kB / 0.9498 GB, free: 116.1 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03486/0.9515, allocations: 29.44 MB / 0.9785 GB, free: 95.8 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001896/0.9534, allocations: 147.8 kB / 0.9787 GB, free: 95.65 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001686/0.9536, allocations: 84 kB / 0.9787 GB, free: 95.57 MB / 0.7325 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.001912/0.9555, allocations: 1.325 MB / 0.98 GB, free: 94.23 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000344/0.9559, allocations: 205.5 kB / 0.9802 GB, free: 94.03 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01344/0.9693, allocations: 8.43 MB / 0.9885 GB, free: 85.55 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.577e-05/0.9694, allocations: 16 kB / 0.9885 GB, free: 85.54 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.108e-05/0.9695, allocations: 28 kB / 0.9885 GB, free: 85.51 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.491e-05/0.9695, allocations: 9.984 kB / 0.9885 GB, free: 85.5 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01808/0.9876, allocations: 12.81 MB / 1.001 GB, free: 72.55 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.548e-05/0.9876, allocations: 8 kB / 1.001 GB, free: 72.55 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005853/0.9882, allocations: 163.7 kB / 1.001 GB, free: 72.39 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01098/0.9992, allocations: 4.491 MB / 1.006 GB, free: 67.88 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002528/0.9995, allocations: 43.95 kB / 1.006 GB, free: 67.84 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03206/1.032, allocations: 29.05 MB / 1.034 GB, free: 38 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.103e-06/1.032, allocations: 11.94 kB / 1.034 GB, free: 37.99 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01291/1.045, allocations: 8.214 MB / 1.042 GB, free: 29.65 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0012/1.046, allocations: 0.6156 MB / 1.043 GB, free: 29.01 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003101/1.046, allocations: 43.98 kB / 1.043 GB, free: 28.97 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001076/1.047, allocations: 135.8 kB / 1.043 GB, free: 28.84 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000573/1.048, allocations: 173 kB / 1.043 GB, free: 28.67 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001201/1.048, allocations: 48 kB / 1.043 GB, free: 28.62 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0009979/1.049, allocations: 0.9509 MB / 1.044 GB, free: 27.68 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.51e-07/1.049, allocations: 0 / 1.044 GB, free: 27.68 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.002823/1.052, allocations: 1.117 MB / 1.045 GB, free: 26.56 MB / 0.7325 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.0002566/1.052, allocations: 147.6 kB / 1.045 GB, free: 26.41 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.009874/1.062, allocations: 6.415 MB / 1.051 GB, free: 19.93 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 7.584e-06/1.062, allocations: 0 / 1.051 GB, free: 19.93 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.00714/1.069, allocations: 4.284 MB / 1.056 GB, free: 15.57 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002383/1.071, allocations: 493.6 kB / 1.056 GB, free: 15.1 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01036/1.082, allocations: 8.09 MB / 1.064 GB, free: 6.922 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003074/1.085, allocations: 2.727 MB / 1.067 GB, free: 4.16 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.00139/1.086, allocations: 388.6 kB / 1.067 GB, free: 3.777 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002403/1.087, allocations: 91.44 kB / 1.067 GB, free: 3.691 MB / 0.7325 GB Notification: Performance of SimCode: time 1.974e-06/1.087, allocations: 0 / 1.067 GB, free: 3.691 MB / 0.7325 GB Notification: Performance of Templates: time 0.0931/1.18, allocations: 55.59 MB / 1.121 GB, free: 12.38 MB / 0.795 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.sim & ./Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe 2>&1) Environment - environmentSimulation: