Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_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.ACLineMatrix_RLC_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001248/0.001248, allocations: 104.7 kB / 15.98 MB, free: 6.336 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.00129/0.001291, allocations: 193.1 kB / 16.91 MB, free: 6.188 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.4/1.4, allocations: 205.1 MB / 222.8 MB, free: 4.68 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.3 MB / 0.5492 GB, free: 13.59 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.001594/0.001594, allocations: 69.33 kB / 0.6717 GB, free: 26.35 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2372/0.2388, allocations: 114.5 MB / 0.7835 GB, free: 13.86 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N): time 0.01325/0.2521, allocations: 10.05 MB / 0.7933 GB, free: 3.758 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.00564/0.2578, allocations: 3.186 MB / 0.7965 GB, free: 0.5586 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009083/0.2587, allocations: 35.81 kB / 0.7965 GB, free: 0.5234 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001595/0.2603, allocations: 0.5515 MB / 0.797 GB, free: 15.97 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.001586/0.262, allocations: 0.6926 MB / 0.7977 GB, free: 15.28 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.001623/0.2636, allocations: 0.6747 MB / 0.7984 GB, free: 14.6 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.003545/0.2672, allocations: 3.012 MB / 0.8013 GB, free: 11.58 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004198/0.2714, allocations: 3.07 MB / 0.8043 GB, free: 8.473 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002122/0.2735, allocations: 1.266 MB / 0.8055 GB, free: 7.203 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0025/0.2761, allocations: 1.652 MB / 0.8072 GB, free: 5.547 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0004096/0.2765, allocations: 236 kB / 0.8074 GB, free: 5.316 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001136/0.2776, allocations: 0.4994 MB / 0.8079 GB, free: 4.816 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.001053/0.2787, allocations: 1.088 MB / 0.8089 GB, free: 3.727 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.001303/0.28, allocations: 1.105 MB / 0.81 GB, free: 2.617 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.002925/0.2829, allocations: 3.102 MB / 0.813 GB, free: 15.51 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 8.476e-06/0.283, allocations: 4 kB / 0.813 GB, free: 15.5 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.603e-06/0.283, allocations: 0 / 0.813 GB, free: 15.5 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 6.385e-05/0.283, allocations: 0 / 0.813 GB, free: 15.5 MB / 0.6387 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 439 * Number of variables: 439 Notification: Performance of Generate backend data structure: time 0.00457/0.2876, allocations: 2.138 MB / 0.8151 GB, free: 13.31 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.774e-05/0.2877, allocations: 8.031 kB / 0.8151 GB, free: 13.3 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008459/0.2961, allocations: 1.313 MB / 0.8164 GB, free: 11.98 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002722/0.2989, allocations: 1.251 MB / 0.8176 GB, free: 10.69 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.366e-05/0.299, allocations: 127.3 kB / 0.8178 GB, free: 10.56 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004413/0.2995, allocations: 144.3 kB / 0.8179 GB, free: 10.42 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005511/0.305, allocations: 3.441 MB / 0.8213 GB, free: 6.883 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.02e-05/0.3051, allocations: 0 / 0.8213 GB, free: 6.883 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002103/0.3053, allocations: 63.97 kB / 0.8213 GB, free: 6.82 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002437/0.3055, allocations: 203.1 kB / 0.8215 GB, free: 6.621 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004913/0.3105, allocations: 3.139 MB / 0.8246 GB, free: 3.477 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0177/0.3282, allocations: 13.61 MB / 0.8379 GB, free: 4.984 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002528/0.3308, allocations: 1.728 MB / 0.8396 GB, free: 3.246 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001936/0.3327, allocations: 1.437 MB / 0.841 GB, free: 1.805 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001005/0.3328, allocations: 9 kB / 0.841 GB, free: 1.793 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.173e-05/0.3329, allocations: 51.55 kB / 0.841 GB, free: 1.734 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=104): time 2.865e-06/0.3329, allocations: 4 kB / 0.841 GB, free: 1.73 MB / 0.6544 GB Notification: Performance of matching and sorting (n=183): time 0.1364/0.4693, allocations: 36.67 MB / 0.8768 GB, free: 12.91 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.849e-05/0.4694, allocations: 69.41 kB / 0.8769 GB, free: 12.84 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001576/0.471, allocations: 1.061 MB / 0.8779 GB, free: 11.75 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 0.0004769/0.4715, allocations: 53.7 kB / 0.878 GB, free: 11.69 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006021/0.4721, allocations: 0.7835 MB / 0.8788 GB, free: 10.89 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007807/0.4729, allocations: 0.6199 MB / 0.8794 GB, free: 10.27 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007627/0.4736, allocations: 367.3 kB / 0.8797 GB, free: 9.898 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001081/0.4738, allocations: 301.1 kB / 0.88 GB, free: 9.602 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002907/0.4767, allocations: 1.932 MB / 0.8819 GB, free: 7.668 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003148/0.4798, allocations: 2.289 MB / 0.8841 GB, free: 5.258 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006466/0.4863, allocations: 4.387 MB / 0.8884 GB, free: 0.7461 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.667e-05/0.4864, allocations: 8 kB / 0.8884 GB, free: 0.7383 MB / 0.7012 GB Notification: Performance of matching and sorting (n=241) (initialization): time 0.02099/0.5074, allocations: 9.023 MB / 0.8972 GB, free: 7.688 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 3.662e-05/0.5075, allocations: 15.94 kB / 0.8972 GB, free: 7.672 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.101e-05/0.5075, allocations: 8 kB / 0.8972 GB, free: 7.664 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01727/0.5248, allocations: 4.999 MB / 0.9021 GB, free: 2.648 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000965/0.5258, allocations: 199.6 kB / 0.9023 GB, free: 2.453 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.455/0.9808, allocations: 38.92 MB / 0.9403 GB, free: 118.4 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002043/0.9829, allocations: 105.2 kB / 0.9404 GB, free: 118.4 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003378/0.9833, allocations: 71.28 kB / 0.9405 GB, free: 118.4 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * 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 (105): * Single equations (assignments): 101 * 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 {(8,16,100.0%), (8,16,100.0%), (8,38,100.0%), (8,38,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001804/0.9851, allocations: 0.799 MB / 0.9413 GB, free: 118 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005046/0.9856, allocations: 140.6 kB / 0.9414 GB, free: 118 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0193/1.005, allocations: 8.9 MB / 0.9501 GB, free: 115.3 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.75e-05/1.005, allocations: 17.53 kB / 0.9501 GB, free: 115.3 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001019/1.005, allocations: 29.22 kB / 0.9501 GB, free: 115.3 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.472e-05/1.005, allocations: 14.47 kB / 0.9502 GB, free: 115.3 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02534/1.03, allocations: 13.3 MB / 0.9631 GB, free: 110.1 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.055e-05/1.031, allocations: 11.75 kB / 0.9632 GB, free: 110.1 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004843/1.031, allocations: 121 kB / 0.9633 GB, free: 110.1 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01494/1.046, allocations: 4.785 MB / 0.9679 GB, free: 107.6 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004042/1.046, allocations: 33.78 kB / 0.968 GB, free: 107.6 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04208/1.089, allocations: 34.87 MB / 1.002 GB, free: 74.73 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.509e-06/1.089, allocations: 4 kB / 1.002 GB, free: 74.73 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01609/1.105, allocations: 8.397 MB / 1.01 GB, free: 66.25 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001185/1.106, allocations: 0.6202 MB / 1.011 GB, free: 65.61 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003252/1.106, allocations: 38.52 kB / 1.011 GB, free: 65.57 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001147/1.107, allocations: 91.89 kB / 1.011 GB, free: 65.48 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007923/1.108, allocations: 157.7 kB / 1.011 GB, free: 65.33 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001405/1.108, allocations: 45.88 kB / 1.011 GB, free: 65.29 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0007919/1.109, allocations: 0.7421 MB / 1.012 GB, free: 64.54 MB / 0.7325 GB Notification: Performance of sort global known variables: time 2.41e-07/1.109, allocations: 0 / 1.012 GB, free: 64.54 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.002942/1.112, allocations: 1.004 MB / 1.013 GB, free: 63.53 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * 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 (66): * Single equations (assignments): 62 * 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 {(8,16,100.0%), (8,38,100.0%), (8,8,100.0%), (14,24,80.1%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003536/1.112, allocations: 144.4 kB / 1.013 GB, free: 63.38 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.009143/1.122, allocations: 6.701 MB / 1.02 GB, free: 56.65 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.046e-05/1.122, allocations: 7.938 kB / 1.02 GB, free: 56.64 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.006631/1.128, allocations: 3.838 MB / 1.023 GB, free: 52.77 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001608/1.13, allocations: 238.9 kB / 1.024 GB, free: 52.55 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007431/1.137, allocations: 6.081 MB / 1.029 GB, free: 46.43 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00136/1.139, allocations: 1.886 MB / 1.031 GB, free: 44.51 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003393/1.139, allocations: 79.42 kB / 1.031 GB, free: 44.43 MB / 0.7325 GB Notification: Performance of SimCode: time 1.002e-06/1.139, allocations: 0 / 1.031 GB, free: 44.43 MB / 0.7325 GB Notification: Performance of Templates: time 0.06575/1.205, allocations: 69.02 MB / 1.099 GB, free: 7.402 MB / 0.7637 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.makefile (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.sim & ./Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe 2>&1)