Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N") translateModel(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001214/0.001214, allocations: 107 kB / 16.52 MB, free: 6.656 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.001105/0.001105, allocations: 195.2 kB / 17.44 MB, free: 6.047 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.321/1.321, allocations: 222.9 MB / 241.1 MB, free: 13.63 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7286/0.7286, allocations: 115.3 MB / 406.6 MB, free: 6.473 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001324/0.001324, allocations: 67.91 kB / 493.6 MB, free: 0.8398 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3471/0.3485, allocations: 76.17 MB / 0.5564 GB, free: 35.56 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N): time 0.01229/0.3608, allocations: 11.88 MB / 0.568 GB, free: 27.6 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.008509/0.3694, allocations: 5.552 MB / 0.5734 GB, free: 23.84 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001446/0.3708, allocations: 33.09 kB / 0.5734 GB, free: 23.84 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002774/0.3737, allocations: 0.977 MB / 0.5744 GB, free: 23.27 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001984/0.3757, allocations: 0.6078 MB / 0.575 GB, free: 22.93 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002581/0.3783, allocations: 0.896 MB / 0.5759 GB, free: 22.39 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.004824/0.3831, allocations: 3.768 MB / 0.5796 GB, free: 21.19 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005842/0.389, allocations: 4.058 MB / 0.5835 GB, free: 19.68 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002134/0.3912, allocations: 0.9819 MB / 0.5845 GB, free: 19.3 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00232/0.3935, allocations: 1.339 MB / 0.5858 GB, free: 18.79 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000465/0.394, allocations: 163.5 kB / 0.5859 GB, free: 18.79 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001449/0.3954, allocations: 0.5267 MB / 0.5865 GB, free: 18.64 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001123/0.3966, allocations: 0.8456 MB / 0.5873 GB, free: 18.34 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0014/0.398, allocations: 0.9531 MB / 0.5882 GB, free: 17.76 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003025/0.401, allocations: 3.293 MB / 0.5914 GB, free: 15.73 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.801e-06/0.401, allocations: 0 / 0.5914 GB, free: 15.73 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.4011, allocations: 0.7188 kB / 0.5914 GB, free: 15.73 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.569e-05/0.4011, allocations: 0 / 0.5914 GB, free: 15.73 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 425 * Number of variables: 425 Notification: Performance of Generate backend data structure: time 0.004863/0.406, allocations: 2.081 MB / 0.5935 GB, free: 14.29 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.675e-05/0.4061, allocations: 13.56 kB / 0.5935 GB, free: 14.28 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003112/0.4092, allocations: 0.6994 MB / 0.5942 GB, free: 13.95 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002203/0.4114, allocations: 1.193 MB / 0.5953 GB, free: 12.71 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.839e-05/0.4115, allocations: 123.6 kB / 0.5954 GB, free: 12.59 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002851/0.4118, allocations: 160.1 kB / 0.5956 GB, free: 12.44 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004329/0.4161, allocations: 2.936 MB / 0.5985 GB, free: 9.438 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.528e-05/0.4162, allocations: 3.938 kB / 0.5985 GB, free: 9.434 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001839/0.4164, allocations: 71.98 kB / 0.5985 GB, free: 9.363 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003153/0.4167, allocations: 167.1 kB / 0.5987 GB, free: 9.199 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003324/0.42, allocations: 2.491 MB / 0.6011 GB, free: 6.703 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01132/0.4314, allocations: 10.79 MB / 0.6117 GB, free: 11.02 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001217/0.4326, allocations: 0.9003 MB / 0.6125 GB, free: 10.07 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006543/0.4333, allocations: 0.4904 MB / 0.613 GB, free: 9.574 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001395/0.4334, allocations: 101.5 kB / 0.6131 GB, free: 9.457 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.939e-05/0.4335, allocations: 34.94 kB / 0.6131 GB, free: 9.414 MB / 462.1 MB Notification: Performance of pre-optimization done (n=46): time 3.006e-06/0.4335, allocations: 0 / 0.6131 GB, free: 9.414 MB / 462.1 MB Notification: Performance of matching and sorting (n=70): time 0.02608/0.4596, allocations: 7.697 MB / 0.6207 GB, free: 1.641 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.735e-05/0.4597, allocations: 67.95 kB / 0.6207 GB, free: 1.562 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001428/0.4611, allocations: 0.922 MB / 0.6216 GB, free: 0.6328 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001566/0.4613, allocations: 37.7 kB / 0.6217 GB, free: 0.5898 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005536/0.4618, allocations: 0.7775 MB / 0.6224 GB, free: 15.8 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002388/0.4621, allocations: 244.5 kB / 0.6227 GB, free: 15.55 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003837/0.4625, allocations: 218.7 kB / 0.6229 GB, free: 15.34 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0002095/0.4627, allocations: 394.8 kB / 0.6232 GB, free: 14.94 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001144/0.4639, allocations: 0.7828 MB / 0.624 GB, free: 14.15 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001378/0.4652, allocations: 1.128 MB / 0.6251 GB, free: 12.87 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002452/0.4677, allocations: 1.943 MB / 0.627 GB, free: 10.78 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.776e-06/0.4677, allocations: 4 kB / 0.627 GB, free: 10.78 MB / 478.1 MB Notification: Performance of matching and sorting (n=127) (initialization): time 0.009424/0.4772, allocations: 3.604 MB / 0.6305 GB, free: 7.156 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.866e-05/0.4772, allocations: 8 kB / 0.6305 GB, free: 7.148 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.638e-05/0.4773, allocations: 12 kB / 0.6305 GB, free: 7.137 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007717/0.485, allocations: 1.896 MB / 0.6324 GB, free: 5.234 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009675/0.486, allocations: 223.6 kB / 0.6326 GB, free: 5.016 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01497/0.501, allocations: 9.797 MB / 0.6422 GB, free: 10.96 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001537/0.5026, allocations: 175.7 kB / 0.6423 GB, free: 10.79 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001123/0.5027, allocations: 55.92 kB / 0.6424 GB, free: 10.73 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002349/0.5051, allocations: 1.49 MB / 0.6439 GB, free: 9.238 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001305/0.5064, allocations: 1.1 MB / 0.6449 GB, free: 7.988 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002335/0.5087, allocations: 1.884 MB / 0.6468 GB, free: 5.953 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.324e-06/0.5088, allocations: 4 kB / 0.6468 GB, free: 5.949 MB / 494.1 MB Notification: Performance of matching and sorting (n=127) (initialization_lambda0): time 0.007587/0.5164, allocations: 3.049 MB / 0.6497 GB, free: 2.887 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.756e-05/0.5164, allocations: 12 kB / 0.6498 GB, free: 2.875 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.676e-05/0.5165, allocations: 8 kB / 0.6498 GB, free: 2.867 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004853/0.5213, allocations: 1.205 MB / 0.6509 GB, free: 1.66 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001145/0.5225, allocations: 267.5 kB / 0.6512 GB, free: 1.398 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008065/0.5306, allocations: 5.413 MB / 0.6565 GB, free: 11.85 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001486/0.5321, allocations: 167.9 kB / 0.6566 GB, free: 11.68 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001046/0.5322, allocations: 48 kB / 0.6567 GB, free: 11.64 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 49 * 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 (97): * Single equations (assignments): 95 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(4,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(4,12)} Notification: Performance of prepare postOptimizeDAE: time 0.0003493/0.5326, allocations: 247.9 kB / 0.6569 GB, free: 11.39 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001736/0.5328, allocations: 86.97 kB / 0.657 GB, free: 11.3 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008512/0.5413, allocations: 3.14 MB / 0.6601 GB, free: 8.137 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.912e-05/0.5413, allocations: 4 kB / 0.6601 GB, free: 8.133 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.877e-06/0.5414, allocations: 4 kB / 0.6601 GB, free: 8.129 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.732e-05/0.5414, allocations: 3.984 kB / 0.6601 GB, free: 8.125 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01173/0.5531, allocations: 5.266 MB / 0.6652 GB, free: 2.746 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.376e-05/0.5532, allocations: 4 kB / 0.6652 GB, free: 2.742 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004988/0.5537, allocations: 103.8 kB / 0.6653 GB, free: 2.641 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006763/0.5605, allocations: 1.717 MB / 0.667 GB, free: 0.918 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001462/0.5607, allocations: 16 kB / 0.667 GB, free: 0.9023 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01299/0.5737, allocations: 9.203 MB / 0.676 GB, free: 7.43 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.875e-06/0.5737, allocations: 0 / 0.676 GB, free: 7.43 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007933/0.5816, allocations: 3.026 MB / 0.679 GB, free: 4.355 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007483/0.5824, allocations: 320.2 kB / 0.6793 GB, free: 4.023 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001744/0.5826, allocations: 15.94 kB / 0.6793 GB, free: 4.008 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008726/0.5835, allocations: 135.8 kB / 0.6794 GB, free: 3.875 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002923/0.5838, allocations: 60.47 kB / 0.6795 GB, free: 3.816 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.268e-05/0.5839, allocations: 23.94 kB / 0.6795 GB, free: 3.793 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0009199/0.5848, allocations: 0.6668 MB / 0.6802 GB, free: 3.133 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5848, allocations: 0 / 0.6802 GB, free: 3.133 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.002384/0.5872, allocations: 0.6875 MB / 0.6808 GB, free: 2.445 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * 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 (42): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(4,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(4,12)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002632/0.5875, allocations: 123.1 kB / 0.6809 GB, free: 2.316 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.005713/0.5932, allocations: 3.467 MB / 0.6843 GB, free: 14.81 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 7.293e-06/0.5932, allocations: 0 / 0.6843 GB, free: 14.81 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.002022/0.5953, allocations: 1.24 MB / 0.6855 GB, free: 13.55 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001494/0.5968, allocations: 270.9 kB / 0.6858 GB, free: 13.29 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006815/0.6036, allocations: 4.372 MB / 0.6901 GB, free: 8.863 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001784/0.6054, allocations: 1.734 MB / 0.6918 GB, free: 7.098 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003209/0.6058, allocations: 71.36 kB / 0.6918 GB, free: 7.027 MB / 0.5294 GB Notification: Performance of SimCode: time 2.395e-06/0.6058, allocations: 4 kB / 0.6918 GB, free: 7.023 MB / 0.5294 GB Notification: Performance of Templates: time 0.05191/0.6577, allocations: 42.71 MB / 0.7335 GB, free: 12.39 MB / 0.5762 GB make -j1 -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.makefile (rm -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.sim & ./IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.pipe 2>&1)