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.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_L,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.319/1.319, allocations: 252 MB / 268 MB, free: 10.85 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.001008/0.001008, allocations: 163.4 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.409/1.409, allocations: 205.4 MB / 0.5786 GB, free: 20.09 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.0009143/0.0009141, allocations: 86.36 kB / 0.6832 GB, free: 12.77 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004453/0.0004454, allocations: 9.188 kB / 0.7976 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1763/0.1767, allocations: 106.3 MB / 0.9015 GB, free: 63.48 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L): time 0.02327/0.2001, allocations: 31.44 MB / 0.9322 GB, free: 31.94 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.01202/0.2121, allocations: 10.28 MB / 0.9422 GB, free: 21.62 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002616/0.2148, allocations: 131.2 kB / 0.9423 GB, free: 21.5 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.001516/0.2163, allocations: 0.6279 MB / 0.9429 GB, free: 20.86 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.003759/0.2201, allocations: 1.739 MB / 0.9446 GB, free: 19.12 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.003496/0.2236, allocations: 1.757 MB / 0.9464 GB, free: 17.36 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.007583/0.2312, allocations: 10.58 MB / 0.9567 GB, free: 6.754 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01503/0.2463, allocations: 12.06 MB / 0.9685 GB, free: 10.59 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00389/0.2502, allocations: 2.299 MB / 0.9707 GB, free: 8.281 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004123/0.2543, allocations: 2.974 MB / 0.9736 GB, free: 5.293 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 0.0005717/0.2549, allocations: 264 kB / 0.9739 GB, free: 5.035 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003172/0.2581, allocations: 1.696 MB / 0.9755 GB, free: 3.336 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.001962/0.2601, allocations: 2.046 MB / 0.9775 GB, free: 1.285 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.002443/0.2625, allocations: 2.349 MB / 0.9798 GB, free: 14.92 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.008118/0.2707, allocations: 8.392 MB / 0.988 GB, free: 6.504 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 5.711e-06/0.2707, allocations: 0 / 0.988 GB, free: 6.504 MB / 0.6355 GB Notification: Performance of FrontEnd: time 3.767e-06/0.2707, allocations: 3.938 kB / 0.988 GB, free: 6.5 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 0.0002303/0.271, allocations: 3.938 kB / 0.988 GB, free: 6.496 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1256 * Number of variables: 1256 Notification: Performance of Generate backend data structure: time 0.007485/0.2784, allocations: 4.025 MB / 0.992 GB, free: 2.402 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.742e-05/0.2785, allocations: 8.031 kB / 0.992 GB, free: 2.395 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005045/0.2835, allocations: 0.9551 MB / 0.9929 GB, free: 1.434 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005115/0.2887, allocations: 2.859 MB / 0.9957 GB, free: 14.52 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002794/0.289, allocations: 349.7 kB / 0.996 GB, free: 14.17 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009816/0.29, allocations: 468.1 kB / 0.9965 GB, free: 13.71 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01454/0.3045, allocations: 7.663 MB / 1.004 GB, free: 5.703 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000144/0.3047, allocations: 27.77 kB / 1.004 GB, free: 5.676 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004916/0.3052, allocations: 200 kB / 1.004 GB, free: 5.48 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000331/0.3055, allocations: 309 kB / 1.004 GB, free: 5.176 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0109/0.3164, allocations: 5.714 MB / 1.01 GB, free: 15.44 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03395/0.3504, allocations: 35.14 MB / 1.044 GB, free: 9.098 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002665/0.3531, allocations: 2.151 MB / 1.046 GB, free: 6.828 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001538/0.3547, allocations: 1.272 MB / 1.048 GB, free: 5.559 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 7.315e-05/0.3548, allocations: 17.3 kB / 1.048 GB, free: 5.543 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.011e-05/0.3548, allocations: 47.88 kB / 1.048 GB, free: 5.488 MB / 0.698 GB Notification: Performance of pre-optimization done (n=133): time 4.559e-06/0.3548, allocations: 0 / 1.048 GB, free: 5.488 MB / 0.698 GB Notification: Performance of matching and sorting (n=136): time 0.3448/0.6996, allocations: 7.12 MB / 1.055 GB, free: 137 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.252e-05/0.6996, allocations: 64.44 kB / 1.055 GB, free: 136.9 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001647/0.7013, allocations: 1.487 MB / 1.056 GB, free: 136.7 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001286/0.7014, allocations: 47.33 kB / 1.056 GB, free: 136.7 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009527/0.7024, allocations: 2.007 MB / 1.058 GB, free: 136.1 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003324/0.7027, allocations: 493.6 kB / 1.059 GB, free: 135.8 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.924e-05/0.7028, allocations: 36.06 kB / 1.059 GB, free: 135.8 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001115/0.703, allocations: 382.4 kB / 1.059 GB, free: 135.4 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001203/0.7042, allocations: 0.9092 MB / 1.06 GB, free: 135.4 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001463/0.7056, allocations: 1.596 MB / 1.062 GB, free: 134.6 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002834/0.7085, allocations: 2.734 MB / 1.064 GB, free: 133.7 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.401e-05/0.7085, allocations: 6.094 kB / 1.064 GB, free: 133.7 MB / 0.698 GB Notification: Performance of matching and sorting (n=239) (initialization): time 0.006679/0.7152, allocations: 3.527 MB / 1.068 GB, free: 133.2 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 4.273e-05/0.7153, allocations: 21.06 kB / 1.068 GB, free: 133.2 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.944e-05/0.7153, allocations: 22.72 kB / 1.068 GB, free: 133.2 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002729/0.718, allocations: 0.9034 MB / 1.069 GB, free: 133.1 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00131/0.7194, allocations: 349.1 kB / 1.069 GB, free: 133.1 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01609/0.7355, allocations: 21.22 MB / 1.09 GB, free: 115.4 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001543/0.7371, allocations: 101.8 kB / 1.09 GB, free: 115.4 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001446/0.7372, allocations: 85.91 kB / 1.09 GB, free: 115.4 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 (185): * 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: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(2,6,100.0%), (2,6,100.0%), (3,5,77.8%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002314/0.7395, allocations: 1.614 MB / 1.091 GB, free: 114.7 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003103/0.7399, allocations: 206.8 kB / 1.092 GB, free: 114.6 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004208/0.7441, allocations: 2.992 MB / 1.095 GB, free: 113.3 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.588e-06/0.7441, allocations: 11.81 kB / 1.095 GB, free: 113.3 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.123e-05/0.7441, allocations: 11.88 kB / 1.095 GB, free: 113.3 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.919e-06/0.7441, allocations: 7.781 kB / 1.095 GB, free: 113.3 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009931/0.7541, allocations: 7.326 MB / 1.102 GB, free: 109.6 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.243e-05/0.7541, allocations: 4.688 kB / 1.102 GB, free: 109.6 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007623/0.7549, allocations: 186.3 kB / 1.102 GB, free: 109.5 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002164/0.757, allocations: 0.8243 MB / 1.103 GB, free: 109.1 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.53e-05/0.7571, allocations: 35.12 kB / 1.103 GB, free: 109 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01282/0.77, allocations: 20.33 MB / 1.123 GB, free: 90.08 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.148e-06/0.77, allocations: 3.812 kB / 1.123 GB, free: 90.08 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00423/0.7742, allocations: 3.027 MB / 1.126 GB, free: 88.02 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007057/0.775, allocations: 462.4 kB / 1.126 GB, free: 87.54 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001928/0.7752, allocations: 35.98 kB / 1.126 GB, free: 87.51 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007464/0.7759, allocations: 63.92 kB / 1.126 GB, free: 87.45 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003016/0.7762, allocations: 132.6 kB / 1.126 GB, free: 87.31 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.353e-05/0.7763, allocations: 40 kB / 1.126 GB, free: 87.27 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001015/0.7773, allocations: 0.9717 MB / 1.127 GB, free: 86.28 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.61e-07/0.7773, allocations: 0 / 1.127 GB, free: 86.28 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.002287/0.7796, allocations: 0.7852 MB / 1.128 GB, free: 85.49 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 (91): * Single equations (assignments): 79 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001861/0.7798, allocations: 146.6 kB / 1.128 GB, free: 85.34 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.004444/0.7843, allocations: 4.019 MB / 1.132 GB, free: 81.19 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.686e-06/0.7843, allocations: 1 kB / 1.132 GB, free: 81.19 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.002782/0.7871, allocations: 2.733 MB / 1.135 GB, free: 78.3 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003505/0.7906, allocations: 0.6712 MB / 1.135 GB, free: 77.65 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01009/0.8007, allocations: 9.798 MB / 1.145 GB, free: 67.77 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002511/0.8033, allocations: 3.17 MB / 1.148 GB, free: 64.57 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004586/0.8037, allocations: 131.4 kB / 1.148 GB, free: 64.44 MB / 0.698 GB Notification: Performance of SimCode: time 6.81e-07/0.8037, allocations: 4 kB / 1.148 GB, free: 64.44 MB / 0.698 GB Notification: Performance of Templates: time 0.5704/1.374, allocations: 320.9 MB / 1.462 GB, free: 244.8 MB / 0.8698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.makefile (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe 2>&1)