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.ACLine_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.ACLine_RL_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.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.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_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.346/1.346, 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.001024/0.001024, allocations: 171 kB / 327.6 MB, free: 2.082 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.57/1.57, 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.000783/0.0007828, allocations: 97.47 kB / 0.6832 GB, free: 12.73 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003431/0.0003431, allocations: 11.84 kB / 0.7976 GB, free: 134.7 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1911/0.1915, allocations: 106.3 MB / 0.9015 GB, free: 63.34 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N): time 0.01531/0.2068, allocations: 19.42 MB / 0.9204 GB, free: 43.84 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.008845/0.2157, allocations: 6.45 MB / 0.9267 GB, free: 37.37 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001916/0.2177, allocations: 71.56 kB / 0.9268 GB, free: 37.3 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.001035/0.2187, allocations: 404.8 kB / 0.9272 GB, free: 36.9 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.002653/0.2214, allocations: 1.112 MB / 0.9283 GB, free: 35.79 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.002502/0.2239, allocations: 1.074 MB / 0.9293 GB, free: 34.71 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.005362/0.2293, allocations: 6.975 MB / 0.9361 GB, free: 27.72 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008647/0.238, allocations: 7.257 MB / 0.9432 GB, free: 20.38 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002707/0.2407, allocations: 1.537 MB / 0.9447 GB, free: 18.84 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002907/0.2436, allocations: 2.02 MB / 0.9467 GB, free: 16.81 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 0.0004382/0.2441, allocations: 180 kB / 0.9469 GB, free: 16.63 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001866/0.246, allocations: 0.9163 MB / 0.9478 GB, free: 15.71 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.001081/0.2471, allocations: 1.344 MB / 0.9491 GB, free: 14.37 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.001463/0.2485, allocations: 1.576 MB / 0.9506 GB, free: 12.78 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.003668/0.2522, allocations: 5.396 MB / 0.9559 GB, free: 7.367 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.19e-06/0.2522, allocations: 0 / 0.9559 GB, free: 7.367 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.394e-06/0.2522, allocations: 0 / 0.9559 GB, free: 7.367 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 0.0001306/0.2524, allocations: 0 / 0.9559 GB, free: 7.367 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: 798 * Number of variables: 798 Notification: Performance of Generate backend data structure: time 0.004832/0.2572, allocations: 2.828 MB / 0.9586 GB, free: 4.477 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.467e-05/0.2573, allocations: 12.03 kB / 0.9587 GB, free: 4.465 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003144/0.2604, allocations: 0.6371 MB / 0.9593 GB, free: 3.824 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002965/0.2634, allocations: 1.936 MB / 0.9612 GB, free: 1.828 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000107/0.2635, allocations: 230.3 kB / 0.9614 GB, free: 1.602 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004663/0.264, allocations: 292.3 kB / 0.9617 GB, free: 1.316 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007474/0.2715, allocations: 4.894 MB / 0.9664 GB, free: 12.22 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.855e-05/0.2716, allocations: 7.938 kB / 0.9664 GB, free: 12.21 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003045/0.2719, allocations: 135.9 kB / 0.9666 GB, free: 12.08 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004146/0.2723, allocations: 225.7 kB / 0.9668 GB, free: 11.86 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006317/0.2787, allocations: 3.75 MB / 0.9705 GB, free: 8.098 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02079/0.2995, allocations: 21.62 MB / 0.9916 GB, free: 492 kB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001687/0.3012, allocations: 1.304 MB / 0.9928 GB, free: 15.16 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001311/0.3025, allocations: 1.042 MB / 0.9939 GB, free: 14.12 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 5.759e-05/0.3026, allocations: 13 kB / 0.9939 GB, free: 14.11 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.395e-05/0.3026, allocations: 43.56 kB / 0.9939 GB, free: 14.06 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=107): time 3.045e-06/0.3027, allocations: 0 / 0.9939 GB, free: 14.06 MB / 0.6511 GB Notification: Performance of matching and sorting (n=138): time 0.02373/0.3264, allocations: 8.715 MB / 1.002 GB, free: 5.285 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.018e-05/0.3265, allocations: 68.72 kB / 1.002 GB, free: 5.207 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001428/0.3279, allocations: 1.126 MB / 1.004 GB, free: 4.074 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.0001187/0.328, allocations: 45.7 kB / 1.004 GB, free: 4.023 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007392/0.3288, allocations: 1.308 MB / 1.005 GB, free: 2.699 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003431/0.3291, allocations: 469.2 kB / 1.005 GB, free: 2.234 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.718e-05/0.3292, allocations: 32 kB / 1.005 GB, free: 2.203 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001363/0.3294, allocations: 377.8 kB / 1.006 GB, free: 1.828 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001184/0.3306, allocations: 0.9135 MB / 1.007 GB, free: 0.9141 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001447/0.332, allocations: 1.326 MB / 1.008 GB, free: 15.42 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002852/0.3349, allocations: 2.422 MB / 1.01 GB, free: 12.83 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.103e-06/0.3349, allocations: 4 kB / 1.01 GB, free: 12.82 MB / 0.6667 GB Notification: Performance of matching and sorting (n=203) (initialization): time 0.005832/0.3407, allocations: 3.475 MB / 1.014 GB, free: 9.328 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 2.434e-05/0.3408, allocations: 8 kB / 1.014 GB, free: 9.32 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.705e-05/0.3408, allocations: 16 kB / 1.014 GB, free: 9.305 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003087/0.3439, allocations: 1.177 MB / 1.015 GB, free: 8.121 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009437/0.3449, allocations: 267.5 kB / 1.015 GB, free: 7.859 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01522/0.3601, allocations: 12.72 MB / 1.028 GB, free: 10.73 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001324/0.3615, allocations: 87.97 kB / 1.028 GB, free: 10.65 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001147/0.3616, allocations: 64 kB / 1.028 GB, free: 10.59 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 (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(5,17,92.0%), (5,17,92.0%), (5,25,88.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001795/0.3634, allocations: 1.121 MB / 1.029 GB, free: 9.457 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002451/0.3637, allocations: 162.1 kB / 1.029 GB, free: 9.297 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005251/0.3689, allocations: 3.181 MB / 1.032 GB, free: 6.094 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.236e-05/0.3689, allocations: 12 kB / 1.032 GB, free: 6.082 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.343e-05/0.369, allocations: 12 kB / 1.032 GB, free: 6.07 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.28e-05/0.369, allocations: 7.922 kB / 1.032 GB, free: 6.062 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009563/0.3785, allocations: 6.237 MB / 1.038 GB, free: 15.68 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.808e-06/0.3786, allocations: 4.562 kB / 1.038 GB, free: 15.68 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005937/0.3792, allocations: 159.8 kB / 1.038 GB, free: 15.52 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00284/0.3821, allocations: 1.066 MB / 1.039 GB, free: 14.45 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.567e-05/0.3822, allocations: 28 kB / 1.039 GB, free: 14.42 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01468/0.3968, allocations: 12.45 MB / 1.052 GB, free: 1.574 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.825e-06/0.3969, allocations: 15.94 kB / 1.052 GB, free: 1.559 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3529/0.7498, allocations: 3.148 MB / 1.055 GB, free: 136.9 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008402/0.7507, allocations: 429.8 kB / 1.055 GB, free: 136.8 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001711/0.7508, allocations: 32.39 kB / 1.055 GB, free: 136.8 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007485/0.7516, allocations: 81.06 kB / 1.055 GB, free: 136.8 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003763/0.752, allocations: 124.5 kB / 1.055 GB, free: 136.8 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.155e-05/0.7521, allocations: 43.27 kB / 1.055 GB, free: 136.8 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0009077/0.753, allocations: 0.7637 MB / 1.056 GB, free: 136.7 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.3e-07/0.753, allocations: 0 / 1.056 GB, free: 136.7 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001723/0.7547, allocations: 0.6602 MB / 1.057 GB, free: 136.7 MB / 0.698 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 (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(5,17,84.0%), (5,25,88.0%), (5,17,92.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002141/0.755, allocations: 143.8 kB / 1.057 GB, free: 136.6 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.004449/0.7594, allocations: 3.131 MB / 1.06 GB, free: 136.2 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 6.242e-06/0.7594, allocations: 5.688 kB / 1.06 GB, free: 136.2 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.002944/0.7624, allocations: 1.958 MB / 1.062 GB, free: 135.7 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002866/0.7653, allocations: 479 kB / 1.062 GB, free: 135.7 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01009/0.7754, allocations: 7.183 MB / 1.069 GB, free: 132.7 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002676/0.7781, allocations: 2.39 MB / 1.072 GB, free: 131.9 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004346/0.7785, allocations: 95.03 kB / 1.072 GB, free: 131.9 MB / 0.698 GB Notification: Performance of SimCode: time 1.693e-06/0.7786, allocations: 1.062 kB / 1.072 GB, free: 131.9 MB / 0.698 GB Notification: Performance of Templates: time 0.06831/0.8469, allocations: 79.07 MB / 1.149 GB, free: 67.4 MB / 0.698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.makefile (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe 2>&1)