Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE.conf.json 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo", uses=false) Using package OpenIPSL with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/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) 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) Running command: translateModel(OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE,tolerance=0.001,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE") translateModel(OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE,tolerance=0.001,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001199/0.001199, allocations: 189.8 kB / 16.24 MB, free: 6.254 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.273/1.273, allocations: 205.1 MB / 222.1 MB, free: 4.75 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009803/0.0009803, allocations: 103.7 kB / 269.5 MB, free: 5.379 MB / 222.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.06202/0.06202, allocations: 12.2 MB / 329 MB, free: 33.14 MB / 254.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4297/0.4297, allocations: 78.49 MB / 457.6 MB, free: 32.05 MB / 318.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: Modelica_Synchronous 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: OpenIPSL 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: Performance of FrontEnd - loaded program: time 0.002238/0.002238, allocations: 127.8 kB / 0.5254 GB, free: 0.6328 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3075/0.3097, allocations: 68.04 MB / 0.5918 GB, free: 37.82 MB / 414.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE): time 0.01114/0.3209, allocations: 16.05 MB / 0.6075 GB, free: 25.93 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.008927/0.3299, allocations: 4.726 MB / 0.6121 GB, free: 22.47 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002889/0.3328, allocations: 35.53 kB / 0.6121 GB, free: 22.47 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001896/0.3347, allocations: 0.7815 MB / 0.6129 GB, free: 22.06 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006179/0.3409, allocations: 2.343 MB / 0.6152 GB, free: 20.49 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002613/0.3435, allocations: 1.25 MB / 0.6164 GB, free: 19.8 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.005025/0.3486, allocations: 4.861 MB / 0.6212 GB, free: 17.41 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000969/0.3496, allocations: 0.7966 MB / 0.6219 GB, free: 17.03 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002437/0.352, allocations: 1.883 MB / 0.6238 GB, free: 16.07 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003362/0.3554, allocations: 2.441 MB / 0.6262 GB, free: 14.88 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009064/0.3563, allocations: 403.2 kB / 0.6266 GB, free: 14.88 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001487/0.3578, allocations: 0.627 MB / 0.6272 GB, free: 14.81 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007572/0.3586, allocations: 0.9802 MB / 0.6281 GB, free: 14.14 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001856/0.3604, allocations: 2.007 MB / 0.6301 GB, free: 12.77 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005634/0.3661, allocations: 5.285 MB / 0.6352 GB, free: 9.934 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.591e-06/0.3661, allocations: 4 kB / 0.6352 GB, free: 9.93 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.3661, allocations: 0 / 0.6352 GB, free: 9.93 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0001191/0.3662, allocations: 0 / 0.6352 GB, free: 9.93 MB / 414.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.03786/0.4041, allocations: 9.52 MB / 0.6445 GB, free: 4.836 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.431e-05/0.4042, allocations: 11.98 kB / 0.6446 GB, free: 4.824 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01061/0.4148, allocations: 1.744 MB / 0.6463 GB, free: 3.074 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003758/0.4186, allocations: 2.175 MB / 0.6484 GB, free: 0.8398 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000532/0.4191, allocations: 0.6624 MB / 0.649 GB, free: 88 kB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004521/0.4196, allocations: 247.8 kB / 0.6493 GB, free: 15.84 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005635/0.4252, allocations: 2.685 MB / 0.6519 GB, free: 13.15 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.711e-05/0.4253, allocations: 3.938 kB / 0.6519 GB, free: 13.14 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002236/0.4255, allocations: 76 kB / 0.652 GB, free: 13.07 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.138e-05/0.4255, allocations: 48 kB / 0.652 GB, free: 13.02 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006078/0.4316, allocations: 2.83 MB / 0.6548 GB, free: 10.19 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.01829/0.4499, allocations: 11.06 MB / 0.6656 GB, free: 14.59 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01205/0.462, allocations: 4.964 MB / 0.6704 GB, free: 9.402 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004285/0.4663, allocations: 1.931 MB / 0.6723 GB, free: 7.477 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002396/0.4666, allocations: 45.88 kB / 0.6724 GB, free: 7.438 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.084e-05/0.4666, allocations: 68.48 kB / 0.6724 GB, free: 7.359 MB / 446.1 MB Notification: Performance of pre-optimization done (n=249): time 3.857e-06/0.4666, allocations: 0 / 0.6724 GB, free: 7.359 MB / 446.1 MB Notification: Performance of matching and sorting (n=249): time 0.1272/0.5938, allocations: 29.55 MB / 0.7013 GB, free: 9.738 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.191e-05/0.5939, allocations: 77.41 kB / 0.7014 GB, free: 9.652 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004512/0.5984, allocations: 2.902 MB / 0.7042 GB, free: 6.75 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0009389/0.5994, allocations: 81.7 kB / 0.7043 GB, free: 6.664 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00142/0.6008, allocations: 1.256 MB / 0.7055 GB, free: 5.395 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001726/0.6026, allocations: 0.9013 MB / 0.7064 GB, free: 4.48 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001513/0.6041, allocations: 0.7483 MB / 0.7071 GB, free: 3.719 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 9.747e-05/0.6042, allocations: 305.1 kB / 0.7074 GB, free: 3.418 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004769/0.609, allocations: 2.284 MB / 0.7096 GB, free: 1.125 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005165/0.6141, allocations: 2.673 MB / 0.7122 GB, free: 14.36 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009679/0.6238, allocations: 4.855 MB / 0.717 GB, free: 9.422 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.319e-05/0.6239, allocations: 3.938 kB / 0.717 GB, free: 9.418 MB / 494.1 MB Notification: Performance of matching and sorting (n=531) (initialization): time 0.01565/0.6395, allocations: 7.232 MB / 0.724 GB, free: 2.168 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.999e-05/0.6396, allocations: 8 kB / 0.724 GB, free: 2.16 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.748e-05/0.6396, allocations: 4 kB / 0.7241 GB, free: 2.156 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01922/0.6589, allocations: 5.737 MB / 0.7297 GB, free: 12.42 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003399/0.6623, allocations: 0.6632 MB / 0.7303 GB, free: 11.75 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01367/0.676, allocations: 5.443 MB / 0.7356 GB, free: 6.277 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005141/0.6812, allocations: 0.5079 MB / 0.7361 GB, free: 5.766 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005206/0.6817, allocations: 136 kB / 0.7362 GB, free: 5.633 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.001258/0.683, allocations: 0.5284 MB / 0.7368 GB, free: 5.094 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007447/0.6837, allocations: 331.7 kB / 0.7371 GB, free: 4.766 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03417/0.7179, allocations: 10.53 MB / 0.7474 GB, free: 10.16 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.21e-05/0.718, allocations: 27.94 kB / 0.7474 GB, free: 10.14 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.14e-05/0.718, allocations: 0 / 0.7474 GB, free: 10.14 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.086e-05/0.7181, allocations: 11.95 kB / 0.7474 GB, free: 10.12 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.04177/0.7599, allocations: 14.66 MB / 0.7617 GB, free: 11.18 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.989e-05/0.7599, allocations: 0 / 0.7617 GB, free: 11.18 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001663/0.7616, allocations: 255.7 kB / 0.7619 GB, free: 10.93 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01644/0.7781, allocations: 4.769 MB / 0.7666 GB, free: 6.156 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007375/0.7789, allocations: 55.92 kB / 0.7667 GB, free: 6.102 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2693/1.048, allocations: 21.48 MB / 0.7876 GB, free: 144.4 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.166e-06/1.048, allocations: 2.438 kB / 0.7876 GB, free: 144.4 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03934/1.088, allocations: 12.82 MB / 0.8002 GB, free: 141.1 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001347/1.089, allocations: 496.1 kB / 0.8006 GB, free: 140.8 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008178/1.09, allocations: 48.41 kB / 0.8007 GB, free: 140.7 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003026/1.093, allocations: 254.7 kB / 0.8009 GB, free: 140.7 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001882/1.095, allocations: 0.5164 MB / 0.8014 GB, free: 140.5 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001898/1.095, allocations: 61.88 kB / 0.8015 GB, free: 140.5 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.002682/1.098, allocations: 1.876 MB / 0.8033 GB, free: 139.8 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.192e-06/1.098, allocations: 0 / 0.8033 GB, free: 139.8 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.003702/1.101, allocations: 1.126 MB / 0.8044 GB, free: 139.7 MB / 0.5294 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.0004997/1.102, allocations: 183.1 kB / 0.8046 GB, free: 139.5 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.01948/1.121, allocations: 6.226 MB / 0.8107 GB, free: 137.6 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 6.322e-06/1.121, allocations: 0 / 0.8107 GB, free: 137.6 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.01123/1.133, allocations: 3.792 MB / 0.8144 GB, free: 136.3 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00487/1.138, allocations: 271.4 kB / 0.8146 GB, free: 136.1 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01349/1.151, allocations: 7.472 MB / 0.8219 GB, free: 130.1 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00123/1.152, allocations: 1.841 MB / 0.8237 GB, free: 128.6 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.001651/1.154, allocations: 299.7 kB / 0.824 GB, free: 128.4 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009052/1.155, allocations: 190.3 kB / 0.8242 GB, free: 128.3 MB / 0.5294 GB Notification: Performance of SimCode: time 1.804e-06/1.155, allocations: 0 / 0.8242 GB, free: 128.3 MB / 0.5294 GB Notification: Performance of Templates: time 0.07925/1.234, allocations: 58.66 MB / 0.8815 GB, free: 69.86 MB / 0.5294 GB make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE.makefile (rm -f OpenIPSL_2.0.0_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE.sim & ./OpenIPSL_2.0.0_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > OpenIPSL_2.0.0_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE.pipe 2>&1)