Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE.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/Modelica 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/OpenIPSL 3.0.1/package.mo", uses=false) Using package OpenIPSL with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/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 Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 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(OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE,tolerance=0.001,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE") translateModel(OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE,tolerance=0.001,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001145/0.001145, allocations: 102.5 kB / 16.27 MB, free: 6.414 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.223/1.223, allocations: 222.9 MB / 239.9 MB, free: 4.633 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001178/0.001179, allocations: 200.4 kB / 290.2 MB, free: 2.34 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4212/0.4212, allocations: 78.53 MB / 418.9 MB, free: 3.207 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001441/0.001441, allocations: 75.89 kB / 498.1 MB, free: 6.438 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1105/0.1119, allocations: 68.19 MB / 0.553 GB, free: 2.219 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE): time 0.2038/0.3157, allocations: 14.96 MB / 0.5676 GB, free: 30.97 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.007632/0.3234, allocations: 4.597 MB / 0.5721 GB, free: 29.34 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002568/0.326, allocations: 28.66 kB / 0.5721 GB, free: 29.34 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002103/0.3281, allocations: 0.7797 MB / 0.5729 GB, free: 28.96 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00619/0.3343, allocations: 2.419 MB / 0.5753 GB, free: 28.02 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00257/0.3369, allocations: 1.325 MB / 0.5766 GB, free: 27.9 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.004593/0.3415, allocations: 4.865 MB / 0.5813 GB, free: 26.62 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009279/0.3425, allocations: 0.8079 MB / 0.5821 GB, free: 26.27 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001933/0.3444, allocations: 1.872 MB / 0.5839 GB, free: 25.32 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001748/0.3462, allocations: 2.446 MB / 0.5863 GB, free: 24.12 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004689/0.3467, allocations: 405.1 kB / 0.5867 GB, free: 24.12 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00106/0.3477, allocations: 0.6245 MB / 0.5873 GB, free: 24.05 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005312/0.3483, allocations: 0.9743 MB / 0.5883 GB, free: 23.39 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001389/0.3497, allocations: 2.008 MB / 0.5902 GB, free: 22.01 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003956/0.3536, allocations: 5.277 MB / 0.5954 GB, free: 19.76 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/0.3536, allocations: 4 kB / 0.5954 GB, free: 19.76 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.783e-06/0.3536, allocations: 0 / 0.5954 GB, free: 19.76 MB / 430.1 MB Notification: Performance of Transformations before backend: time 9.602e-05/0.3538, allocations: 0 / 0.5954 GB, free: 19.76 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 493 * Number of variables: 493 Notification: Performance of Generate backend data structure: time 0.03643/0.3902, allocations: 9.514 MB / 0.6047 GB, free: 16.65 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.688e-05/0.3902, allocations: 10.89 kB / 0.6047 GB, free: 16.65 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01045/0.4007, allocations: 1.748 MB / 0.6064 GB, free: 16.27 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003412/0.4041, allocations: 2.17 MB / 0.6085 GB, free: 14.89 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005535/0.4047, allocations: 0.6689 MB / 0.6092 GB, free: 14.32 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004067/0.4051, allocations: 243.5 kB / 0.6094 GB, free: 14.24 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005229/0.4104, allocations: 2.689 MB / 0.612 GB, free: 13.28 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.21e-05/0.4104, allocations: 0.6875 kB / 0.612 GB, free: 13.28 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002192/0.4106, allocations: 79.69 kB / 0.6121 GB, free: 13.22 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.08e-05/0.4107, allocations: 51.22 kB / 0.6122 GB, free: 13.21 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005721/0.4164, allocations: 2.83 MB / 0.6149 GB, free: 12.29 MB / 430.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01605/0.4325, allocations: 11.05 MB / 0.6257 GB, free: 3.918 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01059/0.4431, allocations: 4.966 MB / 0.6306 GB, free: 15.22 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003794/0.4469, allocations: 1.935 MB / 0.6324 GB, free: 13.29 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002269/0.4471, allocations: 45.95 kB / 0.6325 GB, free: 13.24 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.657e-05/0.4472, allocations: 61.38 kB / 0.6326 GB, free: 13.17 MB / 446.1 MB Notification: Performance of pre-optimization done (n=249): time 5.19e-06/0.4472, allocations: 0 / 0.6326 GB, free: 13.17 MB / 446.1 MB Notification: Performance of matching and sorting (n=249): time 0.1223/0.5695, allocations: 29.56 MB / 0.6614 GB, free: 15.55 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.851e-05/0.5696, allocations: 85.39 kB / 0.6615 GB, free: 15.45 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004326/0.5739, allocations: 2.898 MB / 0.6643 GB, free: 12.55 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0009045/0.5749, allocations: 81.7 kB / 0.6644 GB, free: 12.47 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009535/0.5758, allocations: 1.264 MB / 0.6656 GB, free: 11.19 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001147/0.577, allocations: 0.8936 MB / 0.6665 GB, free: 10.29 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001276/0.5783, allocations: 0.7482 MB / 0.6672 GB, free: 9.523 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 8.004e-05/0.5783, allocations: 301.1 kB / 0.6675 GB, free: 9.227 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004542/0.5829, allocations: 2.284 MB / 0.6698 GB, free: 6.934 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004853/0.5878, allocations: 2.681 MB / 0.6724 GB, free: 4.16 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009449/0.5972, allocations: 4.851 MB / 0.6771 GB, free: 15.23 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.858e-06/0.5973, allocations: 3.938 kB / 0.6771 GB, free: 15.22 MB / 494.1 MB Notification: Performance of matching and sorting (n=531) (initialization): time 0.01625/0.6135, allocations: 7.22 MB / 0.6842 GB, free: 7.988 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.189e-05/0.6136, allocations: 8 kB / 0.6842 GB, free: 7.98 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.105e-05/0.6136, allocations: 4 kB / 0.6842 GB, free: 7.977 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0189/0.6325, allocations: 5.747 MB / 0.6898 GB, free: 2.223 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003338/0.6359, allocations: 0.6647 MB / 0.6904 GB, free: 1.559 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01334/0.6492, allocations: 5.444 MB / 0.6958 GB, free: 12.09 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00504/0.6543, allocations: 0.5118 MB / 0.6963 GB, free: 11.57 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005312/0.6549, allocations: 136 kB / 0.6964 GB, free: 11.44 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * 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 (410): * Single equations (assignments): 409 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(62,60)} Notification: Performance of prepare postOptimizeDAE: time 0.001225/0.6561, allocations: 0.5285 MB / 0.6969 GB, free: 10.9 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007844/0.6569, allocations: 327.8 kB / 0.6972 GB, free: 10.58 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03323/0.6901, allocations: 10.52 MB / 0.7075 GB, free: 15.98 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.846e-05/0.6902, allocations: 31.94 kB / 0.7075 GB, free: 15.95 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.177e-06/0.6902, allocations: 0 / 0.7075 GB, free: 15.95 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.463e-05/0.6903, allocations: 11.95 kB / 0.7075 GB, free: 15.94 MB / 0.5137 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03924/0.7295, allocations: 14.65 MB / 0.7218 GB, free: 1 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.148e-05/0.7296, allocations: 0 / 0.7218 GB, free: 1 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001646/0.7313, allocations: 260.5 kB / 0.7221 GB, free: 0.7461 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01611/0.7474, allocations: 4.773 MB / 0.7268 GB, free: 11.97 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006092/0.748, allocations: 44 kB / 0.7268 GB, free: 11.93 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05214/0.8002, allocations: 21.48 MB / 0.7478 GB, free: 6.293 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.026e-06/0.8002, allocations: 0 / 0.7478 GB, free: 6.293 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03968/0.8399, allocations: 12.82 MB / 0.7603 GB, free: 9.379 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001475/0.8414, allocations: 0.4884 MB / 0.7608 GB, free: 8.867 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001341/0.8428, allocations: 44 kB / 0.7608 GB, free: 8.824 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003799/0.8466, allocations: 252.9 kB / 0.761 GB, free: 8.578 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001869/0.8485, allocations: 0.5217 MB / 0.7616 GB, free: 8.055 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001979/0.8487, allocations: 60 kB / 0.7616 GB, free: 7.996 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.002684/0.8514, allocations: 1.877 MB / 0.7634 GB, free: 6.129 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.503e-06/0.8514, allocations: 0 / 0.7634 GB, free: 6.129 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.003577/0.855, allocations: 1.132 MB / 0.7645 GB, free: 4.996 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 20 (g1.gENSAL.w,g1.gENSAL.delta,g1.gENSAL.Epq,g1.gENSAL.PSIkd,g1.gENSAL.PSIppq,g2.gENSAL.w,g2.gENSAL.delta,g2.gENSAL.Epq,g2.gENSAL.PSIkd,g2.gENSAL.PSIppq,g3.gENSAL.w,g3.gENSAL.delta,g3.gENSAL.Epq,g3.gENSAL.PSIkd,g3.gENSAL.PSIppq,g4.gENSAL.w,g4.gENSAL.delta,g4.gENSAL.Epq,g4.gENSAL.PSIkd,g4.gENSAL.PSIppq) * 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 (156): * Single equations (assignments): 155 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(54,52)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004385/0.8554, allocations: 179.7 kB / 0.7647 GB, free: 4.809 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.2123/1.068, allocations: 6.212 MB / 0.7708 GB, free: 172.4 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 6.372e-06/1.068, allocations: 2.375 kB / 0.7708 GB, free: 172.4 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0104/1.078, allocations: 3.792 MB / 0.7745 GB, free: 172.1 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002278/1.08, allocations: 265.5 kB / 0.7747 GB, free: 172.1 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008799/1.089, allocations: 6.41 MB / 0.781 GB, free: 169.5 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009113/1.09, allocations: 1.845 MB / 0.7828 GB, free: 168.7 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001011/1.091, allocations: 206.2 kB / 0.783 GB, free: 168.7 MB / 0.5606 GB Notification: Performance of SimCode: time 5.92e-07/1.091, allocations: 0 / 0.783 GB, free: 168.7 MB / 0.5606 GB Notification: Performance of Templates: time 0.06175/1.153, allocations: 55.32 MB / 0.837 GB, free: 140.1 MB / 0.5606 GB make -j1 -f OpenIPSL_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE.makefile (rm -f OpenIPSL_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE.sim & ./OpenIPSL_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE.pipe 2>&1)