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_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_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001378/0.001378, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001683/0.001683, allocations: 190.6 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.613/1.613, allocations: 205.1 MB / 222.1 MB, free: 4.691 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.627/1.627, allocations: 251.6 MB / 0.5089 GB, free: 3.301 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.001382/0.001382, allocations: 67.91 kB / 0.6218 GB, free: 1.84 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5974/0.5988, allocations: 104.7 MB / 0.724 GB, free: 13.11 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N): time 0.0382/0.6371, allocations: 32.88 MB / 0.7561 GB, free: 12.12 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.02714/0.6643, allocations: 14.75 MB / 0.7705 GB, free: 13.32 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.007289/0.6716, allocations: 139.2 kB / 0.7706 GB, free: 13.18 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.01241/0.6843, allocations: 3.412 MB / 0.774 GB, free: 9.766 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.01554/0.6998, allocations: 2.663 MB / 0.7766 GB, free: 7.09 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.009962/0.7098, allocations: 2.127 MB / 0.7787 GB, free: 4.965 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.01574/0.7256, allocations: 8.774 MB / 0.7872 GB, free: 12.16 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02405/0.7497, allocations: 11.37 MB / 0.7983 GB, free: 0.6797 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01012/0.7599, allocations: 3.98 MB / 0.8022 GB, free: 12.69 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009532/0.7695, allocations: 4.217 MB / 0.8063 GB, free: 8.457 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.003486/0.773, allocations: 0.7148 MB / 0.807 GB, free: 7.742 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009291/0.7824, allocations: 1.724 MB / 0.8087 GB, free: 6.016 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.008085/0.7905, allocations: 2.818 MB / 0.8115 GB, free: 3.191 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.01225/0.8028, allocations: 3.384 MB / 0.8148 GB, free: 15.79 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.02168/0.8245, allocations: 11.19 MB / 0.8257 GB, free: 4.574 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 1.142e-05/0.8246, allocations: 0 / 0.8257 GB, free: 4.574 MB / 0.6387 GB Notification: Performance of FrontEnd: time 2.865e-06/0.8246, allocations: 0 / 0.8257 GB, free: 4.574 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 0.0005566/0.8252, allocations: 0 / 0.8257 GB, free: 4.574 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: 1338 * Number of variables: 1338 Notification: Performance of Generate backend data structure: time 0.0198/0.845, allocations: 5.979 MB / 0.8315 GB, free: 14.52 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 6.157e-05/0.8451, allocations: 8.031 kB / 0.8315 GB, free: 14.51 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008428/0.8535, allocations: 1.142 MB / 0.8327 GB, free: 13.36 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008577/0.8621, allocations: 3.324 MB / 0.8359 GB, free: 9.961 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003997/0.8626, allocations: 378.4 kB / 0.8363 GB, free: 9.59 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002202/0.8648, allocations: 0.4922 MB / 0.8367 GB, free: 9.098 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02134/0.8861, allocations: 7.997 MB / 0.8446 GB, free: 0.8203 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003607/0.8865, allocations: 27.77 kB / 0.8446 GB, free: 0.793 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001838/0.8884, allocations: 212 kB / 0.8448 GB, free: 0.5859 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001228/0.8897, allocations: 437.6 kB / 0.8452 GB, free: 160 kB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01442/0.9041, allocations: 6.085 MB / 0.8511 GB, free: 10.06 MB / 0.67 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05224/0.9564, allocations: 35.12 MB / 0.8854 GB, free: 3.758 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00293/0.9593, allocations: 2.026 MB / 0.8874 GB, free: 1.723 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002442/0.9618, allocations: 1.861 MB / 0.8892 GB, free: 15.86 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001161/0.9619, allocations: 18 kB / 0.8893 GB, free: 15.85 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.947e-05/0.962, allocations: 64.48 kB / 0.8893 GB, free: 15.77 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=171): time 3.126e-06/0.962, allocations: 0 / 0.8893 GB, free: 15.77 MB / 0.7169 GB Notification: Performance of matching and sorting (n=276): time 0.6749/1.637, allocations: 38.87 MB / 0.9273 GB, free: 158.5 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.942e-05/1.637, allocations: 80.48 kB / 0.9274 GB, free: 158.5 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003941/1.641, allocations: 2.278 MB / 0.9296 GB, free: 157.3 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0005971/1.642, allocations: 72.89 kB / 0.9297 GB, free: 157.2 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.001696/1.643, allocations: 2.271 MB / 0.9319 GB, free: 155.2 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.001153/1.644, allocations: 0.9367 MB / 0.9328 GB, free: 154.4 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009361/1.645, allocations: 0.5094 MB / 0.9333 GB, free: 154 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 7.805e-05/1.645, allocations: 305.1 kB / 0.9336 GB, free: 153.7 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002503/1.648, allocations: 1.973 MB / 0.9355 GB, free: 151.8 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002821/1.651, allocations: 2.602 MB / 0.938 GB, free: 148.9 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00511/1.656, allocations: 4.93 MB / 0.9429 GB, free: 143.7 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.068e-05/1.656, allocations: 4 kB / 0.9429 GB, free: 143.7 MB / 0.7169 GB Notification: Performance of matching and sorting (n=376) (initialization): time 0.01213/1.668, allocations: 7.76 MB / 0.9504 GB, free: 135.9 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 3.788e-05/1.668, allocations: 12 kB / 0.9505 GB, free: 135.9 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.661e-05/1.668, allocations: 16 kB / 0.9505 GB, free: 135.9 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008185/1.676, allocations: 3.239 MB / 0.9536 GB, free: 132.6 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001598/1.678, allocations: 403.2 kB / 0.954 GB, free: 132.2 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.034/1.712, allocations: 33.91 MB / 0.9871 GB, free: 97.49 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003305/1.715, allocations: 167.7 kB / 0.9873 GB, free: 97.33 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002467/1.716, allocations: 108 kB / 0.9874 GB, free: 97.22 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 (202): * Single equations (assignments): 196 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(10,28,71.0%), (10,28,65.0%), (6,24,77.8%), (6,24,77.8%), (5,17,84.0%), (5,17,84.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003064/1.719, allocations: 1.801 MB / 0.9892 GB, free: 95.41 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000712/1.719, allocations: 336 kB / 0.9895 GB, free: 95.08 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01117/1.731, allocations: 7.349 MB / 0.9966 GB, free: 87.65 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.794e-05/1.731, allocations: 35.98 kB / 0.9967 GB, free: 87.61 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.369e-05/1.731, allocations: 28 kB / 0.9967 GB, free: 87.59 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.463e-05/1.731, allocations: 13.73 kB / 0.9967 GB, free: 87.57 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01875/1.75, allocations: 12.92 MB / 1.009 GB, free: 74.53 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.539e-05/1.75, allocations: 12.03 kB / 1.009 GB, free: 74.52 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008481/1.75, allocations: 235.6 kB / 1.01 GB, free: 74.29 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007035/1.757, allocations: 2.872 MB / 1.012 GB, free: 71.39 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002966/1.758, allocations: 56 kB / 1.012 GB, free: 71.34 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03364/1.791, allocations: 32.69 MB / 1.044 GB, free: 37.82 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.574e-06/1.792, allocations: 11.94 kB / 1.044 GB, free: 37.81 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01064/1.802, allocations: 6.871 MB / 1.051 GB, free: 30.72 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002202/1.804, allocations: 0.786 MB / 1.052 GB, free: 29.91 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000593/1.805, allocations: 59.83 kB / 1.052 GB, free: 29.86 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00173/1.807, allocations: 171.7 kB / 1.052 GB, free: 29.69 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009829/1.808, allocations: 257.5 kB / 1.052 GB, free: 29.44 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001743/1.808, allocations: 72 kB / 1.052 GB, free: 29.37 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.001995/1.81, allocations: 1.525 MB / 1.054 GB, free: 27.84 MB / 0.7169 GB Notification: Performance of sort global known variables: time 4.81e-07/1.81, allocations: 4 kB / 1.054 GB, free: 27.84 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.004596/1.815, allocations: 1.352 MB / 1.055 GB, free: 26.49 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 (105): * Single equations (assignments): 99 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(5,17,84.0%), (6,24,77.8%), (10,28,65.0%), (5,17,92.0%), (6,24,77.8%), (10,28,65.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003997/1.815, allocations: 175 kB / 1.055 GB, free: 26.3 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.01277/1.828, allocations: 8.375 MB / 1.064 GB, free: 17.86 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.347e-05/1.828, allocations: 0 / 1.064 GB, free: 17.86 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.006909/1.835, allocations: 4.413 MB / 1.068 GB, free: 13.37 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005251/1.84, allocations: 1.107 MB / 1.069 GB, free: 12.31 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02012/1.86, allocations: 12.48 MB / 1.081 GB, free: 15.76 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0046/1.865, allocations: 3.65 MB / 1.085 GB, free: 12.08 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.002542/1.867, allocations: 0.5595 MB / 1.085 GB, free: 11.52 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004173/1.868, allocations: 155.4 kB / 1.085 GB, free: 11.36 MB / 0.7325 GB Notification: Performance of SimCode: time 1.633e-06/1.868, allocations: 0 / 1.085 GB, free: 11.36 MB / 0.7325 GB Notification: Performance of Templates: time 0.1429/2.011, allocations: 78.01 MB / 1.162 GB, free: 14.44 MB / 0.8106 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.makefile (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe 2>&1)