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 3.2.3+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 3.2.3+maint.om/package.mo", uses=false) 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/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-master/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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 3.2.3+maint.om/package.mo): time 0.001414/0.001414, allocations: 183.1 kB / 15.98 MB, free: 5.766 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.511/1.511, allocations: 205.1 MB / 221.8 MB, free: 8.48 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001125/0.001125, allocations: 97.94 kB / 269.2 MB, free: 8.434 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.07889/0.07889, allocations: 12.59 MB / 329.1 MB, free: 12.4 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.3001/0.3001, allocations: 78.52 MB / 457.8 MB, free: 13.71 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.00176/0.00176, allocations: 106.2 kB / 0.5254 GB, free: 19.73 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1452/0.1469, allocations: 68.13 MB / 0.592 GB, free: 15.67 MB / 394.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE): time 0.01629/0.1633, allocations: 15.81 MB / 0.6074 GB, free: 15.79 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0103/0.1737, allocations: 4.702 MB / 0.612 GB, free: 11.06 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004341/0.178, allocations: 32 kB / 0.612 GB, free: 11.03 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003036/0.1811, allocations: 0.6254 MB / 0.6126 GB, free: 10.4 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.007866/0.189, allocations: 2.18 MB / 0.6148 GB, free: 8.246 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003193/0.1922, allocations: 1.239 MB / 0.616 GB, free: 7.027 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.007747/0.2, allocations: 4.649 MB / 0.6205 GB, free: 2.363 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001677/0.2017, allocations: 0.7078 MB / 0.6212 GB, free: 1.617 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004128/0.2059, allocations: 1.668 MB / 0.6228 GB, free: 15.94 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004005/0.2099, allocations: 2.267 MB / 0.625 GB, free: 13.66 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0008054/0.2107, allocations: 216 kB / 0.6253 GB, free: 13.45 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001407/0.2121, allocations: 431.7 kB / 0.6257 GB, free: 13.03 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006704/0.2128, allocations: 0.797 MB / 0.6264 GB, free: 12.23 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002027/0.2149, allocations: 1.802 MB / 0.6282 GB, free: 10.42 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006153/0.221, allocations: 5.123 MB / 0.6332 GB, free: 5.277 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.761e-06/0.2211, allocations: 0 / 0.6332 GB, free: 5.277 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.213e-06/0.2211, allocations: 0 / 0.6332 GB, free: 5.277 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0002093/0.2213, allocations: 0 / 0.6332 GB, free: 5.277 MB / 426.7 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.366/0.5873, allocations: 9.514 MB / 0.6425 GB, free: 47.25 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.909e-05/0.5873, allocations: 14.45 kB / 0.6425 GB, free: 47.25 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01224/0.5996, allocations: 1.755 MB / 0.6442 GB, free: 46.91 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007309/0.607, allocations: 2.172 MB / 0.6463 GB, free: 45.61 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001057/0.608, allocations: 0.6653 MB / 0.647 GB, free: 45.05 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001572/0.6096, allocations: 239.7 kB / 0.6472 GB, free: 44.97 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01009/0.6198, allocations: 2.687 MB / 0.6498 GB, free: 44.03 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.427e-05/0.6199, allocations: 3.938 kB / 0.6499 GB, free: 44.03 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006793/0.6206, allocations: 80.06 kB / 0.6499 GB, free: 43.96 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001186/0.6207, allocations: 51.03 kB / 0.65 GB, free: 43.96 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009228/0.63, allocations: 2.828 MB / 0.6527 GB, free: 43.05 MB / 426.7 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.02837/0.6584, allocations: 11.06 MB / 0.6635 GB, free: 35.16 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0143/0.6727, allocations: 4.979 MB / 0.6684 GB, free: 32.18 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005347/0.6781, allocations: 1.933 MB / 0.6703 GB, free: 31.2 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005366/0.6787, allocations: 36.86 kB / 0.6703 GB, free: 31.19 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.056e-05/0.6788, allocations: 64.34 kB / 0.6704 GB, free: 31.13 MB / 426.7 MB Notification: Performance of pre-optimization done (n=249): time 5.421e-06/0.6788, allocations: 0 / 0.6704 GB, free: 31.13 MB / 426.7 MB Notification: Performance of matching and sorting (n=249): time 0.1226/0.8015, allocations: 29.55 MB / 0.6992 GB, free: 3.516 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.446e-05/0.8016, allocations: 81.39 kB / 0.6993 GB, free: 3.422 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005944/0.8075, allocations: 2.906 MB / 0.7022 GB, free: 0.5156 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001048/0.8086, allocations: 81.7 kB / 0.7022 GB, free: 440 kB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001485/0.8101, allocations: 1.268 MB / 0.7035 GB, free: 15.15 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002007/0.8121, allocations: 0.9013 MB / 0.7044 GB, free: 14.24 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004578/0.8167, allocations: 0.7405 MB / 0.7051 GB, free: 13.48 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 9.844e-05/0.8169, allocations: 301.1 kB / 0.7054 GB, free: 13.19 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006092/0.823, allocations: 2.288 MB / 0.7076 GB, free: 10.89 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00636/0.8293, allocations: 2.684 MB / 0.7102 GB, free: 8.117 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01272/0.8421, allocations: 4.843 MB / 0.7149 GB, free: 3.195 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.336e-05/0.8422, allocations: 7.938 kB / 0.715 GB, free: 3.188 MB / 442.7 MB Notification: Performance of matching and sorting (n=531) (initialization): time 0.02324/0.8654, allocations: 7.226 MB / 0.722 GB, free: 11.95 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.711e-05/0.8655, allocations: 8 kB / 0.722 GB, free: 11.94 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.416e-05/0.8656, allocations: 8 kB / 0.722 GB, free: 11.93 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02077/0.8864, allocations: 5.729 MB / 0.7276 GB, free: 6.199 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003967/0.8904, allocations: 0.671 MB / 0.7283 GB, free: 5.527 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01645/0.9069, allocations: 5.435 MB / 0.7336 GB, free: 68 kB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006658/0.9136, allocations: 0.5054 MB / 0.7341 GB, free: 15.55 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001256/0.9149, allocations: 132 kB / 0.7342 GB, free: 15.43 MB / 474.7 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 (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.002912/0.9178, allocations: 0.5361 MB / 0.7347 GB, free: 14.88 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002024/0.9198, allocations: 335.7 kB / 0.735 GB, free: 14.55 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03929/0.9592, allocations: 10.51 MB / 0.7453 GB, free: 3.961 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.423e-05/0.9592, allocations: 24 kB / 0.7453 GB, free: 3.938 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.481e-05/0.9593, allocations: 0 / 0.7453 GB, free: 3.938 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.051e-05/0.9594, allocations: 15.89 kB / 0.7454 GB, free: 3.922 MB / 474.7 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.04929/1.009, allocations: 14.65 MB / 0.7597 GB, free: 4.984 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.549e-05/1.009, allocations: 11.92 kB / 0.7597 GB, free: 4.973 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001829/1.011, allocations: 255.7 kB / 0.7599 GB, free: 4.723 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01765/1.028, allocations: 4.761 MB / 0.7646 GB, free: 15.95 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008742/1.029, allocations: 48 kB / 0.7646 GB, free: 15.91 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05788/1.087, allocations: 19.61 MB / 0.7838 GB, free: 12.13 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.716e-06/1.087, allocations: 4 kB / 0.7838 GB, free: 12.13 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.6122/1.699, allocations: 85.07 MB / 0.8668 GB, free: 175.7 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001263/1.701, allocations: 498 kB / 0.8673 GB, free: 175.5 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007819/1.702, allocations: 49.22 kB / 0.8674 GB, free: 175.5 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003038/1.705, allocations: 242.4 kB / 0.8676 GB, free: 175.5 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001935/1.707, allocations: 0.5029 MB / 0.8681 GB, free: 175.5 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002296/1.707, allocations: 63.34 kB / 0.8681 GB, free: 175.5 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.00298/1.71, allocations: 1.88 MB / 0.87 GB, free: 175.3 MB / 0.573 GB Notification: Performance of sort global known variables: time 2.8e-07/1.71, allocations: 0 / 0.87 GB, free: 175.3 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.007629/1.717, allocations: 1.648 MB / 0.8716 GB, free: 175.3 MB / 0.573 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.0008176/1.718, allocations: 203.5 kB / 0.8718 GB, free: 175.2 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.01979/1.738, allocations: 6.086 MB / 0.8777 GB, free: 174.6 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 6.442e-06/1.738, allocations: 3.594 kB / 0.8777 GB, free: 174.6 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.01292/1.751, allocations: 3.697 MB / 0.8813 GB, free: 173.3 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005033/1.756, allocations: 268.2 kB / 0.8816 GB, free: 173.2 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02543/1.782, allocations: 10.62 MB / 0.892 GB, free: 167.7 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002441/1.784, allocations: 1.947 MB / 0.8939 GB, free: 166.9 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.002388/1.787, allocations: 319 kB / 0.8942 GB, free: 166.9 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009399/1.788, allocations: 189.5 kB / 0.8944 GB, free: 166.8 MB / 0.573 GB Notification: Performance of SimCode: time 1.603e-06/1.788, allocations: 3.594 kB / 0.8944 GB, free: 166.8 MB / 0.573 GB Notification: Performance of Templates: time 0.1223/1.91, allocations: 83.38 MB / 0.9758 GB, free: 99.41 MB / 0.573 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)