Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_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 4.0.0+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/OpenIPSL 3.1.0-master/package.mo", uses=false) Using package OpenIPSL with version 3.1.0-dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_release_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE") translateModel(OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE,tolerance=0.001,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_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.005025/0.005025, allocations: 168.5 kB / 15.13 MB, free: 6.023 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.255/1.255, allocations: 223.3 MB / 239.1 MB, free: 15.98 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007899/0.0007901, allocations: 97.31 kB / 290.3 MB, free: 4.551 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4417/0.4417, allocations: 78.62 MB / 420 MB, free: 36.51 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003837/0.0003839, allocations: 16 kB / 499.9 MB, free: 7.25 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1299/0.1303, allocations: 69.36 MB / 0.5559 GB, free: 1.828 MB / 426.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE): time 0.01154/0.1419, allocations: 13.98 MB / 0.5696 GB, free: 3.797 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.2315/0.3734, allocations: 4.468 MB / 0.5739 GB, free: 31.37 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003189/0.3767, allocations: 31.25 kB / 0.574 GB, free: 31.37 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002489/0.3792, allocations: 0.5395 MB / 0.5745 GB, free: 31.37 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006455/0.3857, allocations: 2.008 MB / 0.5764 GB, free: 31.36 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003725/0.3894, allocations: 1.09 MB / 0.5775 GB, free: 31.34 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.007899/0.3973, allocations: 4.352 MB / 0.5818 GB, free: 30.68 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002032/0.3994, allocations: 0.6627 MB / 0.5824 GB, free: 30.54 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003249/0.4027, allocations: 1.552 MB / 0.5839 GB, free: 30.16 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004077/0.4068, allocations: 2.135 MB / 0.586 GB, free: 29.73 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001129/0.4079, allocations: 186.8 kB / 0.5862 GB, free: 29.73 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0017/0.4096, allocations: 389.1 kB / 0.5866 GB, free: 29.73 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008327/0.4105, allocations: 0.7285 MB / 0.5873 GB, free: 29.56 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001214/0.4117, allocations: 0.6124 MB / 0.5879 GB, free: 29.4 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005618/0.4173, allocations: 4.059 MB / 0.5918 GB, free: 29.05 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.47e-06/0.4174, allocations: 4.219 kB / 0.5918 GB, free: 29.05 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.783e-06/0.4174, allocations: 0 / 0.5918 GB, free: 29.05 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0001234/0.4175, allocations: 0 / 0.5918 GB, free: 29.05 MB / 442.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.05508/0.4726, allocations: 9.124 MB / 0.6007 GB, free: 27.16 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.197e-05/0.4727, allocations: 9.875 kB / 0.6008 GB, free: 27.16 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0178/0.4905, allocations: 1.768 MB / 0.6025 GB, free: 26.93 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005573/0.4961, allocations: 2.058 MB / 0.6045 GB, free: 26.34 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008641/0.497, allocations: 0.6978 MB / 0.6052 GB, free: 25.86 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007399/0.4977, allocations: 239 kB / 0.6054 GB, free: 25.86 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008757/0.5065, allocations: 2.853 MB / 0.6082 GB, free: 25.74 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.935e-05/0.5066, allocations: 0 / 0.6082 GB, free: 25.74 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003631/0.5069, allocations: 74.12 kB / 0.6083 GB, free: 25.74 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.401e-05/0.507, allocations: 50.12 kB / 0.6083 GB, free: 25.73 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007199/0.5142, allocations: 3.021 MB / 0.6113 GB, free: 25.67 MB / 442.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.01855/0.5328, allocations: 11.18 MB / 0.6222 GB, free: 20.74 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01297/0.5458, allocations: 5.666 MB / 0.6277 GB, free: 18.42 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004325/0.5501, allocations: 2.106 MB / 0.6298 GB, free: 17.62 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000252/0.5504, allocations: 40.67 kB / 0.6298 GB, free: 17.61 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.054e-05/0.5504, allocations: 60.44 kB / 0.6299 GB, free: 17.55 MB / 442.7 MB Notification: Performance of pre-optimization done (n=249): time 3.957e-06/0.5504, allocations: 0 / 0.6299 GB, free: 17.55 MB / 442.7 MB Notification: Performance of matching and sorting (n=249): time 0.133/0.6835, allocations: 35.42 MB / 0.6644 GB, free: 4.117 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.823e-05/0.6836, allocations: 77.41 kB / 0.6645 GB, free: 4.031 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004658/0.6883, allocations: 2.882 MB / 0.6673 GB, free: 1.148 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0009599/0.6892, allocations: 81.7 kB / 0.6674 GB, free: 1.062 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001037/0.6903, allocations: 1.257 MB / 0.6686 GB, free: 15.81 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00142/0.6917, allocations: 0.9059 MB / 0.6695 GB, free: 14.91 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000329/0.6921, allocations: 84 kB / 0.6696 GB, free: 14.83 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0002037/0.6923, allocations: 462.9 kB / 0.67 GB, free: 14.37 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005097/0.6974, allocations: 2.445 MB / 0.6724 GB, free: 11.91 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005397/0.7028, allocations: 2.841 MB / 0.6752 GB, free: 8.98 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005596/0.7084, allocations: 2.632 MB / 0.6778 GB, free: 6.348 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.056e-05/0.7084, allocations: 3.953 kB / 0.6778 GB, free: 6.344 MB / 474.7 MB Notification: Performance of matching and sorting (n=531) (initialization): time 0.0171/0.7255, allocations: 7.701 MB / 0.6853 GB, free: 14.63 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.814e-05/0.7256, allocations: 5.969 kB / 0.6853 GB, free: 14.63 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.076e-05/0.7256, allocations: 11.28 kB / 0.6853 GB, free: 14.62 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02036/0.746, allocations: 6.499 MB / 0.6917 GB, free: 8.121 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003601/0.7496, allocations: 0.6632 MB / 0.6923 GB, free: 7.457 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01485/0.7645, allocations: 6.142 MB / 0.6983 GB, free: 1.289 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005556/0.7701, allocations: 0.6029 MB / 0.6989 GB, free: 0.6836 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006545/0.7708, allocations: 132 kB / 0.699 GB, free: 0.5547 MB / 490.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 (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.001501/0.7723, allocations: 0.5246 MB / 0.6995 GB, free: 20 kB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009338/0.7732, allocations: 335.9 kB / 0.6999 GB, free: 15.68 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0379/0.8111, allocations: 12.85 MB / 0.7124 GB, free: 2.766 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.951e-05/0.8112, allocations: 24 kB / 0.7124 GB, free: 2.742 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.027e-06/0.8112, allocations: 0 / 0.7124 GB, free: 2.742 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.192e-05/0.8113, allocations: 15.95 kB / 0.7124 GB, free: 2.727 MB / 0.4948 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.04383/0.8552, allocations: 16.98 MB / 0.729 GB, free: 1.527 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.952e-05/0.8552, allocations: 1.062 kB / 0.729 GB, free: 1.527 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001706/0.8569, allocations: 259.6 kB / 0.7293 GB, free: 1.273 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01713/0.8741, allocations: 5.57 MB / 0.7347 GB, free: 11.7 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005476/0.8747, allocations: 55.98 kB / 0.7348 GB, free: 11.64 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05276/0.9274, allocations: 22 MB / 0.7563 GB, free: 5.5 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.957e-06/0.9275, allocations: 7.953 kB / 0.7563 GB, free: 5.492 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04345/0.9709, allocations: 15.3 MB / 0.7712 GB, free: 6.094 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001219/0.9722, allocations: 0.4923 MB / 0.7717 GB, free: 5.578 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005325/0.9727, allocations: 48.94 kB / 0.7717 GB, free: 5.531 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003085/0.9758, allocations: 339.7 kB / 0.7721 GB, free: 5.199 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001534/0.9774, allocations: 0.5177 MB / 0.7726 GB, free: 4.68 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001885/0.9776, allocations: 63.98 kB / 0.7726 GB, free: 4.617 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.002566/0.9801, allocations: 1.856 MB / 0.7744 GB, free: 2.773 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.5e-07/0.9801, allocations: 0 / 0.7744 GB, free: 2.773 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.00305/0.9832, allocations: 1.124 MB / 0.7755 GB, free: 1.648 MB / 0.5573 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 (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.0004139/0.9836, allocations: 180.8 kB / 0.7757 GB, free: 1.461 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.01838/1.002, allocations: 6.809 MB / 0.7824 GB, free: 10.65 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 6.372e-06/1.002, allocations: 0 / 0.7824 GB, free: 10.65 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.01211/1.014, allocations: 4.274 MB / 0.7865 GB, free: 6.363 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002353/1.017, allocations: 267.5 kB / 0.7868 GB, free: 6.098 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2268/1.243, allocations: 7.378 MB / 0.794 GB, free: 178 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001462/1.245, allocations: 1.844 MB / 0.7958 GB, free: 177.2 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.001889/1.247, allocations: 288.7 kB / 0.7961 GB, free: 177.2 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000852/1.248, allocations: 181.2 kB / 0.7962 GB, free: 177.2 MB / 0.573 GB Notification: Performance of SimCode: time 1.814e-06/1.248, allocations: 0 / 0.7962 GB, free: 177.2 MB / 0.573 GB Notification: Performance of Templates: time 0.08563/1.333, allocations: 52.34 MB / 0.8474 GB, free: 161.2 MB / 0.573 GB make -j1 -f OpenIPSL_release_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE.makefile (rm -f OpenIPSL_release_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE.pipe >> ../files/OpenIPSL_release_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE.sim & ./OpenIPSL_release_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_release_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE.pipe 2>&1)