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.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,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001209/0.001209, allocations: 99.55 kB / 15.05 MB, free: 1.105 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.001338/0.001338, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.859/1.859, allocations: 205.4 MB / 222.1 MB, free: 5.543 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.691/1.691, allocations: 251.9 MB / 0.51 GB, free: 4.797 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.0005764/0.0005766, allocations: 23.94 kB / 0.6241 GB, free: 1.16 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6504/0.651, allocations: 106.3 MB / 0.728 GB, free: 11.44 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine): time 0.03061/0.6816, allocations: 26.62 MB / 0.754 GB, free: 0.7422 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.02249/0.7042, allocations: 12.6 MB / 0.7663 GB, free: 4.117 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004694/0.709, allocations: 115.2 kB / 0.7664 GB, free: 4.004 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.002995/0.712, allocations: 0.6366 MB / 0.767 GB, free: 3.363 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.01027/0.7223, allocations: 2.106 MB / 0.7691 GB, free: 1.254 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.00513/0.7275, allocations: 1.212 MB / 0.7702 GB, free: 44 kB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.009653/0.7371, allocations: 3.993 MB / 0.7741 GB, free: 12.04 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01507/0.7522, allocations: 8.513 MB / 0.7825 GB, free: 3.453 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005502/0.7578, allocations: 2.278 MB / 0.7847 GB, free: 1.168 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005169/0.763, allocations: 2.043 MB / 0.7867 GB, free: 15.12 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0008763/0.7639, allocations: 244 kB / 0.7869 GB, free: 14.88 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002743/0.7666, allocations: 0.5892 MB / 0.7875 GB, free: 14.29 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.001943/0.7686, allocations: 1.754 MB / 0.7892 GB, free: 12.53 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.002453/0.7711, allocations: 0.9641 MB / 0.7901 GB, free: 11.56 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.01133/0.7824, allocations: 7.614 MB / 0.7976 GB, free: 3.926 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.412e-06/0.7825, allocations: 3.938 kB / 0.7976 GB, free: 3.922 MB / 0.6075 GB Notification: Performance of FrontEnd: time 4.108e-06/0.7825, allocations: 0 / 0.7976 GB, free: 3.922 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 0.000464/0.783, allocations: 4 kB / 0.7976 GB, free: 3.918 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1133 * Number of variables: 1133 Notification: Performance of Generate backend data structure: time 0.01459/0.7976, allocations: 4.169 MB / 0.8017 GB, free: 15.67 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 6.959e-05/0.7977, allocations: 11.97 kB / 0.8017 GB, free: 15.66 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007152/0.8048, allocations: 0.9777 MB / 0.8026 GB, free: 14.68 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008463/0.8133, allocations: 2.807 MB / 0.8054 GB, free: 11.79 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002965/0.8137, allocations: 316.5 kB / 0.8057 GB, free: 11.48 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001477/0.8152, allocations: 419.9 kB / 0.8061 GB, free: 11.07 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01541/0.8306, allocations: 6.725 MB / 0.8126 GB, free: 4.043 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001452/0.8308, allocations: 23.78 kB / 0.8127 GB, free: 4.02 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005378/0.8313, allocations: 180 kB / 0.8128 GB, free: 3.844 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009299/0.8323, allocations: 376 kB / 0.8132 GB, free: 3.473 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01151/0.8438, allocations: 5.083 MB / 0.8182 GB, free: 14.37 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04897/0.8928, allocations: 30.75 MB / 0.8482 GB, free: 12.85 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002425/0.8952, allocations: 1.384 MB / 0.8495 GB, free: 11.46 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001437/0.8954, allocations: 17.25 kB / 0.8496 GB, free: 11.45 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.198e-05/0.8955, allocations: 47.88 kB / 0.8496 GB, free: 11.39 MB / 0.67 GB Notification: Performance of pre-optimization done (n=130): time 3.336e-06/0.8955, allocations: 0 / 0.8496 GB, free: 11.39 MB / 0.67 GB Notification: Performance of matching and sorting (n=199): time 0.08809/0.9836, allocations: 22.78 MB / 0.8718 GB, free: 4.48 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.823e-05/0.9837, allocations: 73.41 kB / 0.8719 GB, free: 4.395 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004433/0.9882, allocations: 2.035 MB / 0.8739 GB, free: 2.344 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 0.0004568/0.9886, allocations: 57.7 kB / 0.874 GB, free: 2.281 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.001912/0.9906, allocations: 2.014 MB / 0.8759 GB, free: 248 kB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009158/0.9915, allocations: 0.6816 MB / 0.8766 GB, free: 15.55 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002749/0.9918, allocations: 44 kB / 0.8766 GB, free: 15.51 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0002469/0.9921, allocations: 406.5 kB / 0.877 GB, free: 15.11 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002396/0.9945, allocations: 1.418 MB / 0.8784 GB, free: 13.68 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002885/0.9974, allocations: 1.994 MB / 0.8804 GB, free: 11.44 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002764/1, allocations: 1.728 MB / 0.882 GB, free: 9.711 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.781e-05/1, allocations: 4 kB / 0.882 GB, free: 9.707 MB / 0.7012 GB Notification: Performance of matching and sorting (n=294) (initialization): time 0.01216/1.012, allocations: 5.641 MB / 0.8876 GB, free: 3.996 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 4.608e-05/1.012, allocations: 12.94 kB / 0.8876 GB, free: 3.984 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.579e-05/1.012, allocations: 20 kB / 0.8876 GB, free: 3.965 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007082/1.02, allocations: 2.083 MB / 0.8896 GB, free: 1.828 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001705/1.021, allocations: 371.4 kB / 0.89 GB, free: 1.465 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.5562/1.578, allocations: 36.26 MB / 0.9254 GB, free: 143.5 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002859/1.58, allocations: 126 kB / 0.9255 GB, free: 143.5 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003222/1.581, allocations: 92.62 kB / 0.9256 GB, free: 143.4 MB / 0.7169 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 (204): * Single equations (assignments): 186 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 18 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 18 {(3,100.0%) 5,(3,100.0%) 5,(3,100.0%) 5,(3,100.0%) 5,(3,100.0%) 5,(3,100.0%) 5,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003274/1.584, allocations: 1.506 MB / 0.9271 GB, free: 142.8 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000657/1.585, allocations: 284 kB / 0.9273 GB, free: 142.8 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009265/1.594, allocations: 5.197 MB / 0.9324 GB, free: 140.6 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.14e-05/1.594, allocations: 21.91 kB / 0.9324 GB, free: 140.6 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.41e-05/1.594, allocations: 21.28 kB / 0.9324 GB, free: 140.6 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-05/1.594, allocations: 7.781 kB / 0.9325 GB, free: 140.6 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01626/1.61, allocations: 9.665 MB / 0.9419 GB, free: 136.7 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-05/1.61, allocations: 7.344 kB / 0.9419 GB, free: 136.7 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007759/1.611, allocations: 216.5 kB / 0.9421 GB, free: 136.6 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005186/1.616, allocations: 1.84 MB / 0.9439 GB, free: 136.1 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001533/1.617, allocations: 35.62 kB / 0.9439 GB, free: 136.1 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02739/1.644, allocations: 35.29 MB / 0.9784 GB, free: 102 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.402e-06/1.644, allocations: 12.48 kB / 0.9784 GB, free: 102 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007983/1.652, allocations: 5.421 MB / 0.9837 GB, free: 96.26 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001561/1.654, allocations: 0.6225 MB / 0.9843 GB, free: 95.61 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003872/1.654, allocations: 40 kB / 0.9844 GB, free: 95.57 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001371/1.655, allocations: 127.8 kB / 0.9845 GB, free: 95.45 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005981/1.656, allocations: 199.1 kB / 0.9847 GB, free: 95.26 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001154/1.656, allocations: 56 kB / 0.9847 GB, free: 95.2 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.001648/1.658, allocations: 1.359 MB / 0.986 GB, free: 93.84 MB / 0.7169 GB Notification: Performance of sort global known variables: time 2.01e-07/1.658, allocations: 0 / 0.986 GB, free: 93.84 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.003398/1.661, allocations: 1.035 MB / 0.9871 GB, free: 92.8 MB / 0.7169 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 (112): * Single equations (assignments): 94 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 18 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 18 {(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 4,(3,100.0%) 5,(3,100.0%) 5,(3,100.0%) 5,(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 4,(3,100.0%) 5,(3,100.0%) 5,(3,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002879/1.662, allocations: 171.3 kB / 0.9872 GB, free: 92.63 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.00844/1.67, allocations: 6.246 MB / 0.9933 GB, free: 86.17 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.667e-05/1.67, allocations: 4 kB / 0.9933 GB, free: 86.17 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.005779/1.676, allocations: 4.399 MB / 0.9976 GB, free: 81.55 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004255/1.68, allocations: 0.8762 MB / 0.9985 GB, free: 80.69 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01392/1.694, allocations: 9.592 MB / 1.008 GB, free: 71.06 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002824/1.697, allocations: 3.209 MB / 1.011 GB, free: 67.82 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.002066/1.699, allocations: 0.5198 MB / 1.011 GB, free: 67.3 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00032/1.699, allocations: 151.4 kB / 1.012 GB, free: 67.15 MB / 0.7169 GB Notification: Performance of SimCode: time 1.173e-06/1.699, allocations: 0 / 1.012 GB, free: 67.15 MB / 0.7169 GB Notification: Performance of Templates: time 0.08594/1.785, allocations: 55.49 MB / 1.066 GB, free: 12.52 MB / 0.7169 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.makefile Environment - environmentSimulation: (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe 2>&1) Environment - environmentSimulation: