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_R_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_R_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.377/1.377, allocations: 252 MB / 268 MB, free: 10.87 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.0009417/0.0009417, allocations: 175 kB / 327.6 MB, free: 2.094 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.523/1.523, allocations: 205.4 MB / 0.5786 GB, free: 20.42 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.0007731/0.0007731, allocations: 88.25 kB / 0.6832 GB, free: 13.21 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0002932/0.0002932, allocations: 10.03 kB / 0.7976 GB, free: 134.9 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1767/0.177, allocations: 106.3 MB / 0.9015 GB, free: 63.8 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N): time 0.02737/0.2044, allocations: 36.59 MB / 0.9372 GB, free: 27.09 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.01444/0.219, allocations: 10.96 MB / 0.9479 GB, free: 16.09 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003417/0.2224, allocations: 139.2 kB / 0.948 GB, free: 15.96 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.002762/0.2252, allocations: 0.7753 MB / 0.9488 GB, free: 15.18 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.006053/0.2313, allocations: 2.084 MB / 0.9508 GB, free: 13.08 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.004344/0.2357, allocations: 1.796 MB / 0.9526 GB, free: 11.29 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.011/0.2467, allocations: 13.18 MB / 0.9654 GB, free: 14.07 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02262/0.2693, allocations: 14.46 MB / 0.9796 GB, free: 15.52 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006436/0.2758, allocations: 2.91 MB / 0.9824 GB, free: 12.59 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006879/0.2827, allocations: 3.877 MB / 0.9862 GB, free: 8.703 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.001502/0.2843, allocations: 344 kB / 0.9865 GB, free: 8.367 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004461/0.2887, allocations: 1.33 MB / 0.9878 GB, free: 7.035 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.004088/0.2929, allocations: 2.525 MB / 0.9903 GB, free: 4.504 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.005716/0.2986, allocations: 2.964 MB / 0.9932 GB, free: 1.52 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.01132/0.3099, allocations: 10.22 MB / 1.003 GB, free: 7.277 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 9.297e-06/0.31, allocations: 8 kB / 1.003 GB, free: 7.27 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.745e-06/0.31, allocations: 0 / 1.003 GB, free: 7.27 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 0.0004025/0.3104, allocations: 0 / 1.003 GB, free: 7.27 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: 1524 * Number of variables: 1524 Notification: Performance of Generate backend data structure: time 0.01181/0.3222, allocations: 5.086 MB / 1.008 GB, free: 2.113 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.603e-05/0.3223, allocations: 8.031 kB / 1.008 GB, free: 2.105 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006024/0.3283, allocations: 1.075 MB / 1.009 GB, free: 1.023 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007232/0.3356, allocations: 3.419 MB / 1.013 GB, free: 13.55 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004359/0.3361, allocations: 427.7 kB / 1.013 GB, free: 13.13 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001949/0.338, allocations: 0.5394 MB / 1.013 GB, free: 12.59 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01946/0.3575, allocations: 9.37 MB / 1.023 GB, free: 2.891 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001391/0.3577, allocations: 23.78 kB / 1.023 GB, free: 2.867 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007779/0.3584, allocations: 248 kB / 1.023 GB, free: 2.625 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006022/0.3591, allocations: 426.9 kB / 1.023 GB, free: 2.207 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01433/0.3734, allocations: 7.123 MB / 1.03 GB, free: 11.07 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4077/0.7811, allocations: 41.37 MB / 1.071 GB, free: 118.9 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005056/0.7862, allocations: 3.101 MB / 1.074 GB, free: 118.8 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003433/0.7897, allocations: 2.123 MB / 1.076 GB, free: 118.8 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000116/0.7898, allocations: 23.16 kB / 1.076 GB, free: 118.8 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.285e-05/0.7899, allocations: 60.34 kB / 1.076 GB, free: 118.7 MB / 0.698 GB Notification: Performance of pre-optimization done (n=209): time 4.228e-06/0.7899, allocations: 0 / 1.076 GB, free: 118.7 MB / 0.698 GB Notification: Performance of matching and sorting (n=212): time 0.02381/0.8137, allocations: 10.63 MB / 1.086 GB, free: 117.2 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.868e-05/0.8138, allocations: 73.19 kB / 1.086 GB, free: 117.1 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002349/0.8161, allocations: 2.006 MB / 1.088 GB, free: 116.3 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0002023/0.8163, allocations: 65.58 kB / 1.088 GB, free: 116.3 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.001006/0.8173, allocations: 2.409 MB / 1.091 GB, free: 114.4 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005082/0.8179, allocations: 0.7268 MB / 1.091 GB, free: 113.7 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001368/0.818, allocations: 51.84 kB / 1.091 GB, free: 113.7 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001133/0.8181, allocations: 410.8 kB / 1.092 GB, free: 113.3 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001647/0.8198, allocations: 1.375 MB / 1.093 GB, free: 112.6 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001989/0.8218, allocations: 2.105 MB / 1.095 GB, free: 111 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005137/0.8269, allocations: 3.766 MB / 1.099 GB, free: 108.4 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.996e-05/0.827, allocations: 9.844 kB / 1.099 GB, free: 108.4 MB / 0.698 GB Notification: Performance of matching and sorting (n=339) (initialization): time 0.007299/0.8343, allocations: 5.066 MB / 1.104 GB, free: 105.7 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 3.596e-05/0.8343, allocations: 19.06 kB / 1.104 GB, free: 105.7 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.621e-05/0.8344, allocations: 21.34 kB / 1.104 GB, free: 105.7 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003142/0.8375, allocations: 1.561 MB / 1.105 GB, free: 105.1 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001596/0.8391, allocations: 451.2 kB / 1.106 GB, free: 105 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01655/0.8557, allocations: 17.1 MB / 1.123 GB, free: 90.5 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002516/0.8583, allocations: 155.9 kB / 1.123 GB, free: 90.34 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002963/0.8586, allocations: 108 kB / 1.123 GB, free: 90.24 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 101 * 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 (231): * Single equations (assignments): 227 * 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 {(6,32,69.4%), (6,24,66.7%), (4,18,100.0%), (4,18,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003174/0.8618, allocations: 1.942 MB / 1.125 GB, free: 88.29 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005965/0.8624, allocations: 288.9 kB / 1.125 GB, free: 88 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005961/0.8683, allocations: 4.451 MB / 1.129 GB, free: 83.52 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.747e-05/0.8684, allocations: 24 kB / 1.129 GB, free: 83.5 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.504e-05/0.8684, allocations: 20 kB / 1.129 GB, free: 83.48 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.144e-05/0.8684, allocations: 15.89 kB / 1.129 GB, free: 83.46 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01406/0.8825, allocations: 9.666 MB / 1.139 GB, free: 73.69 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-05/0.8826, allocations: 12.06 kB / 1.139 GB, free: 73.68 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009507/0.8835, allocations: 231.6 kB / 1.139 GB, free: 73.45 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002902/0.8864, allocations: 1.425 MB / 1.14 GB, free: 72.02 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001433/0.8866, allocations: 40 kB / 1.14 GB, free: 71.98 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01624/0.9029, allocations: 17.1 MB / 1.157 GB, free: 54.35 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.651e-06/0.9029, allocations: 7.938 kB / 1.157 GB, free: 54.34 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006144/0.9091, allocations: 4.544 MB / 1.162 GB, free: 49.71 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001313/0.9104, allocations: 0.6381 MB / 1.162 GB, free: 49.05 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003253/0.9107, allocations: 43.66 kB / 1.162 GB, free: 49.02 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001208/0.912, allocations: 115.9 kB / 1.162 GB, free: 48.9 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004799/0.9124, allocations: 185.6 kB / 1.163 GB, free: 48.72 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001256/0.9126, allocations: 60 kB / 1.163 GB, free: 48.66 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001482/0.9141, allocations: 1.311 MB / 1.164 GB, free: 47.34 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.5e-07/0.9141, allocations: 0 / 1.164 GB, free: 47.34 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.00304/0.9171, allocations: 1.145 MB / 1.165 GB, free: 46.2 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 (107): * Single equations (assignments): 103 * 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 {(4,18,100.0%), (6,24,66.7%), (4,18,100.0%), (6,32,66.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002583/0.9174, allocations: 167.9 kB / 1.165 GB, free: 46.02 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.005874/0.9233, allocations: 4.682 MB / 1.17 GB, free: 41.29 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 8.557e-06/0.9233, allocations: 4.188 kB / 1.17 GB, free: 41.29 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.003765/0.9271, allocations: 2.936 MB / 1.173 GB, free: 38.3 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0048/0.9319, allocations: 0.8295 MB / 1.173 GB, free: 37.48 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01506/0.947, allocations: 12.54 MB / 1.186 GB, free: 24.86 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003271/0.9503, allocations: 3.78 MB / 1.189 GB, free: 21.05 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007655/0.9511, allocations: 167.4 kB / 1.19 GB, free: 20.88 MB / 0.698 GB Notification: Performance of SimCode: time 2.044e-06/0.9511, allocations: 0 / 1.19 GB, free: 20.88 MB / 0.698 GB Notification: Performance of Templates: time 0.1653/1.116, allocations: 171.1 MB / 1.357 GB, free: 9.816 MB / 0.8542 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.makefile (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe 2>&1)