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/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/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/package.mo): time 0.1024/0.1024, allocations: 12.2 MB / 27.17 MB, free: 1.574 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.0007601/0.0007601, allocations: 105.8 kB / 30.68 MB, free: 4.863 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.347/1.347, allocations: 205.4 MB / 239.5 MB, free: 13.59 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.001146/0.001146, allocations: 180.5 kB / 290.6 MB, free: 11.64 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4484/0.4484, allocations: 78.53 MB / 420.1 MB, free: 11.64 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.0008444/0.0008446, allocations: 28 kB / 0.4895 GB, free: 10.49 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2926/0.2935, allocations: 69.22 MB / 0.5571 GB, free: 21.05 MB / 382.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE): time 0.008101/0.3016, allocations: 14.04 MB / 0.5708 GB, free: 6.965 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.007775/0.3094, allocations: 4.45 MB / 0.5751 GB, free: 2.496 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00334/0.3128, allocations: 32 kB / 0.5751 GB, free: 2.465 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001916/0.3148, allocations: 0.5431 MB / 0.5757 GB, free: 1.918 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005521/0.3203, allocations: 2.009 MB / 0.5776 GB, free: 15.93 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002784/0.3231, allocations: 1.084 MB / 0.5787 GB, free: 14.87 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.006174/0.3293, allocations: 4.352 MB / 0.5829 GB, free: 10.5 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00138/0.3307, allocations: 0.6595 MB / 0.5836 GB, free: 9.809 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002734/0.3334, allocations: 1.548 MB / 0.5851 GB, free: 8.254 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002447/0.3359, allocations: 2.151 MB / 0.5872 GB, free: 6.094 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004953/0.3364, allocations: 184 kB / 0.5874 GB, free: 5.914 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00101/0.3374, allocations: 399.7 kB / 0.5878 GB, free: 5.523 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005668/0.338, allocations: 0.727 MB / 0.5885 GB, free: 4.793 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007478/0.3387, allocations: 0.6091 MB / 0.5891 GB, free: 4.176 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003485/0.3422, allocations: 4.057 MB / 0.593 GB, free: 112 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.09e-06/0.3423, allocations: 0 / 0.593 GB, free: 112 kB / 398.1 MB Notification: Performance of FrontEnd: time 3.857e-06/0.3423, allocations: 0 / 0.593 GB, free: 112 kB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0001118/0.3424, allocations: 3.938 kB / 0.593 GB, free: 108 kB / 398.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.03193/0.3743, allocations: 9.128 MB / 0.6019 GB, free: 6.906 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.425e-05/0.3744, allocations: 15.98 kB / 0.602 GB, free: 6.891 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0105/0.3849, allocations: 1.771 MB / 0.6037 GB, free: 5.113 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004617/0.3895, allocations: 2.049 MB / 0.6057 GB, free: 3.008 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008222/0.3904, allocations: 0.6936 MB / 0.6064 GB, free: 2.219 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009735/0.3914, allocations: 235.9 kB / 0.6066 GB, free: 1.988 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006267/0.3977, allocations: 2.85 MB / 0.6094 GB, free: 15.13 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.296e-05/0.3977, allocations: 0 / 0.6094 GB, free: 15.13 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002176/0.398, allocations: 76 kB / 0.6094 GB, free: 15.05 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.299e-05/0.398, allocations: 48 kB / 0.6095 GB, free: 15.01 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005763/0.4038, allocations: 3.025 MB / 0.6124 GB, free: 11.98 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.02007/0.4239, allocations: 11.18 MB / 0.6234 GB, free: 268 kB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01181/0.4357, allocations: 5.666 MB / 0.6289 GB, free: 10.39 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004327/0.4401, allocations: 2.099 MB / 0.631 GB, free: 8.285 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004117/0.4405, allocations: 49.89 kB / 0.631 GB, free: 8.238 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.865e-05/0.4406, allocations: 56.56 kB / 0.6311 GB, free: 8.172 MB / 446.1 MB Notification: Performance of pre-optimization done (n=249): time 3.907e-06/0.4406, allocations: 0 / 0.6311 GB, free: 8.172 MB / 446.1 MB Notification: Performance of matching and sorting (n=249): time 0.1199/0.5605, allocations: 35.42 MB / 0.6656 GB, free: 4.68 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.63e-05/0.5606, allocations: 77.41 kB / 0.6657 GB, free: 4.594 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005441/0.5661, allocations: 2.878 MB / 0.6685 GB, free: 1.715 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000819/0.5669, allocations: 81.7 kB / 0.6686 GB, free: 1.629 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001343/0.5683, allocations: 1.256 MB / 0.6698 GB, free: 364 kB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001582/0.5699, allocations: 0.9015 MB / 0.6707 GB, free: 15.44 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008654/0.5708, allocations: 87.94 kB / 0.6708 GB, free: 15.35 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0003204/0.5711, allocations: 466.9 kB / 0.6712 GB, free: 14.89 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005868/0.577, allocations: 2.441 MB / 0.6736 GB, free: 12.44 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006373/0.5834, allocations: 2.841 MB / 0.6764 GB, free: 9.504 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006445/0.5899, allocations: 2.632 MB / 0.679 GB, free: 6.871 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.851e-05/0.59, allocations: 0 / 0.679 GB, free: 6.871 MB / 494.1 MB Notification: Performance of matching and sorting (n=531) (initialization): time 0.2551/0.8451, allocations: 7.701 MB / 0.6865 GB, free: 108.2 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.117e-05/0.8452, allocations: 4.75 kB / 0.6865 GB, free: 108.2 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.427e-05/0.8452, allocations: 8.562 kB / 0.6865 GB, free: 108.2 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02795/0.8732, allocations: 6.499 MB / 0.6928 GB, free: 108.1 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004806/0.878, allocations: 0.6594 MB / 0.6935 GB, free: 108.1 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.015/0.8931, allocations: 6.145 MB / 0.6995 GB, free: 106.6 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004077/0.8972, allocations: 0.6007 MB / 0.7001 GB, free: 106.6 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003373/0.8975, allocations: 135.5 kB / 0.7002 GB, free: 106.5 MB / 494.1 MB 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {62 60} Notification: Performance of prepare postOptimizeDAE: time 0.00103/0.8986, allocations: 0.5301 MB / 0.7007 GB, free: 106.1 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000434/0.899, allocations: 335.8 kB / 0.701 GB, free: 106.1 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03017/0.9292, allocations: 12.85 MB / 0.7136 GB, free: 101.2 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.893e-05/0.9293, allocations: 28 kB / 0.7136 GB, free: 101.1 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.877e-06/0.9293, allocations: 0 / 0.7136 GB, free: 101.1 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.669e-05/0.9294, allocations: 15.48 kB / 0.7136 GB, free: 101.1 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 postOpt removeSimpleEquations (simulation): time 0.03626/0.9656, allocations: 16.97 MB / 0.7302 GB, free: 84.18 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.863e-05/0.9657, allocations: 6.344 kB / 0.7302 GB, free: 84.18 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001505/0.9672, allocations: 259.7 kB / 0.7305 GB, free: 83.92 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01446/0.9817, allocations: 5.573 MB / 0.7359 GB, free: 78.34 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006076/0.9823, allocations: 52 kB / 0.736 GB, free: 78.29 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04389/1.026, allocations: 22.01 MB / 0.7574 GB, free: 56.17 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/1.026, allocations: 4 kB / 0.7575 GB, free: 56.17 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03505/1.061, allocations: 15.31 MB / 0.7724 GB, free: 40.78 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001041/1.062, allocations: 0.4946 MB / 0.7729 GB, free: 40.29 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007671/1.063, allocations: 48 kB / 0.7729 GB, free: 40.24 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002647/1.066, allocations: 339.7 kB / 0.7733 GB, free: 39.91 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001527/1.067, allocations: 0.5213 MB / 0.7738 GB, free: 39.38 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001738/1.068, allocations: 63.98 kB / 0.7738 GB, free: 39.32 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.002154/1.07, allocations: 1.853 MB / 0.7756 GB, free: 37.48 MB / 494.1 MB Notification: Performance of sort global known variables: time 8.31e-07/1.07, allocations: 0 / 0.7756 GB, free: 37.48 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.003468/1.073, allocations: 1.13 MB / 0.7767 GB, free: 36.35 MB / 494.1 MB 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {54 52} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004352/1.074, allocations: 176.1 kB / 0.7769 GB, free: 36.17 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.01601/1.09, allocations: 6.808 MB / 0.7836 GB, free: 29.34 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 5.721e-06/1.09, allocations: 0 / 0.7836 GB, free: 29.34 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.01345/1.103, allocations: 4.271 MB / 0.7877 GB, free: 25.06 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003795/1.107, allocations: 270.8 kB / 0.788 GB, free: 24.79 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01439/1.121, allocations: 7.389 MB / 0.7952 GB, free: 17.38 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001463/1.123, allocations: 1.845 MB / 0.797 GB, free: 15.5 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.001799/1.125, allocations: 288.9 kB / 0.7973 GB, free: 15.22 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001057/1.126, allocations: 179.4 kB / 0.7974 GB, free: 15.04 MB / 494.1 MB Notification: Performance of SimCode: time 7.31e-07/1.126, allocations: 3.938 kB / 0.7975 GB, free: 15.04 MB / 494.1 MB Notification: Performance of Templates: time 0.07976/1.206, allocations: 52.34 MB / 0.8486 GB, free: 10.71 MB / 0.5294 GB make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: