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_RLC_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_RLC_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_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_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.388/1.388, allocations: 252 MB / 268 MB, free: 10.86 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.001053/0.001053, allocations: 178.9 kB / 327.6 MB, free: 2.09 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.682/1.682, allocations: 205.4 MB / 0.5786 GB, free: 20.16 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.0007683/0.0007679, allocations: 104.5 kB / 0.6832 GB, free: 12.75 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003549/0.0003549, allocations: 14.3 kB / 0.7976 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2017/0.2021, allocations: 106.3 MB / 0.9015 GB, free: 63.46 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N): time 0.008197/0.2103, allocations: 9.602 MB / 0.9108 GB, free: 53.82 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.004328/0.2147, allocations: 3.183 MB / 0.9139 GB, free: 50.62 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007419/0.2154, allocations: 31.81 kB / 0.914 GB, free: 50.59 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0004913/0.2159, allocations: 190.6 kB / 0.9142 GB, free: 50.4 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.001368/0.2173, allocations: 0.6964 MB / 0.9148 GB, free: 49.7 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.001176/0.2185, allocations: 0.6396 MB / 0.9155 GB, free: 49.06 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.002818/0.2213, allocations: 4.466 MB / 0.9198 GB, free: 44.59 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0035/0.2249, allocations: 3.138 MB / 0.9229 GB, free: 41.39 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001389/0.2263, allocations: 0.9651 MB / 0.9238 GB, free: 40.43 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001784/0.2281, allocations: 1.449 MB / 0.9252 GB, free: 38.97 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 0.0003729/0.2284, allocations: 112 kB / 0.9254 GB, free: 38.86 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001014/0.2295, allocations: 463.2 kB / 0.9258 GB, free: 38.41 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0008747/0.2304, allocations: 0.9314 MB / 0.9267 GB, free: 37.48 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.001253/0.2316, allocations: 0.9618 MB / 0.9276 GB, free: 36.5 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.002198/0.2338, allocations: 3.012 MB / 0.9306 GB, free: 33.48 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.97e-06/0.2338, allocations: 0 / 0.9306 GB, free: 33.48 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.532e-06/0.2339, allocations: 0 / 0.9306 GB, free: 33.48 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 8.924e-05/0.2339, allocations: 0 / 0.9306 GB, free: 33.48 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: 439 * Number of variables: 439 Notification: Performance of Generate backend data structure: time 0.003167/0.2371, allocations: 1.768 MB / 0.9323 GB, free: 31.66 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.672e-05/0.2372, allocations: 8.031 kB / 0.9323 GB, free: 31.65 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008393/0.2456, allocations: 1.309 MB / 0.9336 GB, free: 30.34 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002096/0.2477, allocations: 1.255 MB / 0.9348 GB, free: 29.04 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.031e-05/0.2478, allocations: 111.4 kB / 0.9349 GB, free: 28.93 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004238/0.2482, allocations: 152.2 kB / 0.9351 GB, free: 28.79 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004645/0.2529, allocations: 3.437 MB / 0.9384 GB, free: 25.25 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.627e-05/0.2529, allocations: 7.938 kB / 0.9384 GB, free: 25.24 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002101/0.2531, allocations: 63.97 kB / 0.9385 GB, free: 25.18 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001981/0.2533, allocations: 203.1 kB / 0.9387 GB, free: 24.98 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00417/0.2575, allocations: 3.131 MB / 0.9418 GB, free: 21.84 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01343/0.2709, allocations: 13.58 MB / 0.955 GB, free: 7.383 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002001/0.273, allocations: 1.731 MB / 0.9567 GB, free: 5.648 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001549/0.2746, allocations: 1.433 MB / 0.9581 GB, free: 4.203 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 7.479e-05/0.2746, allocations: 12.94 kB / 0.9581 GB, free: 4.191 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.887e-05/0.2747, allocations: 43.56 kB / 0.9582 GB, free: 4.141 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=104): time 2.785e-06/0.2747, allocations: 0 / 0.9582 GB, free: 4.141 MB / 0.6042 GB Notification: Performance of matching and sorting (n=183): time 0.1494/0.4241, allocations: 35.96 MB / 0.9933 GB, free: 40 kB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.786e-05/0.4242, allocations: 77.39 kB / 0.9934 GB, free: 15.95 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001478/0.4257, allocations: 1.05 MB / 0.9944 GB, free: 14.88 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.0002892/0.426, allocations: 53.7 kB / 0.9944 GB, free: 14.82 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.00053/0.4266, allocations: 0.7951 MB / 0.9952 GB, free: 14.01 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006708/0.4273, allocations: 0.6083 MB / 0.9958 GB, free: 13.39 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002134/0.4275, allocations: 40 kB / 0.9958 GB, free: 13.35 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001751/0.4277, allocations: 389.9 kB / 0.9962 GB, free: 12.96 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002778/0.4304, allocations: 1.928 MB / 0.9981 GB, free: 11.04 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002997/0.4335, allocations: 2.285 MB / 1 GB, free: 8.625 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005979/0.4394, allocations: 4.39 MB / 1.005 GB, free: 4.113 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.167e-05/0.4395, allocations: 4 kB / 1.005 GB, free: 4.109 MB / 0.6511 GB Notification: Performance of matching and sorting (n=241) (initialization): time 0.02155/0.461, allocations: 9.021 MB / 1.013 GB, free: 11.06 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 3.399e-05/0.4611, allocations: 15.94 kB / 1.013 GB, free: 11.04 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.236e-05/0.4611, allocations: 8 kB / 1.013 GB, free: 11.04 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01773/0.4789, allocations: 4.977 MB / 1.018 GB, free: 6.043 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008927/0.4798, allocations: 191.6 kB / 1.018 GB, free: 5.855 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05479/0.5346, allocations: 35.12 MB / 1.053 GB, free: 2.184 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002042/0.5367, allocations: 99.89 kB / 1.053 GB, free: 2.086 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003472/0.5371, allocations: 71.98 kB / 1.053 GB, free: 2.016 MB / 0.698 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.001623/0.5387, allocations: 0.8057 MB / 1.054 GB, free: 1.199 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003794/0.5391, allocations: 138.3 kB / 1.054 GB, free: 1.062 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.3508/0.8899, allocations: 8.883 MB / 1.063 GB, free: 140.3 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.749e-05/0.89, allocations: 21.64 kB / 1.063 GB, free: 140.3 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.191e-05/0.89, allocations: 30.34 kB / 1.063 GB, free: 140.3 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.449e-05/0.8901, allocations: 8.719 kB / 1.063 GB, free: 140.3 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02677/0.9168, allocations: 13.27 MB / 1.076 GB, free: 139.4 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.606e-05/0.9169, allocations: 3.281 kB / 1.076 GB, free: 139.4 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004602/0.9173, allocations: 118.6 kB / 1.076 GB, free: 139.4 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01582/0.9332, allocations: 4.753 MB / 1.08 GB, free: 138.9 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003207/0.9335, allocations: 35.34 kB / 1.08 GB, free: 138.9 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04103/0.9746, allocations: 31.44 MB / 1.111 GB, free: 113.5 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.989e-06/0.9746, allocations: 4 kB / 1.111 GB, free: 113.5 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01666/0.9913, allocations: 8.408 MB / 1.119 GB, free: 105 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001062/0.9924, allocations: 0.6124 MB / 1.12 GB, free: 104.3 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002324/0.9926, allocations: 39.94 kB / 1.12 GB, free: 104.3 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001247/0.9939, allocations: 89.84 kB / 1.12 GB, free: 104.2 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007371/0.9946, allocations: 167.2 kB / 1.12 GB, free: 104 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001412/0.9948, allocations: 52 kB / 1.12 GB, free: 104 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0007581/0.9955, allocations: 0.7343 MB / 1.121 GB, free: 103.2 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.71e-07/0.9955, allocations: 0 / 1.121 GB, free: 103.2 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.002386/0.9979, allocations: 0.9961 MB / 1.122 GB, free: 102.2 MB / 0.698 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.0002581/0.9982, allocations: 146 kB / 1.122 GB, free: 102.1 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.007988/1.006, allocations: 5.846 MB / 1.128 GB, free: 96.21 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 7.575e-06/1.006, allocations: 4.062 kB / 1.128 GB, free: 96.21 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.006649/1.013, allocations: 3.809 MB / 1.131 GB, free: 92.36 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001786/1.015, allocations: 223.5 kB / 1.132 GB, free: 92.15 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006385/1.021, allocations: 6.088 MB / 1.138 GB, free: 86.02 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001253/1.022, allocations: 1.89 MB / 1.139 GB, free: 84.09 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002752/1.023, allocations: 79.42 kB / 1.14 GB, free: 84.01 MB / 0.698 GB Notification: Performance of SimCode: time 7.22e-07/1.023, allocations: 3.938 kB / 1.14 GB, free: 84.01 MB / 0.698 GB Notification: Performance of Templates: time 0.05195/1.075, allocations: 68.72 MB / 1.207 GB, free: 15.27 MB / 0.698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.makefile (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe 2>&1)