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_N.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) 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) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.61/1.61, allocations: 252 MB / 267.6 MB, free: 10.95 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001318/0.001318, allocations: 188.3 kB / 327.3 MB, free: 2.195 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.841/1.841, allocations: 205.4 MB / 0.5783 GB, free: 20.23 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007239/0.0007237, allocations: 78.38 kB / 0.6829 GB, free: 12.86 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003362/0.000336, allocations: 12.19 kB / 0.797 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1721/0.1724, allocations: 106.3 MB / 0.9008 GB, free: 63.86 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N): time 0.01567/0.1882, allocations: 21.24 MB / 0.9216 GB, free: 42.56 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.008543/0.1968, allocations: 6.245 MB / 0.9277 GB, free: 36.29 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001909/0.1987, allocations: 79.5 kB / 0.9278 GB, free: 36.21 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.001114/0.1998, allocations: 456.5 kB / 0.9282 GB, free: 35.77 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.003323/0.2032, allocations: 1.54 MB / 0.9297 GB, free: 34.22 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.002641/0.2058, allocations: 0.9129 MB / 0.9306 GB, free: 33.31 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.006714/0.2126, allocations: 8.158 MB / 0.9386 GB, free: 25.13 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008982/0.2216, allocations: 7.084 MB / 0.9455 GB, free: 17.98 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003303/0.2249, allocations: 2.121 MB / 0.9475 GB, free: 15.86 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003855/0.2288, allocations: 3.123 MB / 0.9506 GB, free: 12.72 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 0.0006293/0.2294, allocations: 244 kB / 0.9508 GB, free: 12.48 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001785/0.2312, allocations: 0.5814 MB / 0.9514 GB, free: 11.9 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.001675/0.2329, allocations: 2.101 MB / 0.9535 GB, free: 9.797 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.00101/0.2339, allocations: 0.8394 MB / 0.9543 GB, free: 8.949 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.004957/0.2389, allocations: 7.002 MB / 0.9611 GB, free: 1.93 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 6.442e-06/0.2389, allocations: 0 / 0.9611 GB, free: 1.93 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.683e-06/0.2389, allocations: 4 kB / 0.9611 GB, free: 1.926 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 0.0002127/0.2392, allocations: 0 / 0.9611 GB, free: 1.926 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1053 * Number of variables: 1053 Notification: Performance of Generate backend data structure: time 0.00719/0.2464, allocations: 3.609 MB / 0.9646 GB, free: 14.25 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.471e-05/0.2464, allocations: 8.031 kB / 0.9646 GB, free: 14.24 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008577/0.255, allocations: 1.688 MB / 0.9663 GB, free: 12.55 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005179/0.2602, allocations: 2.509 MB / 0.9687 GB, free: 9.984 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001989/0.2604, allocations: 271.3 kB / 0.969 GB, free: 9.719 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007391/0.2612, allocations: 371.9 kB / 0.9694 GB, free: 9.355 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01258/0.2738, allocations: 7.447 MB / 0.9766 GB, free: 1.637 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.385e-05/0.2739, allocations: 19.88 kB / 0.9766 GB, free: 1.617 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004385/0.2743, allocations: 163.9 kB / 0.9768 GB, free: 1.457 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005641/0.2749, allocations: 483.3 kB / 0.9773 GB, free: 0.9844 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009688/0.2846, allocations: 5.677 MB / 0.9828 GB, free: 11.3 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03452/0.3192, allocations: 31.66 MB / 1.014 GB, free: 8.867 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002896/0.3221, allocations: 2.078 MB / 1.016 GB, free: 6.781 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002906/0.325, allocations: 2.163 MB / 1.018 GB, free: 4.613 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001241/0.3252, allocations: 25.27 kB / 1.018 GB, free: 4.59 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.702e-05/0.3252, allocations: 47.88 kB / 1.018 GB, free: 4.535 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=146): time 3.717e-06/0.3252, allocations: 4 kB / 1.018 GB, free: 4.531 MB / 0.6667 GB Notification: Performance of matching and sorting (n=251): time 0.6245/0.9497, allocations: 75.25 MB / 1.091 GB, free: 129.4 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.282e-05/0.9498, allocations: 78.03 kB / 1.092 GB, free: 129.3 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001926/0.9517, allocations: 1.657 MB / 1.093 GB, free: 128 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0004941/0.9522, allocations: 65.2 kB / 1.093 GB, free: 128 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007896/0.953, allocations: 1.74 MB / 1.095 GB, free: 126.5 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006985/0.9537, allocations: 0.8584 MB / 1.096 GB, free: 125.7 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002193/0.954, allocations: 48 kB / 1.096 GB, free: 125.6 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001096/0.9541, allocations: 415.2 kB / 1.096 GB, free: 125.2 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002957/0.957, allocations: 2.72 MB / 1.099 GB, free: 122.5 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00316/0.9602, allocations: 3.32 MB / 1.102 GB, free: 118.9 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00325/0.9635, allocations: 3.055 MB / 1.105 GB, free: 115.9 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.618e-06/0.9635, allocations: 8 kB / 1.105 GB, free: 115.9 MB / 0.698 GB Notification: Performance of matching and sorting (n=331) (initialization): time 0.02689/0.9904, allocations: 14.64 MB / 1.119 GB, free: 101.2 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.896e-05/0.9905, allocations: 16 kB / 1.119 GB, free: 101.2 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.115e-05/0.9905, allocations: 17.06 kB / 1.119 GB, free: 101.2 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02554/1.016, allocations: 9.235 MB / 1.128 GB, free: 91.89 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001092/1.017, allocations: 299.5 kB / 1.129 GB, free: 91.6 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05888/1.076, allocations: 47.06 MB / 1.175 GB, free: 43.72 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00276/1.079, allocations: 227.7 kB / 1.175 GB, free: 43.5 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000296/1.079, allocations: 100 kB / 1.175 GB, free: 43.4 MB / 0.698 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 {(19,68.1%) 19,(19,54.6%) 19,(12,50.0%) 18,(12,50.0%) 18,(12,52.8%) 10,(12,53.5%) 10} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002509/1.082, allocations: 1.582 MB / 1.177 GB, free: 41.8 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005157/1.082, allocations: 245.1 kB / 1.177 GB, free: 41.56 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0271/1.109, allocations: 14.72 MB / 1.191 GB, free: 26.79 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.324e-05/1.109, allocations: 24 kB / 1.191 GB, free: 26.76 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001234/1.11, allocations: 48 kB / 1.191 GB, free: 26.71 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.442e-05/1.11, allocations: 11.95 kB / 1.191 GB, free: 26.7 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03534/1.145, allocations: 20.48 MB / 1.211 GB, free: 6.078 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.763e-05/1.145, allocations: 8.562 kB / 1.211 GB, free: 6.07 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007005/1.146, allocations: 163.7 kB / 1.211 GB, free: 5.91 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02624/1.172, allocations: 8.994 MB / 1.22 GB, free: 12.89 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005196/1.173, allocations: 52 kB / 1.22 GB, free: 12.84 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.07231/1.245, allocations: 46.7 MB / 1.266 GB, free: 13.33 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.905e-06/1.245, allocations: 12 kB / 1.266 GB, free: 13.32 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03202/1.277, allocations: 14.33 MB / 1.28 GB, free: 14.85 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002241/1.279, allocations: 0.8416 MB / 1.281 GB, free: 13.99 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006057/1.28, allocations: 48 kB / 1.281 GB, free: 13.94 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002083/1.282, allocations: 207.7 kB / 1.281 GB, free: 13.74 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001126/1.283, allocations: 245.5 kB / 1.281 GB, free: 13.5 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002109/1.283, allocations: 67.98 kB / 1.281 GB, free: 13.43 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.001698/1.285, allocations: 1.11 MB / 1.282 GB, free: 12.3 MB / 0.7761 GB Notification: Performance of sort global known variables: time 1.41e-07/1.285, allocations: 4 kB / 1.282 GB, free: 12.29 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.005349/1.29, allocations: 1.594 MB / 1.284 GB, free: 10.7 MB / 0.7761 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 {(12,53.5%) 10,(12,50.0%) 18,(19,64.8%) 19,(12,53.5%) 10,(12,50.0%) 18,(19,54.0%) 19} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004782/1.291, allocations: 167.5 kB / 1.284 GB, free: 10.53 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.02185/1.313, allocations: 10.34 MB / 1.294 GB, free: 140 kB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.207e-05/1.313, allocations: 0 / 1.294 GB, free: 140 kB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.01709/1.33, allocations: 7.154 MB / 1.301 GB, free: 8.91 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003273/1.333, allocations: 0.5231 MB / 1.302 GB, free: 8.387 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01687/1.35, allocations: 10.81 MB / 1.312 GB, free: 13.5 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004097/1.354, allocations: 3.294 MB / 1.315 GB, free: 10.17 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004403/1.355, allocations: 111.4 kB / 1.315 GB, free: 10.06 MB / 0.8073 GB Notification: Performance of SimCode: time 8.71e-07/1.355, allocations: 4 kB / 1.315 GB, free: 10.05 MB / 0.8073 GB Notification: Performance of Templates: time 0.5588/1.913, allocations: 187.1 MB / 1.498 GB, free: 180.3 MB / 0.8542 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.makefile (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe 2>&1)