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.007546/0.007546, allocations: 101.7 kB / 15.73 MB, free: 5.969 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.002385/0.002386, allocations: 197.7 kB / 16.67 MB, free: 5.906 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.549/1.549, allocations: 205.1 MB / 222.5 MB, free: 4.496 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.771/1.771, allocations: 251.7 MB / 0.5094 GB, free: 3.055 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.001383/0.001383, allocations: 71.91 kB / 0.7258 GB, free: 9 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2858/0.2872, allocations: 104.7 MB / 0.8281 GB, free: 200 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N): time 0.04021/0.3274, allocations: 33.18 MB / 0.8604 GB, free: 14.9 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.02638/0.3539, allocations: 14.9 MB / 0.875 GB, free: 15.96 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004894/0.3588, allocations: 159.2 kB / 0.8751 GB, free: 15.8 MB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 0.01093/0.3698, allocations: 3.652 MB / 0.8787 GB, free: 12.14 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 0.01063/0.3805, allocations: 2.981 MB / 0.8816 GB, free: 9.148 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.008985/0.3895, allocations: 2.327 MB / 0.8839 GB, free: 6.82 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.01504/0.4046, allocations: 8.774 MB / 0.8925 GB, free: 14.02 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01987/0.4245, allocations: 9.577 MB / 0.9018 GB, free: 4.32 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01001/0.4346, allocations: 3.992 MB / 0.9057 GB, free: 324 kB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.5675/1.002, allocations: 4.027 MB / 0.9097 GB, free: 22.75 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.005847/1.008, allocations: 0.7159 MB / 0.9103 GB, free: 22.75 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01092/1.019, allocations: 1.715 MB / 0.912 GB, free: 22.75 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.01128/1.03, allocations: 2.822 MB / 0.9148 GB, free: 22.66 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.01982/1.05, allocations: 3.382 MB / 0.9181 GB, free: 21.83 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.02964/1.08, allocations: 11.18 MB / 0.929 GB, free: 20.84 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 9.488e-06/1.08, allocations: 0 / 0.929 GB, free: 20.84 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.615e-06/1.08, allocations: 0 / 0.929 GB, free: 20.84 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 0.0006589/1.081, allocations: 0 / 0.929 GB, free: 20.84 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.04113/1.122, allocations: 5.992 MB / 0.9349 GB, free: 18.63 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 0.0001028/1.122, allocations: 14.06 kB / 0.9349 GB, free: 18.62 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01334/1.135, allocations: 1.135 MB / 0.936 GB, free: 18.33 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01406/1.149, allocations: 3.514 MB / 0.9394 GB, free: 17.55 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001092/1.151, allocations: 373.2 kB / 0.9398 GB, free: 17.54 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005472/1.156, allocations: 0.4896 MB / 0.9402 GB, free: 17.54 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03726/1.193, allocations: 8.003 MB / 0.9481 GB, free: 15.41 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006426/1.194, allocations: 22.83 kB / 0.9481 GB, free: 15.4 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00398/1.198, allocations: 217.4 kB / 0.9483 GB, free: 15.25 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001852/1.2, allocations: 437.4 kB / 0.9487 GB, free: 15.12 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02064/1.221, allocations: 6.085 MB / 0.9546 GB, free: 12.05 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06449/1.285, allocations: 34.87 MB / 0.9887 GB, free: 12.7 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003791/1.289, allocations: 2.038 MB / 0.9907 GB, free: 11.63 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003343/1.292, allocations: 1.87 MB / 0.9925 GB, free: 10.65 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002137/1.293, allocations: 23.34 kB / 0.9925 GB, free: 10.65 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.905e-05/1.293, allocations: 60.28 kB / 0.9926 GB, free: 10.59 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=171): time 4.338e-06/1.293, allocations: 0 / 0.9926 GB, free: 10.59 MB / 0.7481 GB Notification: Performance of matching and sorting (n=276): time 0.1576/1.45, allocations: 38.9 MB / 1.031 GB, free: 5.59 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.424e-05/1.451, allocations: 77.58 kB / 1.031 GB, free: 5.5 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005345/1.456, allocations: 2.286 MB / 1.033 GB, free: 3.195 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 0.0007004/1.457, allocations: 73.7 kB / 1.033 GB, free: 3.117 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.001844/1.458, allocations: 2.272 MB / 1.035 GB, free: 0.8242 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 0.001571/1.46, allocations: 0.9372 MB / 1.036 GB, free: 15.89 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001719/1.462, allocations: 0.51 MB / 1.037 GB, free: 15.38 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001051/1.462, allocations: 301.1 kB / 1.037 GB, free: 15.08 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003312/1.465, allocations: 1.981 MB / 1.039 GB, free: 13.09 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004015/1.469, allocations: 2.596 MB / 1.041 GB, free: 10.26 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007622/1.477, allocations: 4.93 MB / 1.046 GB, free: 5.125 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.43e-05/1.477, allocations: 7.938 kB / 1.046 GB, free: 5.117 MB / 0.795 GB Notification: Performance of matching and sorting (n=376) (initialization): time 0.01668/1.494, allocations: 7.762 MB / 1.054 GB, free: 13.5 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 4.549e-05/1.494, allocations: 15.98 kB / 1.054 GB, free: 13.48 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.625e-05/1.494, allocations: 16 kB / 1.054 GB, free: 13.47 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009905/1.504, allocations: 3.213 MB / 1.057 GB, free: 10.24 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002023/1.506, allocations: 408 kB / 1.057 GB, free: 9.871 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04807/1.554, allocations: 33.85 MB / 1.09 GB, free: 7.254 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00429/1.558, allocations: 167.8 kB / 1.091 GB, free: 7.09 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008221/1.559, allocations: 108 kB / 1.091 GB, free: 6.984 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.005808/1.565, allocations: 1.796 MB / 1.092 GB, free: 5.203 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001869/1.567, allocations: 328.2 kB / 1.093 GB, free: 4.879 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01828/1.585, allocations: 7.365 MB / 1.1 GB, free: 13.54 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.175e-05/1.585, allocations: 28 kB / 1.1 GB, free: 13.52 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001271/1.585, allocations: 28 kB / 1.1 GB, free: 13.49 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.943e-05/1.585, allocations: 15.95 kB / 1.1 GB, free: 13.47 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03092/1.616, allocations: 12.93 MB / 1.113 GB, free: 0.5664 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.392e-05/1.616, allocations: 11.66 kB / 1.113 GB, free: 0.5586 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001148/1.618, allocations: 230.1 kB / 1.113 GB, free: 356 kB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.009051/1.627, allocations: 2.858 MB / 1.116 GB, free: 13.48 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006764/1.627, allocations: 56 kB / 1.116 GB, free: 13.42 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04686/1.674, allocations: 32.66 MB / 1.148 GB, free: 11.98 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.056e-05/1.674, allocations: 11.17 kB / 1.148 GB, free: 11.97 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0156/1.69, allocations: 6.882 MB / 1.154 GB, free: 4.98 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003052/1.693, allocations: 0.7783 MB / 1.155 GB, free: 4.18 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001557/1.695, allocations: 55.91 kB / 1.155 GB, free: 4.125 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003092/1.698, allocations: 167.8 kB / 1.155 GB, free: 3.961 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001124/1.699, allocations: 254.7 kB / 1.155 GB, free: 3.719 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004063/1.699, allocations: 76 kB / 1.156 GB, free: 3.645 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.003418/1.703, allocations: 1.525 MB / 1.157 GB, free: 2.117 MB / 0.9044 GB Notification: Performance of sort global known variables: time 6.11e-07/1.703, allocations: 0 / 1.157 GB, free: 2.117 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.006381/1.709, allocations: 1.355 MB / 1.158 GB, free: 0.7617 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.0005826/1.71, allocations: 172.5 kB / 1.159 GB, free: 0.5977 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0131/1.723, allocations: 6.929 MB / 1.165 GB, free: 9.652 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 1.51e-05/1.723, allocations: 7.281 kB / 1.165 GB, free: 9.648 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.008479/1.731, allocations: 4.412 MB / 1.17 GB, free: 5.191 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007982/1.739, allocations: 1.109 MB / 1.171 GB, free: 4.141 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02523/1.765, allocations: 10.08 MB / 1.181 GB, free: 10.01 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006734/1.771, allocations: 3.639 MB / 1.184 GB, free: 6.336 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.002476/1.774, allocations: 0.5634 MB / 1.185 GB, free: 5.77 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003985/1.774, allocations: 163.4 kB / 1.185 GB, free: 5.609 MB / 0.9356 GB Notification: Performance of SimCode: time 9.12e-07/1.774, allocations: 2.719 kB / 1.185 GB, free: 5.609 MB / 0.9356 GB Notification: Performance of Templates: time 0.1439/1.918, allocations: 76.04 MB / 1.259 GB, free: 10.82 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)