Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_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 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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_8_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_8_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.0008171/0.0008171, allocations: 91.77 kB / 15.06 MB, free: 1.098 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.0009056/0.0009057, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.408/1.408, allocations: 205.4 MB / 222.1 MB, free: 5.641 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.695/1.695, allocations: 292.7 MB / 0.5499 GB, free: 14.54 MB / 462.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.000491/0.0004911, allocations: 13.47 kB / 0.6737 GB, free: 26.32 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2248/0.2254, allocations: 116.3 MB / 0.7873 GB, free: 11.89 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N): time 0.03626/0.2617, allocations: 34.48 MB / 0.821 GB, free: 9.316 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.01723/0.279, allocations: 10.58 MB / 0.8313 GB, free: 14.7 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003895/0.2829, allocations: 131.2 kB / 0.8314 GB, free: 14.57 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.002575/0.2855, allocations: 0.7635 MB / 0.8322 GB, free: 13.8 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.00657/0.2921, allocations: 1.791 MB / 0.8339 GB, free: 12 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.00488/0.297, allocations: 1.288 MB / 0.8352 GB, free: 10.72 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.01275/0.3098, allocations: 10.35 MB / 0.8453 GB, free: 352 kB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02064/0.3304, allocations: 12.67 MB / 0.8577 GB, free: 3.602 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005651/0.3361, allocations: 2.872 MB / 0.8605 GB, free: 0.7188 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007242/0.3434, allocations: 3.761 MB / 0.8641 GB, free: 12.95 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.001371/0.3448, allocations: 344 kB / 0.8645 GB, free: 12.61 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002832/0.3477, allocations: 0.7103 MB / 0.8652 GB, free: 11.9 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.003278/0.351, allocations: 2.514 MB / 0.8676 GB, free: 9.379 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.00238/0.3534, allocations: 1.198 MB / 0.8688 GB, free: 8.172 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.01218/0.3655, allocations: 10.18 MB / 0.8787 GB, free: 13.96 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 7.273e-06/0.3656, allocations: 0 / 0.8787 GB, free: 13.96 MB / 0.7012 GB Notification: Performance of FrontEnd: time 2.815e-06/0.3656, allocations: 4 kB / 0.8787 GB, free: 13.96 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 0.0004058/0.366, allocations: 0 / 0.8787 GB, free: 13.96 MB / 0.7012 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.0135/0.3795, allocations: 5.152 MB / 0.8838 GB, free: 8.734 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 4.482e-05/0.3796, allocations: 12.03 kB / 0.8838 GB, free: 8.723 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006562/0.3862, allocations: 1.07 MB / 0.8848 GB, free: 7.645 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006777/0.393, allocations: 3.341 MB / 0.8881 GB, free: 4.25 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002946/0.3933, allocations: 423.4 kB / 0.8885 GB, free: 3.836 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001042/0.3943, allocations: 0.5506 MB / 0.889 GB, free: 3.285 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01628/0.4106, allocations: 9.322 MB / 0.8981 GB, free: 9.625 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001051/0.4108, allocations: 15.88 kB / 0.8981 GB, free: 9.609 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005601/0.4113, allocations: 248 kB / 0.8984 GB, free: 9.367 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005849/0.4119, allocations: 426.9 kB / 0.8988 GB, free: 8.949 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01313/0.4251, allocations: 7.084 MB / 0.9057 GB, free: 1.855 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5041/0.9292, allocations: 41.35 MB / 0.9461 GB, free: 73.59 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005022/0.9342, allocations: 3.099 MB / 0.9491 GB, free: 72.38 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003326/0.9376, allocations: 2.13 MB / 0.9512 GB, free: 71.54 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001289/0.9378, allocations: 22.48 kB / 0.9512 GB, free: 71.54 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.175e-05/0.9378, allocations: 58.53 kB / 0.9513 GB, free: 71.48 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=209): time 1.826e-05/0.9378, allocations: 1.562 kB / 0.9513 GB, free: 71.48 MB / 0.7169 GB Notification: Performance of matching and sorting (n=212): time 0.02192/0.9598, allocations: 10.45 MB / 0.9615 GB, free: 65.62 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.456e-05/0.9598, allocations: 74.72 kB / 0.9615 GB, free: 65.56 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002789/0.9626, allocations: 1.981 MB / 0.9635 GB, free: 64.47 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0002232/0.9629, allocations: 64.52 kB / 0.9635 GB, free: 64.41 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.001102/0.964, allocations: 2.403 MB / 0.9659 GB, free: 62.3 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.000495/0.9645, allocations: 0.7347 MB / 0.9666 GB, free: 61.67 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001306/0.9646, allocations: 55.03 kB / 0.9667 GB, free: 61.63 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001219/0.9648, allocations: 412.2 kB / 0.9671 GB, free: 61.25 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001634/0.9664, allocations: 1.363 MB / 0.9684 GB, free: 60.54 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001848/0.9683, allocations: 2.093 MB / 0.9704 GB, free: 58.87 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002025/0.9703, allocations: 1.722 MB / 0.9721 GB, free: 57.95 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.42e-05/0.9703, allocations: 7.938 kB / 0.9721 GB, free: 57.95 MB / 0.7169 GB Notification: Performance of matching and sorting (n=339) (initialization): time 0.006785/0.9771, allocations: 5.051 MB / 0.9771 GB, free: 55.26 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.88e-05/0.9772, allocations: 11.81 kB / 0.9771 GB, free: 55.26 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.362e-05/0.9772, allocations: 23.38 kB / 0.9771 GB, free: 55.26 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002821/0.98, allocations: 1.566 MB / 0.9786 GB, free: 54.59 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00143/0.9815, allocations: 446.8 kB / 0.979 GB, free: 54.48 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01557/0.997, allocations: 17.08 MB / 0.9957 GB, free: 39.68 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002367/0.9994, allocations: 143.9 kB / 0.9959 GB, free: 39.54 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002155/0.9997, allocations: 104 kB / 0.996 GB, free: 39.43 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 (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(6,69.4%) 32,(6,66.7%) 24,(4,100.0%) 18,(4,100.0%) 18} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003041/1.003, allocations: 1.949 MB / 0.9979 GB, free: 37.47 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005695/1.003, allocations: 288.6 kB / 0.9981 GB, free: 37.19 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005954/1.009, allocations: 4.431 MB / 1.002 GB, free: 32.72 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.489e-05/1.009, allocations: 20 kB / 1.002 GB, free: 32.7 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.945e-05/1.009, allocations: 23.92 kB / 1.003 GB, free: 32.68 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.776e-05/1.009, allocations: 15.02 kB / 1.003 GB, free: 32.67 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01288/1.022, allocations: 9.64 MB / 1.012 GB, free: 22.93 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.059e-05/1.022, allocations: 8 kB / 1.012 GB, free: 22.92 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008531/1.023, allocations: 231.6 kB / 1.012 GB, free: 22.69 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002749/1.026, allocations: 1.423 MB / 1.014 GB, free: 21.26 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001335/1.026, allocations: 36 kB / 1.014 GB, free: 21.22 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01581/1.042, allocations: 17.07 MB / 1.03 GB, free: 3.633 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.78e-06/1.042, allocations: 11.94 kB / 1.03 GB, free: 3.621 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005986/1.048, allocations: 4.513 MB / 1.035 GB, free: 15.02 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001492/1.049, allocations: 0.6343 MB / 1.035 GB, free: 14.36 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003591/1.05, allocations: 44 kB / 1.035 GB, free: 14.32 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001122/1.051, allocations: 115.9 kB / 1.035 GB, free: 14.2 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003961/1.051, allocations: 177.6 kB / 1.036 GB, free: 14.03 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001243/1.051, allocations: 60 kB / 1.036 GB, free: 13.97 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.00174/1.053, allocations: 1.299 MB / 1.037 GB, free: 12.66 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.3e-07/1.053, allocations: 0 / 1.037 GB, free: 12.66 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.003699/1.057, allocations: 1.141 MB / 1.038 GB, free: 11.52 MB / 0.7325 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 (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(4,100.0%) 18,(6,66.7%) 24,(4,100.0%) 18,(6,66.7%) 32} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003526/1.057, allocations: 159 kB / 1.038 GB, free: 11.36 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.007159/1.064, allocations: 4.694 MB / 1.043 GB, free: 6.609 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.025e-05/1.065, allocations: 0 / 1.043 GB, free: 6.609 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.004489/1.069, allocations: 2.921 MB / 1.046 GB, free: 3.645 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003989/1.073, allocations: 0.8331 MB / 1.046 GB, free: 2.82 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01739/1.09, allocations: 11.21 MB / 1.057 GB, free: 7.523 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004493/1.095, allocations: 3.694 MB / 1.061 GB, free: 3.793 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.002242/1.097, allocations: 0.5518 MB / 1.062 GB, free: 3.234 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003855/1.098, allocations: 151.4 kB / 1.062 GB, free: 3.086 MB / 0.7481 GB Notification: Performance of SimCode: time 8.21e-07/1.098, allocations: 0 / 1.062 GB, free: 3.086 MB / 0.7481 GB Notification: Performance of Templates: time 0.08778/1.185, allocations: 48.81 MB / 1.109 GB, free: 2.973 MB / 0.795 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.sim & ./Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe 2>&1) Environment - environmentSimulation: