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/Modelica_Synchronous 0.93.0-master/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 3.2.3+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 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 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/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/Modelica_Synchronous 0.93.0-master/package.mo): time 0.1295/0.1295, allocations: 12.6 MB / 28.91 MB, free: 0.6406 MB / 19.63 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00119/0.00119, allocations: 107.5 kB / 32.5 MB, free: 3.582 MB / 26.18 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.681/1.681, allocations: 205.1 MB / 241.1 MB, free: 12.38 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001424/0.001424, allocations: 195.5 kB / 291.4 MB, free: 10.95 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.5253/0.5253, allocations: 78.51 MB / 420 MB, free: 10.76 MB / 302.1 MB 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: 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: 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.002546/0.002546, allocations: 141 kB / 0.5565 GB, free: 17.32 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1611/0.1636, allocations: 68.11 MB / 0.623 GB, free: 13.17 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE): time 0.01424/0.1779, allocations: 15.02 MB / 0.6377 GB, free: 14.08 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.01102/0.189, allocations: 4.577 MB / 0.6422 GB, free: 9.492 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004089/0.1932, allocations: 27.94 kB / 0.6422 GB, free: 9.465 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002803/0.196, allocations: 0.7751 MB / 0.643 GB, free: 8.684 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01108/0.2071, allocations: 2.419 MB / 0.6453 GB, free: 6.281 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003974/0.2111, allocations: 1.334 MB / 0.6466 GB, free: 4.965 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.008738/0.2198, allocations: 4.903 MB / 0.6514 GB, free: 48 kB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001542/0.2214, allocations: 0.7879 MB / 0.6522 GB, free: 15.22 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003309/0.2247, allocations: 1.887 MB / 0.654 GB, free: 13.32 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00384/0.2286, allocations: 2.451 MB / 0.6564 GB, free: 10.86 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001406/0.23, allocations: 404 kB / 0.6568 GB, free: 10.47 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002381/0.2324, allocations: 0.6365 MB / 0.6574 GB, free: 9.832 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001213/0.2336, allocations: 0.9727 MB / 0.6584 GB, free: 8.855 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003403/0.237, allocations: 2.005 MB / 0.6603 GB, free: 6.84 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007583/0.2446, allocations: 5.322 MB / 0.6655 GB, free: 1.5 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.413e-06/0.2447, allocations: 0 / 0.6655 GB, free: 1.5 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.655e-06/0.2447, allocations: 0 / 0.6655 GB, free: 1.5 MB / 478.1 MB Notification: Performance of Transformations before backend: time 0.0001512/0.2449, allocations: 4 kB / 0.6655 GB, free: 1.496 MB / 478.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.04303/0.2879, allocations: 9.519 MB / 0.6748 GB, free: 7.895 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.569e-05/0.288, allocations: 11.98 kB / 0.6748 GB, free: 7.883 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01238/0.3004, allocations: 1.751 MB / 0.6765 GB, free: 6.125 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00674/0.3072, allocations: 2.171 MB / 0.6787 GB, free: 3.895 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001341/0.3086, allocations: 0.6702 MB / 0.6793 GB, free: 3.133 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001597/0.3102, allocations: 239.8 kB / 0.6796 GB, free: 2.898 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009672/0.3199, allocations: 2.685 MB / 0.6822 GB, free: 208 kB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.252e-05/0.32, allocations: 0 / 0.6822 GB, free: 208 kB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007196/0.3208, allocations: 80 kB / 0.6823 GB, free: 128 kB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.794e-05/0.3208, allocations: 48 kB / 0.6823 GB, free: 80 kB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.4396/0.7604, allocations: 2.83 MB / 0.6851 GB, free: 49.79 MB / 494.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.02585/0.7863, allocations: 10.99 MB / 0.6958 GB, free: 44.12 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01328/0.7996, allocations: 4.967 MB / 0.7006 GB, free: 41.94 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00482/0.8045, allocations: 1.932 MB / 0.7025 GB, free: 41.21 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002821/0.8048, allocations: 39.11 kB / 0.7026 GB, free: 41.21 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.932e-05/0.8049, allocations: 61.19 kB / 0.7026 GB, free: 41.14 MB / 494.1 MB Notification: Performance of pre-optimization done (n=249): time 4.458e-06/0.8049, allocations: 0 / 0.7026 GB, free: 41.14 MB / 494.1 MB Notification: Performance of matching and sorting (n=249): time 0.1215/0.9264, allocations: 29.56 MB / 0.7315 GB, free: 21.96 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.13e-05/0.9265, allocations: 77.41 kB / 0.7316 GB, free: 21.87 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003994/0.9305, allocations: 2.909 MB / 0.7344 GB, free: 18.99 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001089/0.9316, allocations: 81.7 kB / 0.7345 GB, free: 18.91 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007708/0.9324, allocations: 1.257 MB / 0.7357 GB, free: 17.66 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001159/0.9336, allocations: 0.8961 MB / 0.7366 GB, free: 16.77 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001165/0.9348, allocations: 0.7444 MB / 0.7373 GB, free: 16.01 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 5.436e-05/0.9348, allocations: 305.1 kB / 0.7376 GB, free: 15.71 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004188/0.939, allocations: 2.284 MB / 0.7398 GB, free: 13.42 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004456/0.9435, allocations: 2.685 MB / 0.7425 GB, free: 10.64 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00859/0.9521, allocations: 4.849 MB / 0.7472 GB, free: 5.715 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.299e-05/0.9521, allocations: 4 kB / 0.7472 GB, free: 5.711 MB / 494.1 MB Notification: Performance of matching and sorting (n=531) (initialization): time 0.0145/0.9666, allocations: 7.224 MB / 0.7543 GB, free: 14.47 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 3.48e-05/0.9667, allocations: 11.94 kB / 0.7543 GB, free: 14.46 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.882e-05/0.9667, allocations: 8 kB / 0.7543 GB, free: 14.45 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01961/0.9863, allocations: 5.73 MB / 0.7599 GB, free: 8.723 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003797/0.9902, allocations: 0.6632 MB / 0.7605 GB, free: 8.059 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01578/1.006, allocations: 5.443 MB / 0.7658 GB, free: 2.586 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006109/1.012, allocations: 0.5117 MB / 0.7663 GB, free: 2.07 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001089/1.013, allocations: 140 kB / 0.7665 GB, free: 1.934 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.002617/1.016, allocations: 0.5298 MB / 0.767 GB, free: 1.395 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001665/1.018, allocations: 331.8 kB / 0.7673 GB, free: 1.066 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03695/1.055, allocations: 10.51 MB / 0.7776 GB, free: 6.48 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.979e-05/1.055, allocations: 24 kB / 0.7776 GB, free: 6.457 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.64e-05/1.055, allocations: 0.6875 kB / 0.7776 GB, free: 6.457 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.968e-05/1.055, allocations: 15.94 kB / 0.7776 GB, free: 6.441 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.04779/1.103, allocations: 14.63 MB / 0.7919 GB, free: 7.594 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.718e-05/1.103, allocations: 1.969 kB / 0.7919 GB, free: 7.594 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001832/1.104, allocations: 269.1 kB / 0.7921 GB, free: 7.332 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01709/1.122, allocations: 4.761 MB / 0.7968 GB, free: 2.566 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008848/1.123, allocations: 51.98 kB / 0.7968 GB, free: 2.516 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.06038/1.183, allocations: 21.46 MB / 0.8178 GB, free: 12.91 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.805e-06/1.183, allocations: 6.375 kB / 0.8178 GB, free: 12.91 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04464/1.228, allocations: 12.81 MB / 0.8303 GB, free: 12 kB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001758/1.229, allocations: 496.1 kB / 0.8308 GB, free: 15.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001688/1.231, allocations: 51.98 kB / 0.8308 GB, free: 15.45 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00441/1.236, allocations: 247.7 kB / 0.8311 GB, free: 15.21 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002577/1.238, allocations: 0.5179 MB / 0.8316 GB, free: 14.69 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006473/1.239, allocations: 63.98 kB / 0.8316 GB, free: 14.63 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.004349/1.243, allocations: 1.885 MB / 0.8335 GB, free: 12.75 MB / 0.5762 GB Notification: Performance of sort global known variables: time 3.3e-07/1.243, allocations: 0 / 0.8335 GB, free: 12.75 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.006322/1.25, allocations: 1.119 MB / 0.8346 GB, free: 11.64 MB / 0.5762 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.0009967/1.251, allocations: 177.7 kB / 0.8347 GB, free: 11.46 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.02005/1.271, allocations: 6.154 MB / 0.8408 GB, free: 5.285 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.002e-05/1.271, allocations: 1.406 kB / 0.8408 GB, free: 5.285 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.01311/1.284, allocations: 3.79 MB / 0.8445 GB, free: 1.477 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005201/1.289, allocations: 269 kB / 0.8447 GB, free: 1.211 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01567/1.305, allocations: 6.325 MB / 0.8509 GB, free: 10.87 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002347/1.307, allocations: 1.845 MB / 0.8527 GB, free: 9 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001832/1.309, allocations: 203.4 kB / 0.8529 GB, free: 8.801 MB / 0.5919 GB Notification: Performance of SimCode: time 4.338e-06/1.309, allocations: 0 / 0.8529 GB, free: 8.801 MB / 0.5919 GB Notification: Performance of Templates: time 0.09551/1.405, allocations: 55.61 MB / 0.9072 GB, free: 1.125 MB / 0.6387 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 -lv LOG_STATS > OpenIPSL_2.0.0_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE.pipe 2>&1)