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_R_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_R_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001294/0.001294, 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.002267/0.002267, allocations: 201 kB / 16.26 MB, free: 6.617 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.672/1.672, allocations: 205.1 MB / 222.1 MB, free: 4.621 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.602/1.602, allocations: 251.6 MB / 0.5089 GB, free: 3.34 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.001414/0.001414, allocations: 60.47 kB / 0.6218 GB, free: 1.879 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5914/0.5928, allocations: 104.7 MB / 0.724 GB, free: 13.26 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N): time 0.04285/0.6357, allocations: 37.47 MB / 0.7606 GB, free: 7.672 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.02309/0.6589, allocations: 10.99 MB / 0.7713 GB, free: 12.65 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005331/0.6643, allocations: 143.2 kB / 0.7715 GB, free: 12.51 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.01153/0.6759, allocations: 4.076 MB / 0.7754 GB, free: 8.426 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.007104/0.683, allocations: 2.049 MB / 0.7774 GB, free: 6.367 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.006178/0.6892, allocations: 1.968 MB / 0.7794 GB, free: 4.402 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.01396/0.7031, allocations: 9.299 MB / 0.7884 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02764/0.7308, allocations: 13.58 MB / 0.8017 GB, free: 13.39 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0101/0.741, allocations: 4.05 MB / 0.8057 GB, free: 9.324 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008815/0.7498, allocations: 4.713 MB / 0.8103 GB, free: 4.598 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.003406/0.7533, allocations: 0.8281 MB / 0.8111 GB, free: 3.77 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005922/0.7592, allocations: 1.588 MB / 0.8126 GB, free: 2.18 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.00667/0.7659, allocations: 3.15 MB / 0.8157 GB, free: 15.02 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.01064/0.7766, allocations: 3.649 MB / 0.8193 GB, free: 11.36 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.01905/0.7957, allocations: 12.31 MB / 0.8313 GB, free: 15.02 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 7.013e-06/0.7957, allocations: 0 / 0.8313 GB, free: 15.02 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.716e-06/0.7958, allocations: 0 / 0.8313 GB, free: 15.02 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 0.0004985/0.7963, allocations: 3.938 kB / 0.8313 GB, free: 15.01 MB / 0.6544 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1524 * Number of variables: 1524 Notification: Performance of Generate backend data structure: time 0.02193/0.8182, allocations: 6.322 MB / 0.8375 GB, free: 8.617 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.713e-05/0.8183, allocations: 8.031 kB / 0.8375 GB, free: 8.609 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006641/0.8249, allocations: 1.063 MB / 0.8385 GB, free: 7.539 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007766/0.8327, allocations: 3.427 MB / 0.8418 GB, free: 4.059 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004945/0.8333, allocations: 423.7 kB / 0.8423 GB, free: 3.645 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002689/0.836, allocations: 0.5433 MB / 0.8428 GB, free: 3.102 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02681/0.8628, allocations: 9.377 MB / 0.8519 GB, free: 9.391 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002764/0.8631, allocations: 19.78 kB / 0.852 GB, free: 9.371 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002071/0.8652, allocations: 248 kB / 0.8522 GB, free: 9.129 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007601/0.866, allocations: 422.9 kB / 0.8526 GB, free: 8.715 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01772/0.8837, allocations: 7.123 MB / 0.8596 GB, free: 1.582 MB / 0.67 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05652/0.9403, allocations: 41.31 MB / 0.8999 GB, free: 4.527 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005143/0.9454, allocations: 3.108 MB / 0.9029 GB, free: 1.406 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.4775/1.423, allocations: 2.133 MB / 0.905 GB, free: 162.9 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000284/1.423, allocations: 22.75 kB / 0.905 GB, free: 162.9 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.833e-05/1.423, allocations: 61.61 kB / 0.9051 GB, free: 162.8 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=209): time 5.209e-06/1.423, allocations: 0 / 0.9051 GB, free: 162.8 MB / 0.7169 GB Notification: Performance of matching and sorting (n=212): time 0.02949/1.453, allocations: 10.56 MB / 0.9154 GB, free: 159.5 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.833e-05/1.453, allocations: 77.25 kB / 0.9155 GB, free: 159.5 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003139/1.456, allocations: 2.009 MB / 0.9174 GB, free: 158.7 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0003566/1.457, allocations: 61.55 kB / 0.9175 GB, free: 158.6 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.001314/1.458, allocations: 2.403 MB / 0.9199 GB, free: 156.8 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.000733/1.459, allocations: 0.7271 MB / 0.9206 GB, free: 156.3 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007744/1.459, allocations: 486.3 kB / 0.921 GB, free: 156 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.95e-05/1.459, allocations: 301.1 kB / 0.9213 GB, free: 155.7 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001621/1.461, allocations: 1.376 MB / 0.9227 GB, free: 155.2 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001838/1.463, allocations: 2.102 MB / 0.9247 GB, free: 153.8 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003831/1.467, allocations: 3.762 MB / 0.9284 GB, free: 151.6 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.554e-05/1.467, allocations: 9.906 kB / 0.9284 GB, free: 151.6 MB / 0.7169 GB Notification: Performance of matching and sorting (n=339) (initialization): time 0.007376/1.474, allocations: 5.071 MB / 0.9333 GB, free: 149.4 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 3.784e-05/1.474, allocations: 15.25 kB / 0.9334 GB, free: 149.4 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.238e-05/1.474, allocations: 30.22 kB / 0.9334 GB, free: 149.4 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003329/1.478, allocations: 1.595 MB / 0.9349 GB, free: 148.7 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001716/1.479, allocations: 454.1 kB / 0.9354 GB, free: 148.6 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01777/1.497, allocations: 18.59 MB / 0.9535 GB, free: 130.5 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002856/1.5, allocations: 147.9 kB / 0.9537 GB, free: 130.4 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002934/1.5, allocations: 110.5 kB / 0.9538 GB, free: 130.3 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 (231): * Single equations (assignments): 227 * 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 {(7,31,57.1%), (6,24,66.7%), (4,18,100.0%), (4,18,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003337/1.504, allocations: 1.946 MB / 0.9557 GB, free: 128.3 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007134/1.504, allocations: 288.7 kB / 0.956 GB, free: 128.1 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005725/1.51, allocations: 4.453 MB / 0.9603 GB, free: 123.6 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.51e-05/1.51, allocations: 20 kB / 0.9603 GB, free: 123.6 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.804e-05/1.51, allocations: 16 kB / 0.9603 GB, free: 123.5 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.666e-05/1.51, allocations: 7.969 kB / 0.9603 GB, free: 123.5 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01342/1.524, allocations: 9.664 MB / 0.9698 GB, free: 113.8 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.223e-05/1.524, allocations: 4 kB / 0.9698 GB, free: 113.8 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009062/1.525, allocations: 237.9 kB / 0.97 GB, free: 113.5 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002827/1.527, allocations: 1.427 MB / 0.9714 GB, free: 112.1 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002025/1.528, allocations: 40 kB / 0.9714 GB, free: 112.1 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01694/1.545, allocations: 18.59 MB / 0.9896 GB, free: 92.9 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.552e-06/1.545, allocations: 11.94 kB / 0.9896 GB, free: 92.89 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006118/1.551, allocations: 4.533 MB / 0.994 GB, free: 88.27 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001613/1.552, allocations: 0.6342 MB / 0.9947 GB, free: 87.61 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000368/1.553, allocations: 39.94 kB / 0.9947 GB, free: 87.57 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001171/1.554, allocations: 119.9 kB / 0.9948 GB, free: 87.46 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005448/1.555, allocations: 185.6 kB / 0.995 GB, free: 87.27 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001155/1.555, allocations: 56 kB / 0.995 GB, free: 87.22 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.001466/1.556, allocations: 1.315 MB / 0.9963 GB, free: 85.89 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.3e-07/1.556, allocations: 0 / 0.9963 GB, free: 85.89 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.003741/1.56, allocations: 1.137 MB / 0.9974 GB, free: 84.76 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 (107): * Single equations (assignments): 103 * 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 {(4,18,100.0%), (6,24,66.7%), (4,18,100.0%), (6,32,66.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003941/1.56, allocations: 167 kB / 0.9976 GB, free: 84.59 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.008959/1.569, allocations: 5.911 MB / 1.003 GB, free: 78.64 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.803e-05/1.569, allocations: 0 / 1.003 GB, free: 78.64 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.004335/1.574, allocations: 2.927 MB / 1.006 GB, free: 75.67 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005151/1.579, allocations: 0.8808 MB / 1.007 GB, free: 74.81 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01698/1.596, allocations: 11.77 MB / 1.019 GB, free: 62.96 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003304/1.599, allocations: 3.693 MB / 1.022 GB, free: 59.24 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.002144/1.601, allocations: 0.5518 MB / 1.023 GB, free: 58.68 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003618/1.602, allocations: 147.4 kB / 1.023 GB, free: 58.54 MB / 0.7169 GB Notification: Performance of SimCode: time 1.443e-06/1.602, allocations: 3.938 kB / 1.023 GB, free: 58.54 MB / 0.7169 GB Notification: Performance of Templates: time 0.07992/1.682, allocations: 53.1 MB / 1.075 GB, free: 6.211 MB / 0.7169 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.makefile (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe 2>&1)