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_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 7.0.3-maint.7.0.x/package.mo", uses=false) 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) 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.ACLine_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008009/0.008009, allocations: 101.8 kB / 15.73 MB, free: 6.043 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.001661/0.001661, allocations: 184.9 kB / 16.67 MB, free: 5.977 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.699/1.699, allocations: 205.1 MB / 222.5 MB, free: 4.531 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.834/1.834, allocations: 251.7 MB / 0.5094 GB, free: 3.074 MB / 414.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.002299/0.002299, allocations: 67.91 kB / 0.7258 GB, free: 9.133 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3097/0.312, allocations: 104.7 MB / 0.8281 GB, free: 324 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N): time 0.0421/0.3542, allocations: 33.16 MB / 0.8604 GB, free: 15.04 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.03291/0.3872, allocations: 14.9 MB / 0.875 GB, free: 92 kB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006577/0.3938, allocations: 159.2 kB / 0.8751 GB, free: 15.93 MB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 0.013/0.4069, allocations: 3.658 MB / 0.8787 GB, free: 12.27 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 0.01457/0.4215, allocations: 2.983 MB / 0.8816 GB, free: 9.27 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.01059/0.4321, allocations: 2.323 MB / 0.8839 GB, free: 6.945 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.01899/0.4512, allocations: 8.768 MB / 0.8925 GB, free: 14.15 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01762/0.4689, allocations: 9.581 MB / 0.9018 GB, free: 4.445 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01053/0.4795, allocations: 3.996 MB / 0.9057 GB, free: 448 kB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.7162/1.196, allocations: 4.023 MB / 0.9097 GB, free: 23.32 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.005601/1.201, allocations: 0.7165 MB / 0.9104 GB, free: 23.32 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01041/1.212, allocations: 1.717 MB / 0.912 GB, free: 23.32 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.01208/1.224, allocations: 2.819 MB / 0.9148 GB, free: 23.28 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.02222/1.246, allocations: 3.382 MB / 0.9181 GB, free: 22.45 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.03373/1.28, allocations: 11.18 MB / 0.929 GB, free: 21.46 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 1.119e-05/1.28, allocations: 0 / 0.929 GB, free: 21.46 MB / 0.7169 GB Notification: Performance of FrontEnd: time 3.096e-06/1.28, allocations: 1.031 kB / 0.929 GB, free: 21.46 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 0.0007762/1.281, allocations: 0 / 0.929 GB, free: 21.46 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1338 * Number of variables: 1338 Notification: Performance of Generate backend data structure: time 0.03583/1.317, allocations: 5.992 MB / 0.9349 GB, free: 19.24 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 6.535e-05/1.317, allocations: 8.812 kB / 0.9349 GB, free: 19.24 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01218/1.329, allocations: 1.135 MB / 0.936 GB, free: 18.95 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01566/1.345, allocations: 3.52 MB / 0.9394 GB, free: 18.18 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001001/1.346, allocations: 376.6 kB / 0.9398 GB, free: 18.17 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004864/1.351, allocations: 495.6 kB / 0.9402 GB, free: 18.17 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04607/1.397, allocations: 8.008 MB / 0.9481 GB, free: 15.53 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0009579/1.398, allocations: 27.52 kB / 0.9481 GB, free: 15.52 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005259/1.403, allocations: 215 kB / 0.9483 GB, free: 15.37 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00173/1.405, allocations: 443.5 kB / 0.9487 GB, free: 15.24 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0206/1.426, allocations: 6.08 MB / 0.9546 GB, free: 12.18 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0704/1.496, allocations: 34.86 MB / 0.9887 GB, free: 12.82 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004149/1.5, allocations: 2.034 MB / 0.9907 GB, free: 11.75 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00366/1.504, allocations: 1.868 MB / 0.9925 GB, free: 10.77 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002169/1.504, allocations: 25.64 kB / 0.9925 GB, free: 10.77 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.609e-05/1.504, allocations: 61.23 kB / 0.9926 GB, free: 10.71 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=171): time 3.326e-06/1.504, allocations: 0 / 0.9926 GB, free: 10.71 MB / 0.7481 GB Notification: Performance of matching and sorting (n=276): time 0.1508/1.655, allocations: 38.89 MB / 1.031 GB, free: 5.746 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001126/1.655, allocations: 85.58 kB / 1.031 GB, free: 5.648 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006796/1.662, allocations: 2.278 MB / 1.033 GB, free: 3.352 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 0.001036/1.663, allocations: 77.7 kB / 1.033 GB, free: 3.27 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.002474/1.666, allocations: 2.278 MB / 1.035 GB, free: 0.9727 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 0.002181/1.668, allocations: 0.9288 MB / 1.036 GB, free: 52 kB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002772/1.671, allocations: 0.5082 MB / 1.037 GB, free: 15.54 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001485/1.671, allocations: 305.1 kB / 1.037 GB, free: 15.24 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003822/1.675, allocations: 1.97 MB / 1.039 GB, free: 13.27 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004381/1.679, allocations: 2.606 MB / 1.041 GB, free: 10.42 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009134/1.688, allocations: 4.934 MB / 1.046 GB, free: 5.285 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.206e-05/1.689, allocations: 7.938 kB / 1.046 GB, free: 5.277 MB / 0.795 GB Notification: Performance of matching and sorting (n=376) (initialization): time 0.01862/1.707, allocations: 7.752 MB / 1.054 GB, free: 13.66 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 5.555e-05/1.707, allocations: 12 kB / 1.054 GB, free: 13.65 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.911e-05/1.707, allocations: 22.58 kB / 1.054 GB, free: 13.63 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01089/1.718, allocations: 3.224 MB / 1.057 GB, free: 10.4 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002457/1.721, allocations: 393.5 kB / 1.057 GB, free: 10.04 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05556/1.776, allocations: 33.87 MB / 1.09 GB, free: 7.418 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005051/1.781, allocations: 162.1 kB / 1.091 GB, free: 7.262 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009809/1.783, allocations: 108 kB / 1.091 GB, free: 7.156 MB / 0.8419 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 (202): * Single equations (assignments): 196 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(10,28,71.0%), (10,28,65.0%), (6,24,77.8%), (6,24,77.8%), (5,17,84.0%), (5,17,84.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.005511/1.788, allocations: 1.802 MB / 1.092 GB, free: 5.367 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001351/1.789, allocations: 326.5 kB / 1.093 GB, free: 5.047 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01528/1.805, allocations: 7.37 MB / 1.1 GB, free: 13.7 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.861e-05/1.805, allocations: 24 kB / 1.1 GB, free: 13.68 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001226/1.805, allocations: 36 kB / 1.1 GB, free: 13.64 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.4e-05/1.805, allocations: 11.95 kB / 1.1 GB, free: 13.63 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02984/1.835, allocations: 12.93 MB / 1.113 GB, free: 0.7227 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.779e-05/1.835, allocations: 4 kB / 1.113 GB, free: 0.7188 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001049/1.836, allocations: 228.6 kB / 1.113 GB, free: 0.5078 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008715/1.845, allocations: 2.859 MB / 1.116 GB, free: 13.63 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006242/1.845, allocations: 52 kB / 1.116 GB, free: 13.58 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04495/1.89, allocations: 32.67 MB / 1.148 GB, free: 12.14 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.077e-06/1.89, allocations: 11.56 kB / 1.148 GB, free: 12.13 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01408/1.905, allocations: 6.876 MB / 1.154 GB, free: 5.148 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002841/1.907, allocations: 0.7782 MB / 1.155 GB, free: 4.348 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001497/1.909, allocations: 55.98 kB / 1.155 GB, free: 4.293 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002855/1.912, allocations: 170.5 kB / 1.155 GB, free: 4.129 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001143/1.913, allocations: 254.7 kB / 1.155 GB, free: 3.887 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003752/1.913, allocations: 72.38 kB / 1.156 GB, free: 3.816 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.003354/1.917, allocations: 1.529 MB / 1.157 GB, free: 2.285 MB / 0.9044 GB Notification: Performance of sort global known variables: time 3.21e-07/1.917, allocations: 0 / 1.157 GB, free: 2.285 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.006444/1.923, allocations: 1.352 MB / 1.158 GB, free: 0.9336 MB / 0.9044 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 (105): * Single equations (assignments): 99 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(5,17,84.0%), (6,24,77.8%), (10,28,65.0%), (5,17,92.0%), (6,24,77.8%), (10,28,65.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0005753/1.924, allocations: 178.5 kB / 1.159 GB, free: 0.7656 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.01211/1.936, allocations: 6.934 MB / 1.165 GB, free: 9.812 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 1.441e-05/1.936, allocations: 0 / 1.165 GB, free: 9.812 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.008019/1.944, allocations: 4.397 MB / 1.17 GB, free: 5.367 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007047/1.951, allocations: 1.126 MB / 1.171 GB, free: 4.305 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02391/1.975, allocations: 10.07 MB / 1.181 GB, free: 10.18 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004459/1.98, allocations: 3.647 MB / 1.184 GB, free: 6.504 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.002308/1.982, allocations: 0.5634 MB / 1.185 GB, free: 5.938 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003688/1.982, allocations: 155.4 kB / 1.185 GB, free: 5.785 MB / 0.9356 GB Notification: Performance of SimCode: time 1.603e-06/1.982, allocations: 0 / 1.185 GB, free: 5.785 MB / 0.9356 GB Notification: Performance of Templates: time 0.1337/2.116, allocations: 76.05 MB / 1.259 GB, free: 10.98 MB / 1.014 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.makefile (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe 2>&1)