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.001211/0.001212, allocations: 103.4 kB / 15.33 MB, free: 0.5039 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.001234/0.001234, allocations: 197.2 kB / 16.25 MB, free: 6.621 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.56/1.56, allocations: 205.1 MB / 222.1 MB, free: 4.742 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.587/1.587, allocations: 251.7 MB / 0.5089 GB, free: 3.289 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.001638/0.001638, allocations: 68.47 kB / 0.6218 GB, free: 1.855 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6595/0.6612, allocations: 104.7 MB / 0.724 GB, free: 13.21 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N): time 0.04209/0.7033, allocations: 34.38 MB / 0.7576 GB, free: 10.71 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.02213/0.7255, allocations: 11.53 MB / 0.7688 GB, free: 15.15 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004925/0.7305, allocations: 143.2 kB / 0.769 GB, free: 15.01 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.01104/0.7417, allocations: 3.998 MB / 0.7729 GB, free: 11 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.009796/0.7515, allocations: 1.82 MB / 0.7747 GB, free: 9.176 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.01041/0.762, allocations: 2.191 MB / 0.7768 GB, free: 6.988 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.01517/0.7772, allocations: 8.483 MB / 0.7851 GB, free: 14.48 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02658/0.8039, allocations: 13.43 MB / 0.7982 GB, free: 0.9453 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009801/0.8138, allocations: 3.801 MB / 0.8019 GB, free: 13.13 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01129/0.8251, allocations: 4.386 MB / 0.8062 GB, free: 8.734 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.004497/0.8297, allocations: 0.7852 MB / 0.807 GB, free: 7.949 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008099/0.8378, allocations: 2.024 MB / 0.8089 GB, free: 5.922 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.007229/0.8451, allocations: 3.057 MB / 0.8119 GB, free: 2.859 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.01178/0.8569, allocations: 3.4 MB / 0.8152 GB, free: 15.44 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.02163/0.8786, allocations: 12.02 MB / 0.827 GB, free: 3.391 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 1.042e-05/0.8786, allocations: 4 kB / 0.827 GB, free: 3.387 MB / 0.6387 GB Notification: Performance of FrontEnd: time 2.134e-06/0.8787, allocations: 0 / 0.827 GB, free: 3.387 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 0.0005056/0.8792, allocations: 0 / 0.827 GB, free: 3.387 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.01998/0.8992, allocations: 5.787 MB / 0.8326 GB, free: 13.53 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 5.496e-05/0.8992, allocations: 12.03 kB / 0.8326 GB, free: 13.52 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007808/0.9071, allocations: 1.067 MB / 0.8337 GB, free: 12.44 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008793/0.9159, allocations: 3.255 MB / 0.8369 GB, free: 9.129 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004702/0.9164, allocations: 415.5 kB / 0.8373 GB, free: 8.723 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002789/0.9192, allocations: 0.5353 MB / 0.8378 GB, free: 8.188 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02798/0.9472, allocations: 9.083 MB / 0.8467 GB, free: 14.79 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005084/0.9477, allocations: 27.77 kB / 0.8467 GB, free: 14.76 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002935/0.9507, allocations: 236 kB / 0.8469 GB, free: 14.53 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005049/0.9512, allocations: 346.8 kB / 0.8472 GB, free: 14.19 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02039/0.9716, allocations: 6.83 MB / 0.8539 GB, free: 7.348 MB / 0.67 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05902/1.031, allocations: 40.12 MB / 0.8931 GB, free: 11.52 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004716/1.036, allocations: 3.11 MB / 0.8961 GB, free: 8.266 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002927/1.038, allocations: 1.962 MB / 0.898 GB, free: 6.305 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001723/1.039, allocations: 22 kB / 0.8981 GB, free: 6.285 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.819e-05/1.039, allocations: 48.56 kB / 0.8981 GB, free: 6.227 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=179): time 4.398e-06/1.039, allocations: 0 / 0.8981 GB, free: 6.227 MB / 0.7169 GB Notification: Performance of matching and sorting (n=182): time 0.5673/1.606, allocations: 9.975 MB / 0.9078 GB, free: 162.8 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.852e-05/1.606, allocations: 79.23 kB / 0.9079 GB, free: 162.7 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003212/1.609, allocations: 1.532 MB / 0.9094 GB, free: 162.1 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0003327/1.61, allocations: 51.73 kB / 0.9095 GB, free: 162 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.002178/1.612, allocations: 2.255 MB / 0.9117 GB, free: 160.3 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007812/1.613, allocations: 0.6339 MB / 0.9123 GB, free: 159.8 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008206/1.614, allocations: 410.2 kB / 0.9127 GB, free: 159.6 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.479e-05/1.614, allocations: 302.8 kB / 0.913 GB, free: 159.3 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00218/1.616, allocations: 1.174 MB / 0.9141 GB, free: 158.9 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00261/1.618, allocations: 1.882 MB / 0.916 GB, free: 157.6 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004637/1.623, allocations: 3.37 MB / 0.9192 GB, free: 155.5 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.031e-05/1.623, allocations: 6.438 kB / 0.9192 GB, free: 155.5 MB / 0.7169 GB Notification: Performance of matching and sorting (n=285) (initialization): time 0.007458/1.631, allocations: 4.577 MB / 0.9237 GB, free: 153.7 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 3.811e-05/1.631, allocations: 15.81 kB / 0.9237 GB, free: 153.7 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.946e-05/1.631, allocations: 22.97 kB / 0.9238 GB, free: 153.7 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003404/1.634, allocations: 1.596 MB / 0.9253 GB, free: 153.4 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001199/1.635, allocations: 351.8 kB / 0.9256 GB, free: 153.3 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01881/1.654, allocations: 18.6 MB / 0.9438 GB, free: 140.6 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002354/1.657, allocations: 119.9 kB / 0.9439 GB, free: 140.5 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002288/1.657, allocations: 103.9 kB / 0.944 GB, free: 140.4 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.003394/1.66, allocations: 1.883 MB / 0.9459 GB, free: 138.5 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006084/1.661, allocations: 229.2 kB / 0.9461 GB, free: 138.3 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005657/1.666, allocations: 4.1 MB / 0.9501 GB, free: 134.1 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.621e-05/1.667, allocations: 19.94 kB / 0.9501 GB, free: 134.1 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.348e-05/1.667, allocations: 22.31 kB / 0.9501 GB, free: 134.1 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.486e-05/1.667, allocations: 7.969 kB / 0.9501 GB, free: 134.1 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01371/1.68, allocations: 9.468 MB / 0.9594 GB, free: 124.4 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.215e-05/1.68, allocations: 11.38 kB / 0.9594 GB, free: 124.4 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007043/1.681, allocations: 176.3 kB / 0.9596 GB, free: 124.2 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002871/1.684, allocations: 1.368 MB / 0.9609 GB, free: 122.9 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001176/1.684, allocations: 39.94 kB / 0.9609 GB, free: 122.8 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01599/1.7, allocations: 17.36 MB / 0.9779 GB, free: 104.9 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.779e-06/1.7, allocations: 4 kB / 0.9779 GB, free: 104.9 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005802/1.706, allocations: 4.073 MB / 0.9819 GB, free: 100.7 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001423/1.707, allocations: 0.5257 MB / 0.9824 GB, free: 100.2 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003661/1.708, allocations: 36 kB / 0.9824 GB, free: 100.2 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009066/1.709, allocations: 83.89 kB / 0.9825 GB, free: 100.1 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000575/1.709, allocations: 173.6 kB / 0.9827 GB, free: 99.91 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001093/1.709, allocations: 48 kB / 0.9827 GB, free: 99.86 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.001264/1.711, allocations: 1.001 MB / 0.9837 GB, free: 98.84 MB / 0.7169 GB Notification: Performance of sort global known variables: time 2.7e-07/1.711, allocations: 0 / 0.9837 GB, free: 98.84 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.003846/1.715, allocations: 0.9844 MB / 0.9847 GB, free: 97.85 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.0003456/1.715, allocations: 151 kB / 0.9848 GB, free: 97.7 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.007775/1.723, allocations: 5.194 MB / 0.9899 GB, free: 92.46 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.022e-05/1.723, allocations: 0 / 0.9899 GB, free: 92.46 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.003613/1.726, allocations: 2.664 MB / 0.9925 GB, free: 89.76 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00348/1.73, allocations: 0.7762 MB / 0.9932 GB, free: 89.02 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01556/1.745, allocations: 11.01 MB / 1.004 GB, free: 77.95 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003754/1.749, allocations: 3.579 MB / 1.007 GB, free: 74.34 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.001614/1.751, allocations: 459.9 kB / 1.008 GB, free: 73.89 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003217/1.751, allocations: 123.4 kB / 1.008 GB, free: 73.77 MB / 0.7169 GB Notification: Performance of SimCode: time 1.082e-06/1.751, allocations: 0 / 1.008 GB, free: 73.77 MB / 0.7169 GB Notification: Performance of Templates: time 0.07174/1.823, allocations: 44.22 MB / 1.051 GB, free: 30.06 MB / 0.7169 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)