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.0009355/0.0009357, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.008565/0.008566, allocations: 170.8 kB / 16.26 MB, free: 6.676 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.533/1.533, allocations: 205.4 MB / 222.4 MB, free: 5.793 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.632/1.632, allocations: 252 MB / 0.5105 GB, free: 4.672 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.0005365/0.0005365, allocations: 16 kB / 0.6249 GB, free: 0.7422 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5366/0.5372, allocations: 106.3 MB / 0.7287 GB, free: 11.27 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N): time 0.03625/0.5735, allocations: 33.59 MB / 0.7615 GB, free: 9.566 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.02053/0.5941, allocations: 11.52 MB / 0.7728 GB, free: 14.01 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004733/0.5989, allocations: 135.2 kB / 0.7729 GB, free: 13.88 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.003468/0.6024, allocations: 0.6938 MB / 0.7736 GB, free: 13.18 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.007147/0.6095, allocations: 1.871 MB / 0.7754 GB, free: 11.3 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.006921/0.6165, allocations: 1.994 MB / 0.7774 GB, free: 9.305 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.01661/0.6331, allocations: 12.39 MB / 0.7895 GB, free: 12.88 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02552/0.6587, allocations: 14.33 MB / 0.8035 GB, free: 14.45 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005651/0.6644, allocations: 2.614 MB / 0.806 GB, free: 11.82 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006887/0.6713, allocations: 3.558 MB / 0.8095 GB, free: 8.25 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.001836/0.6732, allocations: 328 kB / 0.8098 GB, free: 7.93 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005112/0.6783, allocations: 1.914 MB / 0.8117 GB, free: 6.012 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.004542/0.6829, allocations: 2.455 MB / 0.8141 GB, free: 3.551 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.007346/0.6902, allocations: 2.734 MB / 0.8168 GB, free: 0.7969 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.01855/0.7088, allocations: 11.44 MB / 0.8279 GB, free: 5.324 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 8.055e-06/0.7089, allocations: 4 kB / 0.8279 GB, free: 5.32 MB / 0.6387 GB Notification: Performance of FrontEnd: time 3.296e-06/0.7089, allocations: 0 / 0.8279 GB, free: 5.32 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 0.0004672/0.7094, allocations: 0 / 0.8279 GB, free: 5.32 MB / 0.6387 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.01149/0.7209, allocations: 4.656 MB / 0.8325 GB, free: 0.5938 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.671e-05/0.7209, allocations: 15.97 kB / 0.8325 GB, free: 0.5781 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006603/0.7275, allocations: 1.064 MB / 0.8335 GB, free: 15.51 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006758/0.7343, allocations: 3.251 MB / 0.8367 GB, free: 12.2 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003918/0.7348, allocations: 419.5 kB / 0.8371 GB, free: 11.79 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001827/0.7366, allocations: 0.5353 MB / 0.8376 GB, free: 11.25 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02377/0.7604, allocations: 9.075 MB / 0.8465 GB, free: 1.859 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003243/0.7608, allocations: 35.7 kB / 0.8465 GB, free: 1.824 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001596/0.7624, allocations: 236 kB / 0.8467 GB, free: 1.594 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005394/0.7629, allocations: 346.7 kB / 0.8471 GB, free: 1.254 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01502/0.778, allocations: 6.83 MB / 0.8537 GB, free: 10.41 MB / 0.67 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04864/0.8266, allocations: 40.19 MB / 0.893 GB, free: 14.51 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004954/0.8317, allocations: 3.104 MB / 0.896 GB, free: 11.27 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003603/0.8353, allocations: 1.958 MB / 0.8979 GB, free: 9.309 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001964/0.8356, allocations: 18 kB / 0.8979 GB, free: 9.293 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.797e-05/0.8357, allocations: 52.56 kB / 0.898 GB, free: 9.23 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=179): time 7.344e-06/0.8357, allocations: 0 / 0.898 GB, free: 9.23 MB / 0.7169 GB Notification: Performance of matching and sorting (n=182): time 0.4885/1.324, allocations: 10.03 MB / 0.9078 GB, free: 160.2 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.741e-05/1.324, allocations: 74.78 kB / 0.9079 GB, free: 160.1 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002969/1.327, allocations: 1.529 MB / 0.9094 GB, free: 159.8 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0003235/1.328, allocations: 56.08 kB / 0.9094 GB, free: 159.7 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.002071/1.33, allocations: 2.251 MB / 0.9116 GB, free: 158.8 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008064/1.33, allocations: 0.6302 MB / 0.9122 GB, free: 158.3 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003146/1.331, allocations: 179.4 kB / 0.9124 GB, free: 158.2 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.473e-05/1.331, allocations: 302.7 kB / 0.9127 GB, free: 157.9 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002611/1.333, allocations: 1.175 MB / 0.9138 GB, free: 157.5 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003213/1.337, allocations: 1.886 MB / 0.9157 GB, free: 156.2 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006009/1.343, allocations: 3.371 MB / 0.919 GB, free: 154.1 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.779e-05/1.343, allocations: 6.25 kB / 0.919 GB, free: 154.1 MB / 0.7169 GB Notification: Performance of matching and sorting (n=285) (initialization): time 0.008493/1.351, allocations: 4.578 MB / 0.9234 GB, free: 152.3 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 4.1e-05/1.351, allocations: 16.16 kB / 0.9235 GB, free: 152.3 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.929e-05/1.351, allocations: 23.47 kB / 0.9235 GB, free: 152.3 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003768/1.355, allocations: 1.579 MB / 0.925 GB, free: 152 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001224/1.356, allocations: 357.2 kB / 0.9254 GB, free: 151.9 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01858/1.375, allocations: 17.08 MB / 0.9421 GB, free: 141.1 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002132/1.377, allocations: 117.5 kB / 0.9422 GB, free: 141.1 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002253/1.377, allocations: 92.53 kB / 0.9423 GB, free: 141.1 MB / 0.7169 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.00341/1.381, allocations: 1.899 MB / 0.9441 GB, free: 139.9 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005894/1.381, allocations: 222.8 kB / 0.9443 GB, free: 139.8 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006164/1.388, allocations: 4.089 MB / 0.9483 GB, free: 137.1 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.407e-05/1.388, allocations: 16 kB / 0.9483 GB, free: 137.1 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.271e-05/1.388, allocations: 16 kB / 0.9483 GB, free: 137 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.941e-05/1.388, allocations: 15.95 kB / 0.9484 GB, free: 137 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01353/1.401, allocations: 9.448 MB / 0.9576 GB, free: 127.4 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-05/1.401, allocations: 12.36 kB / 0.9576 GB, free: 127.3 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007548/1.402, allocations: 183.7 kB / 0.9578 GB, free: 127.2 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003045/1.405, allocations: 1.355 MB / 0.9591 GB, free: 125.8 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001205/1.405, allocations: 43.98 kB / 0.9591 GB, free: 125.8 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0164/1.422, allocations: 15.99 MB / 0.9748 GB, free: 109.3 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.442e-06/1.422, allocations: 4.109 kB / 0.9748 GB, free: 109.2 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005944/1.428, allocations: 4.085 MB / 0.9787 GB, free: 105.1 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001116/1.429, allocations: 0.5367 MB / 0.9793 GB, free: 104.5 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000226/1.429, allocations: 32 kB / 0.9793 GB, free: 104.5 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009048/1.43, allocations: 87.89 kB / 0.9794 GB, free: 104.4 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004775/1.431, allocations: 161.7 kB / 0.9795 GB, free: 104.2 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.328e-05/1.431, allocations: 48 kB / 0.9796 GB, free: 104.2 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.001166/1.432, allocations: 1.005 MB / 0.9806 GB, free: 103.2 MB / 0.7169 GB Notification: Performance of sort global known variables: time 2.1e-07/1.432, allocations: 0 / 0.9806 GB, free: 103.2 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.003187/1.435, allocations: 0.9883 MB / 0.9815 GB, free: 102.2 MB / 0.7169 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.0002519/1.435, allocations: 143 kB / 0.9817 GB, free: 102 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.00573/1.441, allocations: 4.29 MB / 0.9859 GB, free: 97.7 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 5.841e-06/1.441, allocations: 0 / 0.9859 GB, free: 97.7 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.003505/1.445, allocations: 2.68 MB / 0.9885 GB, free: 94.98 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004276/1.449, allocations: 0.7143 MB / 0.9892 GB, free: 94.28 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01397/1.463, allocations: 11.02 MB / 0.9999 GB, free: 83.19 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003255/1.466, allocations: 3.573 MB / 1.003 GB, free: 79.58 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.001457/1.468, allocations: 463.9 kB / 1.004 GB, free: 79.12 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002623/1.468, allocations: 119.4 kB / 1.004 GB, free: 79.01 MB / 0.7169 GB Notification: Performance of SimCode: time 9.31e-07/1.468, allocations: 0 / 1.004 GB, free: 79.01 MB / 0.7169 GB Notification: Performance of Templates: time 0.06224/1.53, allocations: 41.82 MB / 1.045 GB, free: 37.66 MB / 0.7169 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: