Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.731/1.731, allocations: 288.3 MB / 303.2 MB, free: 8.258 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001621/0.001621, allocations: 177.1 kB / 371.8 MB, free: 10.28 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.83/1.83, allocations: 205.4 MB / 0.6306 GB, free: 10 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009347/0.0009345, allocations: 86.92 kB / 0.7439 GB, free: 5.934 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004317/0.0004319, allocations: 15.92 kB / 0.8668 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2381/0.2386, allocations: 115.3 MB / 0.9794 GB, free: 27.7 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N): time 0.01401/0.2527, allocations: 17.63 MB / 0.9966 GB, free: 10.02 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.008902/0.2616, allocations: 6.222 MB / 1.003 GB, free: 3.781 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001951/0.2636, allocations: 67.56 kB / 1.003 GB, free: 3.715 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.001097/0.2647, allocations: 397.5 kB / 1.003 GB, free: 3.324 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.003739/0.2685, allocations: 0.8684 MB / 1.004 GB, free: 2.453 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.003384/0.2719, allocations: 0.7745 MB / 1.005 GB, free: 1.68 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.004743/0.2766, allocations: 2.315 MB / 1.007 GB, free: 15.36 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.011/0.2877, allocations: 6.391 MB / 1.013 GB, free: 8.91 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002708/0.2904, allocations: 1.312 MB / 1.015 GB, free: 7.594 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002908/0.2933, allocations: 1.366 MB / 1.016 GB, free: 6.223 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.0008635/0.2942, allocations: 180 kB / 1.016 GB, free: 6.047 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001908/0.2961, allocations: 407.5 kB / 1.016 GB, free: 5.648 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.001982/0.2981, allocations: 1.236 MB / 1.018 GB, free: 4.41 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.001156/0.2993, allocations: 0.6408 MB / 1.018 GB, free: 3.762 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.005833/0.3051, allocations: 5.298 MB / 1.023 GB, free: 14.45 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.3051, allocations: 4 kB / 1.023 GB, free: 14.45 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.993e-06/0.3052, allocations: 0 / 1.023 GB, free: 14.45 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 0.0001772/0.3053, allocations: 0 / 1.023 GB, free: 14.45 MB / 0.6511 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 798 * Number of variables: 798 Notification: Performance of Generate backend data structure: time 0.006209/0.3116, allocations: 2.832 MB / 1.026 GB, free: 11.55 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 3.84e-05/0.3116, allocations: 12.02 kB / 1.026 GB, free: 11.54 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003189/0.3148, allocations: 0.6246 MB / 1.027 GB, free: 10.91 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004383/0.3192, allocations: 1.896 MB / 1.029 GB, free: 8.953 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001664/0.3194, allocations: 225.9 kB / 1.029 GB, free: 8.73 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005399/0.3199, allocations: 292 kB / 1.029 GB, free: 8.445 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009416/0.3294, allocations: 4.835 MB / 1.034 GB, free: 3.41 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.246e-05/0.3295, allocations: 15.8 kB / 1.034 GB, free: 3.395 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003396/0.3298, allocations: 132 kB / 1.034 GB, free: 3.266 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000458/0.3303, allocations: 229.7 kB / 1.034 GB, free: 3.039 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007694/0.338, allocations: 3.723 MB / 1.038 GB, free: 15.3 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0276/0.3656, allocations: 21.62 MB / 1.059 GB, free: 7.691 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001792/0.3675, allocations: 1.296 MB / 1.06 GB, free: 6.383 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 5.599e-05/0.3675, allocations: 16.95 kB / 1.06 GB, free: 6.367 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.246e-05/0.3676, allocations: 47.55 kB / 1.06 GB, free: 6.312 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=107): time 2.284e-06/0.3676, allocations: 3.938 kB / 1.06 GB, free: 6.309 MB / 0.6823 GB Notification: Performance of matching and sorting (n=138): time 0.5102/0.8778, allocations: 8.652 MB / 1.069 GB, free: 83.06 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.223e-05/0.8778, allocations: 66.52 kB / 1.069 GB, free: 83 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001727/0.8796, allocations: 1.126 MB / 1.07 GB, free: 82.55 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001792/0.8798, allocations: 47.08 kB / 1.07 GB, free: 82.5 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009253/0.8807, allocations: 1.293 MB / 1.071 GB, free: 81.52 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003899/0.8811, allocations: 484 kB / 1.072 GB, free: 81.15 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.493e-05/0.8812, allocations: 30.53 kB / 1.072 GB, free: 81.13 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001401/0.8813, allocations: 373.9 kB / 1.072 GB, free: 80.8 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001403/0.8828, allocations: 0.9062 MB / 1.073 GB, free: 80.46 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001754/0.8845, allocations: 1.311 MB / 1.074 GB, free: 79.63 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001705/0.8862, allocations: 1.136 MB / 1.075 GB, free: 79.16 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.099e-05/0.8863, allocations: 3.594 kB / 1.075 GB, free: 79.16 MB / 0.6823 GB Notification: Performance of matching and sorting (n=203) (initialization): time 0.00679/0.8931, allocations: 3.443 MB / 1.079 GB, free: 77.8 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 3.545e-05/0.8931, allocations: 15.91 kB / 1.079 GB, free: 77.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.731e-05/0.8931, allocations: 13.06 kB / 1.079 GB, free: 77.8 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003467/0.8966, allocations: 1.193 MB / 1.08 GB, free: 77.5 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001132/0.8978, allocations: 256.8 kB / 1.08 GB, free: 77.47 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01709/0.9149, allocations: 13.18 MB / 1.093 GB, free: 69.51 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001686/0.9166, allocations: 90 kB / 1.093 GB, free: 69.49 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001905/0.9168, allocations: 66.39 kB / 1.093 GB, free: 69.47 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 55 * 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 (132): * Single equations (assignments): 129 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(5,92.0%) 17,(5,92.0%) 17,(5,88.0%) 25} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002598/0.9194, allocations: 1.12 MB / 1.094 GB, free: 68.95 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003914/0.9198, allocations: 157.9 kB / 1.094 GB, free: 68.87 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006151/0.926, allocations: 3.153 MB / 1.098 GB, free: 67.6 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.859e-05/0.926, allocations: 13.98 kB / 1.098 GB, free: 67.6 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.912e-05/0.9261, allocations: 12.69 kB / 1.098 GB, free: 67.6 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.443e-05/0.9261, allocations: 10.91 kB / 1.098 GB, free: 67.6 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01063/0.9367, allocations: 6.243 MB / 1.104 GB, free: 65.01 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.477e-06/0.9368, allocations: 3.938 kB / 1.104 GB, free: 65.01 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005384/0.9373, allocations: 148.2 kB / 1.104 GB, free: 65 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002726/0.9401, allocations: 1.068 MB / 1.105 GB, free: 64.62 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001059/0.9402, allocations: 25.69 kB / 1.105 GB, free: 64.6 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01511/0.9553, allocations: 12.92 MB / 1.118 GB, free: 55.23 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.776e-06/0.9553, allocations: 8.391 kB / 1.118 GB, free: 55.22 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00537/0.9607, allocations: 3.388 MB / 1.121 GB, free: 52.95 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001052/0.9618, allocations: 429.7 kB / 1.121 GB, free: 52.64 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001971/0.962, allocations: 33.89 kB / 1.121 GB, free: 52.61 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007821/0.9628, allocations: 75.72 kB / 1.121 GB, free: 52.57 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000393/0.9632, allocations: 127.7 kB / 1.121 GB, free: 52.5 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.83e-05/0.9633, allocations: 42.56 kB / 1.121 GB, free: 52.49 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001166/0.9645, allocations: 0.7523 MB / 1.122 GB, free: 52.07 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.71e-07/0.9645, allocations: 0 / 1.122 GB, free: 52.07 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.002788/0.9673, allocations: 0.6619 MB / 1.123 GB, free: 52 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * 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 (70): * Single equations (assignments): 67 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(5,84.0%) 17,(5,88.0%) 25,(5,92.0%) 17} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002478/0.9675, allocations: 138.3 kB / 1.123 GB, free: 51.89 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.00478/0.9723, allocations: 3.123 MB / 1.126 GB, free: 50.06 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 6.853e-06/0.9723, allocations: 0 / 1.126 GB, free: 50.06 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.002568/0.9749, allocations: 1.967 MB / 1.128 GB, free: 48.8 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002176/0.9771, allocations: 453.4 kB / 1.128 GB, free: 48.6 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00966/0.9868, allocations: 6.457 MB / 1.135 GB, free: 43.34 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001874/0.9887, allocations: 2.383 MB / 1.137 GB, free: 40.92 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.001103/0.9898, allocations: 358.9 kB / 1.137 GB, free: 40.57 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001918/0.99, allocations: 87.44 kB / 1.137 GB, free: 40.48 MB / 0.6823 GB Notification: Performance of SimCode: time 1.262e-06/0.99, allocations: 4 kB / 1.137 GB, free: 40.48 MB / 0.6823 GB Notification: Performance of Templates: time 0.04336/1.033, allocations: 30.16 MB / 1.167 GB, free: 10.74 MB / 0.6823 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.makefile (rm -f Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.sim & ./Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe 2>&1)