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_L_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_L_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.009742/0.009742, allocations: 100.8 kB / 15.73 MB, free: 6.062 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.001529/0.001529, allocations: 195.7 kB / 16.68 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.556/1.556, allocations: 205.1 MB / 222.5 MB, free: 4.523 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.625/1.625, allocations: 251.7 MB / 0.5094 GB, free: 3.039 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.001516/0.001516, allocations: 71.89 kB / 0.7258 GB, free: 8.992 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2752/0.2768, allocations: 104.7 MB / 0.8281 GB, free: 180 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N): time 0.04223/0.319, allocations: 34.7 MB / 0.8619 GB, free: 13.36 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.02287/0.342, allocations: 11.64 MB / 0.8733 GB, free: 1.688 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004695/0.3467, allocations: 159.2 kB / 0.8735 GB, free: 1.531 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.01162/0.3584, allocations: 4.24 MB / 0.8776 GB, free: 13.28 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 0.007789/0.3663, allocations: 1.998 MB / 0.8795 GB, free: 11.27 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.008583/0.3749, allocations: 2.402 MB / 0.8819 GB, free: 8.871 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.01334/0.3883, allocations: 8.452 MB / 0.8901 GB, free: 404 kB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02077/0.4091, allocations: 11.12 MB / 0.901 GB, free: 5.156 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008605/0.4177, allocations: 3.747 MB / 0.9047 GB, free: 1.398 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.6919/1.11, allocations: 4.18 MB / 0.9088 GB, free: 24.91 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.005993/1.116, allocations: 0.7795 MB / 0.9095 GB, free: 24.91 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008775/1.124, allocations: 2.023 MB / 0.9115 GB, free: 24.91 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.008387/1.133, allocations: 3.057 MB / 0.9145 GB, free: 24.91 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.01393/1.147, allocations: 3.398 MB / 0.9178 GB, free: 24.4 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.02611/1.173, allocations: 11.98 MB / 0.9295 GB, free: 23.41 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 8.706e-06/1.173, allocations: 1.156 kB / 0.9295 GB, free: 23.41 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.194e-06/1.173, allocations: 0 / 0.9295 GB, free: 23.41 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 0.0005568/1.174, allocations: 3.594 kB / 0.9295 GB, free: 23.41 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: 1488 * Number of variables: 1488 Notification: Performance of Generate backend data structure: time 0.02591/1.2, allocations: 5.799 MB / 0.9352 GB, free: 21.34 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.986e-05/1.2, allocations: 9.312 kB / 0.9352 GB, free: 21.34 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009399/1.209, allocations: 1.061 MB / 0.9362 GB, free: 21.04 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01171/1.221, allocations: 3.452 MB / 0.9396 GB, free: 20.37 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006808/1.222, allocations: 414 kB / 0.94 GB, free: 20.36 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004201/1.226, allocations: 0.5413 MB / 0.9405 GB, free: 20.35 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03047/1.256, allocations: 9.072 MB / 0.9494 GB, free: 16.47 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003087/1.257, allocations: 42.64 kB / 0.9494 GB, free: 16.45 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002582/1.259, allocations: 231.9 kB / 0.9496 GB, free: 16.29 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004195/1.26, allocations: 349.4 kB / 0.95 GB, free: 16.21 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01592/1.276, allocations: 6.827 MB / 0.9566 GB, free: 12.79 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05672/1.332, allocations: 39.79 MB / 0.9955 GB, free: 8.352 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004264/1.337, allocations: 3.106 MB / 0.9985 GB, free: 6.254 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002821/1.339, allocations: 1.979 MB / 1 GB, free: 5.219 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001175/1.34, allocations: 24.36 kB / 1 GB, free: 5.219 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.14e-05/1.34, allocations: 58.98 kB / 1.001 GB, free: 5.16 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=179): time 4.448e-06/1.34, allocations: 0 / 1.001 GB, free: 5.16 MB / 0.7481 GB Notification: Performance of matching and sorting (n=182): time 0.02751/1.367, allocations: 9.975 MB / 1.01 GB, free: 11.54 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.674e-05/1.367, allocations: 73.41 kB / 1.01 GB, free: 11.46 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003213/1.371, allocations: 1.526 MB / 1.012 GB, free: 9.887 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 0.0002384/1.371, allocations: 53.64 kB / 1.012 GB, free: 9.828 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 0.001677/1.372, allocations: 2.257 MB / 1.014 GB, free: 7.547 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008034/1.373, allocations: 0.6309 MB / 1.015 GB, free: 6.922 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007448/1.374, allocations: 407.9 kB / 1.015 GB, free: 6.516 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 0.0001382/1.374, allocations: 305.1 kB / 1.015 GB, free: 6.215 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001713/1.376, allocations: 1.179 MB / 1.017 GB, free: 5.031 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002201/1.378, allocations: 1.887 MB / 1.018 GB, free: 2.836 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004077/1.382, allocations: 3.37 MB / 1.022 GB, free: 15.25 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.147e-05/1.382, allocations: 4 kB / 1.022 GB, free: 15.24 MB / 0.7794 GB Notification: Performance of matching and sorting (n=285) (initialization): time 0.007619/1.39, allocations: 4.579 MB / 1.026 GB, free: 10.83 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 3.435e-05/1.39, allocations: 16.94 kB / 1.026 GB, free: 10.81 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.972e-05/1.39, allocations: 24 kB / 1.026 GB, free: 10.79 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003749/1.394, allocations: 1.583 MB / 1.028 GB, free: 9.203 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001169/1.395, allocations: 357.3 kB / 1.028 GB, free: 8.879 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02311/1.418, allocations: 18.57 MB / 1.046 GB, free: 5.812 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00257/1.421, allocations: 119.9 kB / 1.046 GB, free: 5.695 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000244/1.421, allocations: 99.89 kB / 1.046 GB, free: 5.602 MB / 0.795 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 (177): * Single equations (assignments): 173 * 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 {(12,26,30.6%), (6,24,66.7%), (6,16,66.7%), (6,16,66.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00491/1.426, allocations: 1.897 MB / 1.048 GB, free: 3.719 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007087/1.427, allocations: 225.3 kB / 1.048 GB, free: 3.496 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007745/1.434, allocations: 4.095 MB / 1.052 GB, free: 15.44 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.617e-05/1.434, allocations: 20 kB / 1.052 GB, free: 15.42 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.005e-05/1.434, allocations: 20.11 kB / 1.053 GB, free: 15.4 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.209e-05/1.434, allocations: 11.91 kB / 1.053 GB, free: 15.39 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0198/1.454, allocations: 9.466 MB / 1.062 GB, free: 5.797 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.528e-05/1.454, allocations: 8 kB / 1.062 GB, free: 5.789 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000873/1.455, allocations: 186.4 kB / 1.062 GB, free: 5.617 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003483/1.459, allocations: 1.354 MB / 1.063 GB, free: 4.254 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001555/1.459, allocations: 39.56 kB / 1.063 GB, free: 4.219 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02246/1.481, allocations: 17.35 MB / 1.08 GB, free: 2.348 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.691e-06/1.481, allocations: 4 kB / 1.08 GB, free: 2.344 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007246/1.489, allocations: 4.071 MB / 1.084 GB, free: 14.24 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001458/1.49, allocations: 0.5295 MB / 1.085 GB, free: 13.69 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003404/1.49, allocations: 36 kB / 1.085 GB, free: 13.65 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001002/1.491, allocations: 87.89 kB / 1.085 GB, free: 13.57 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005746/1.492, allocations: 160.8 kB / 1.085 GB, free: 13.42 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001119/1.492, allocations: 48 kB / 1.085 GB, free: 13.37 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.001672/1.494, allocations: 1.001 MB / 1.086 GB, free: 12.35 MB / 0.8419 GB Notification: Performance of sort global known variables: time 2e-07/1.494, allocations: 4 kB / 1.086 GB, free: 12.34 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.004571/1.498, allocations: 0.9844 MB / 1.087 GB, free: 11.36 MB / 0.8419 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 (85): * Single equations (assignments): 81 * 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,16,66.7%), (6,16,66.7%), (6,24,66.7%), (6,24,66.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000312/1.499, allocations: 150.4 kB / 1.087 GB, free: 11.21 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.007524/1.506, allocations: 4.302 MB / 1.091 GB, free: 6.934 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 8.967e-06/1.506, allocations: 4.062 kB / 1.091 GB, free: 6.93 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.004874/1.511, allocations: 2.656 MB / 1.094 GB, free: 4.25 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004224/1.516, allocations: 0.7908 MB / 1.095 GB, free: 3.508 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01933/1.535, allocations: 8.586 MB / 1.103 GB, free: 10.87 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005773/1.541, allocations: 3.58 MB / 1.107 GB, free: 7.254 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.001921/1.543, allocations: 463.9 kB / 1.107 GB, free: 6.797 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003131/1.543, allocations: 119.4 kB / 1.107 GB, free: 6.684 MB / 0.8575 GB Notification: Performance of SimCode: time 1.292e-06/1.543, allocations: 0 / 1.107 GB, free: 6.684 MB / 0.8575 GB Notification: Performance of Templates: time 0.0817/1.625, allocations: 44.62 MB / 1.151 GB, free: 10.66 MB / 0.9044 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.makefile (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe 2>&1)