Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE.conf.json 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 4.0.0+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 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 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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) Running command: translateModel(OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE,tolerance=0.001,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE") translateModel(OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE,tolerance=0.001,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009916/0.0009917, allocations: 91.53 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.474/1.474, allocations: 223.3 MB / 240 MB, free: 5.488 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001365/0.001366, allocations: 187.3 kB / 291.3 MB, free: 2.152 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.568/0.568, allocations: 91.93 MB / 434.3 MB, free: 10.27 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003735/0.0003735, allocations: 12 kB / 0.5054 GB, free: 7.266 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4063/0.4067, allocations: 72.46 MB / 0.5762 GB, free: 36.5 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE): time 0.01001/0.4168, allocations: 15.09 MB / 0.5909 GB, free: 25.62 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.008709/0.4255, allocations: 4.67 MB / 0.5955 GB, free: 22.25 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002542/0.4281, allocations: 29.75 kB / 0.5955 GB, free: 22.25 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001711/0.4298, allocations: 0.6245 MB / 0.5961 GB, free: 22 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005166/0.435, allocations: 1.64 MB / 0.5977 GB, free: 20.9 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002739/0.4377, allocations: 1.329 MB / 0.599 GB, free: 20.15 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.005896/0.4437, allocations: 4.239 MB / 0.6031 GB, free: 18.07 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001074/0.4447, allocations: 0.6982 MB / 0.6038 GB, free: 17.71 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002573/0.4473, allocations: 1.544 MB / 0.6053 GB, free: 17 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002361/0.4497, allocations: 2.116 MB / 0.6074 GB, free: 16.04 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000469/0.4502, allocations: 190.3 kB / 0.6076 GB, free: 16.04 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001099/0.4513, allocations: 410.5 kB / 0.608 GB, free: 15.97 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005253/0.4518, allocations: 0.7159 MB / 0.6087 GB, free: 15.54 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001542/0.4534, allocations: 1.761 MB / 0.6104 GB, free: 14.38 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004837/0.4582, allocations: 4.032 MB / 0.6143 GB, free: 13.29 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.4582, allocations: 0 / 0.6143 GB, free: 13.29 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.325e-06/0.4583, allocations: 1 kB / 0.6143 GB, free: 13.29 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0001604/0.4584, allocations: 0 / 0.6143 GB, free: 13.29 MB / 430.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.03203/0.4905, allocations: 7.688 MB / 0.6218 GB, free: 10.78 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.124e-05/0.4905, allocations: 9.438 kB / 0.6219 GB, free: 10.78 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01257/0.5031, allocations: 1.768 MB / 0.6236 GB, free: 10.38 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006052/0.5092, allocations: 2.176 MB / 0.6257 GB, free: 8.684 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008904/0.5101, allocations: 0.6907 MB / 0.6264 GB, free: 8.09 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001317/0.5114, allocations: 242.5 kB / 0.6266 GB, free: 8.004 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009009/0.5205, allocations: 2.865 MB / 0.6294 GB, free: 6.488 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.335e-05/0.5206, allocations: 0 / 0.6294 GB, free: 6.488 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006003/0.5212, allocations: 76.25 kB / 0.6295 GB, free: 6.43 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.931e-05/0.5212, allocations: 46.34 kB / 0.6295 GB, free: 6.43 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007056/0.5283, allocations: 3.025 MB / 0.6325 GB, free: 3.832 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.02259/0.5509, allocations: 11.2 MB / 0.6434 GB, free: 8.094 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01394/0.5649, allocations: 5.682 MB / 0.649 GB, free: 2.191 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004971/0.5699, allocations: 2.113 MB / 0.651 GB, free: 80 kB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004096/0.5703, allocations: 49.89 kB / 0.6511 GB, free: 32 kB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.747e-05/0.5704, allocations: 56.56 kB / 0.6511 GB, free: 15.96 MB / 462.1 MB Notification: Performance of pre-optimization done (n=249): time 4.349e-06/0.5704, allocations: 0 / 0.6511 GB, free: 15.96 MB / 462.1 MB Notification: Performance of matching and sorting (n=249): time 0.1441/0.7145, allocations: 35.72 MB / 0.686 GB, free: 12.17 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.131e-05/0.7146, allocations: 77.41 kB / 0.6861 GB, free: 12.09 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006568/0.7212, allocations: 2.898 MB / 0.6889 GB, free: 9.188 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001102/0.7223, allocations: 89.64 kB / 0.689 GB, free: 9.094 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001747/0.7241, allocations: 1.26 MB / 0.6902 GB, free: 7.82 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001941/0.7261, allocations: 0.9013 MB / 0.6911 GB, free: 6.906 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001465/0.7275, allocations: 390.6 kB / 0.6915 GB, free: 6.516 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001255/0.7277, allocations: 305.1 kB / 0.6918 GB, free: 6.215 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006526/0.7342, allocations: 2.46 MB / 0.6942 GB, free: 3.746 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00689/0.7411, allocations: 2.861 MB / 0.697 GB, free: 0.793 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01275/0.7539, allocations: 5.198 MB / 0.7021 GB, free: 11.51 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.572e-05/0.754, allocations: 3.938 kB / 0.7021 GB, free: 11.51 MB / 0.4981 GB Notification: Performance of matching and sorting (n=531) (initialization): time 0.02268/0.7766, allocations: 7.763 MB / 0.7096 GB, free: 3.73 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 3.533e-05/0.7767, allocations: 8 kB / 0.7096 GB, free: 3.723 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.967e-05/0.7768, allocations: 4 kB / 0.7096 GB, free: 3.719 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02243/0.7992, allocations: 6.577 MB / 0.7161 GB, free: 13.14 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003937/0.8032, allocations: 0.6631 MB / 0.7167 GB, free: 12.47 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01762/0.8208, allocations: 6.15 MB / 0.7227 GB, free: 6.297 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006538/0.8274, allocations: 0.5977 MB / 0.7233 GB, free: 5.695 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009551/0.8284, allocations: 147.9 kB / 0.7234 GB, free: 5.551 MB / 0.5137 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.002386/0.8308, allocations: 0.5215 MB / 0.724 GB, free: 5.02 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001419/0.8322, allocations: 331.8 kB / 0.7243 GB, free: 4.691 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04169/0.8739, allocations: 12.87 MB / 0.7368 GB, free: 7.75 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.457e-05/0.874, allocations: 31.88 kB / 0.7369 GB, free: 7.719 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.244e-05/0.874, allocations: 0 / 0.7369 GB, free: 7.719 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.531e-05/0.8741, allocations: 11.95 kB / 0.7369 GB, free: 7.707 MB / 0.5294 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.05085/0.925, allocations: 17 MB / 0.7535 GB, free: 6.426 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.407e-05/0.925, allocations: 0 / 0.7535 GB, free: 6.426 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001847/0.9269, allocations: 259.7 kB / 0.7537 GB, free: 6.172 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01876/0.9457, allocations: 5.581 MB / 0.7592 GB, free: 0.5859 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008015/0.9465, allocations: 48 kB / 0.7592 GB, free: 0.5391 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3779/1.324, allocations: 22.04 MB / 0.7807 GB, free: 163.8 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.406e-06/1.324, allocations: 0.875 kB / 0.7807 GB, free: 163.8 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04409/1.369, allocations: 15.34 MB / 0.7957 GB, free: 161.7 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001601/1.37, allocations: 0.4937 MB / 0.7962 GB, free: 161.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009027/1.371, allocations: 52.38 kB / 0.7963 GB, free: 161.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003339/1.374, allocations: 336.8 kB / 0.7966 GB, free: 161.3 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00189/1.376, allocations: 0.5052 MB / 0.7971 GB, free: 161.2 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002004/1.377, allocations: 67.39 kB / 0.7971 GB, free: 161.2 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.003008/1.38, allocations: 1.877 MB / 0.799 GB, free: 160.5 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.41e-07/1.38, allocations: 0 / 0.799 GB, free: 160.5 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.004062/1.384, allocations: 1.125 MB / 0.8001 GB, free: 160.4 MB / 0.5606 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.0004903/1.384, allocations: 180 kB / 0.8002 GB, free: 160.2 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.01999/1.404, allocations: 6.83 MB / 0.8069 GB, free: 158.2 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 6.061e-06/1.404, allocations: 0 / 0.8069 GB, free: 158.2 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.01215/1.416, allocations: 4.273 MB / 0.8111 GB, free: 156.9 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004345/1.421, allocations: 261.9 kB / 0.8113 GB, free: 156.7 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01212/1.433, allocations: 7.812 MB / 0.819 GB, free: 151.4 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009899/1.434, allocations: 1.844 MB / 0.8208 GB, free: 150 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001397/1.435, allocations: 190.9 kB / 0.8209 GB, free: 149.8 MB / 0.5606 GB Notification: Performance of SimCode: time 6.91e-07/1.435, allocations: 0 / 0.8209 GB, free: 149.8 MB / 0.5606 GB Notification: Performance of Templates: time 0.07045/1.506, allocations: 54.98 MB / 0.8746 GB, free: 96.99 MB / 0.5606 GB make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE.makefile (rm -f OpenIPSL_dev_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE.sim & ./OpenIPSL_dev_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE.pipe 2>&1)