Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE_AVR.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_AVR,tolerance=0.001,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE_AVR") translateModel(OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE_AVR,tolerance=0.001,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE_AVR") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008715/0.0008716, allocations: 98.77 kB / 15.05 MB, free: 1.105 MB / 14.72 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.2 MB / 238.9 MB, free: 5.457 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.001162/0.001162, allocations: 184.1 kB / 290.2 MB, free: 2.145 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4552/0.4552, allocations: 79.45 MB / 420.7 MB, free: 3.93 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003708/0.0003709, allocations: 8 kB / 0.489 GB, free: 5.59 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1289/0.1293, allocations: 69.52 MB / 0.5569 GB, free: 16 kB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE_AVR): time 0.2496/0.3789, allocations: 17.1 MB / 0.5736 GB, free: 31.16 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.01129/0.3903, allocations: 6.34 MB / 0.5798 GB, free: 26.57 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004481/0.3948, allocations: 45.12 kB / 0.5798 GB, free: 26.57 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002608/0.3974, allocations: 0.677 MB / 0.5805 GB, free: 26.26 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006511/0.404, allocations: 2.045 MB / 0.5825 GB, free: 24.9 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003847/0.4078, allocations: 1.552 MB / 0.584 GB, free: 24.2 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.007411/0.4153, allocations: 3.995 MB / 0.5879 GB, free: 21.96 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001526/0.4168, allocations: 1.046 MB / 0.5889 GB, free: 21.58 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002838/0.4197, allocations: 2.098 MB / 0.591 GB, free: 20.65 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003123/0.4228, allocations: 2.686 MB / 0.5936 GB, free: 19.48 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008684/0.4237, allocations: 248.9 kB / 0.5938 GB, free: 19.48 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001453/0.4251, allocations: 486.7 kB / 0.5943 GB, free: 19.41 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006841/0.4258, allocations: 0.9715 MB / 0.5952 GB, free: 18.86 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008974/0.4267, allocations: 0.8427 MB / 0.596 GB, free: 18.31 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006202/0.4329, allocations: 6.274 MB / 0.6022 GB, free: 16.84 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.835e-06/0.433, allocations: 0 / 0.6022 GB, free: 16.84 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.433, allocations: 0 / 0.6022 GB, free: 16.84 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0002922/0.4333, allocations: 0 / 0.6022 GB, free: 16.84 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: 691 * Number of variables: 691 Notification: Performance of Generate backend data structure: time 0.03577/0.469, allocations: 9.089 MB / 0.611 GB, free: 13.66 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.433e-05/0.4691, allocations: 12.16 kB / 0.6111 GB, free: 13.66 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01379/0.4829, allocations: 1.951 MB / 0.613 GB, free: 13.18 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008897/0.4918, allocations: 3.192 MB / 0.6161 GB, free: 10.81 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001081/0.4929, allocations: 1.034 MB / 0.6171 GB, free: 9.859 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001465/0.4944, allocations: 330.2 kB / 0.6174 GB, free: 9.746 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008711/0.5031, allocations: 4.104 MB / 0.6214 GB, free: 7.402 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.027e-05/0.5032, allocations: 1.375 kB / 0.6214 GB, free: 7.402 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003505/0.5036, allocations: 111.7 kB / 0.6215 GB, free: 7.316 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.268e-05/0.5036, allocations: 65.69 kB / 0.6216 GB, free: 7.316 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009013/0.5126, allocations: 3.988 MB / 0.6255 GB, free: 5.43 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.03615/0.5488, allocations: 16.28 MB / 0.6414 GB, free: 5.625 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01651/0.5654, allocations: 7.195 MB / 0.6484 GB, free: 14.26 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001162/0.5666, allocations: 0.7699 MB / 0.6492 GB, free: 13.32 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.007943/0.5745, allocations: 3.027 MB / 0.6521 GB, free: 10.24 MB / 462.1 MB Notification: Performance of pre-optimization done (n=331): time 8.616e-06/0.5746, allocations: 0 / 0.6521 GB, free: 10.24 MB / 462.1 MB Notification: Performance of matching and sorting (n=331): time 0.1118/0.6864, allocations: 30.34 MB / 0.6817 GB, free: 11.8 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001049/0.6866, allocations: 192.8 kB / 0.6819 GB, free: 11.57 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01128/0.6979, allocations: 4.492 MB / 0.6863 GB, free: 7.082 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.002004/0.6999, allocations: 109.6 kB / 0.6864 GB, free: 6.969 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002569/0.7025, allocations: 1.751 MB / 0.6881 GB, free: 5.207 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00241/0.7049, allocations: 1.194 MB / 0.6893 GB, free: 3.996 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001535/0.7065, allocations: 112 kB / 0.6894 GB, free: 3.887 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0004598/0.707, allocations: 0.5182 MB / 0.6899 GB, free: 3.359 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007997/0.715, allocations: 3.182 MB / 0.693 GB, free: 176 kB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00892/0.7239, allocations: 3.686 MB / 0.6966 GB, free: 12.39 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009175/0.7331, allocations: 3.422 MB / 0.7 GB, free: 8.941 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.511e-05/0.7332, allocations: 0 / 0.7 GB, free: 8.941 MB / 0.4981 GB Notification: Performance of matching and sorting (n=739) (initialization): time 0.02661/0.7598, allocations: 9.952 MB / 0.7097 GB, free: 14.92 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 3.087e-05/0.7599, allocations: 9.906 kB / 0.7097 GB, free: 14.91 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.165e-05/0.7599, allocations: 12 kB / 0.7097 GB, free: 14.9 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0274/0.7873, allocations: 11.09 MB / 0.7205 GB, free: 3.797 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005836/0.7932, allocations: 0.9986 MB / 0.7215 GB, free: 2.797 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01936/0.8126, allocations: 6.968 MB / 0.7283 GB, free: 11.79 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008731/0.8214, allocations: 0.8464 MB / 0.7291 GB, free: 10.94 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001399/0.8228, allocations: 192 kB / 0.7293 GB, free: 10.75 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,g4.eSDC1A.rotatingExciterLimited.sISO.local_reset,g2.eSDC1A.rotatingExciterLimited.sISO.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (584): * Single equations (assignments): 581 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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 {80 72} Notification: Performance of prepare postOptimizeDAE: time 0.003559/0.8264, allocations: 0.7637 MB / 0.7301 GB, free: 9.98 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002128/0.8285, allocations: 474 kB / 0.7305 GB, free: 9.512 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04197/0.8705, allocations: 13.95 MB / 0.7441 GB, free: 11.5 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.976e-05/0.8706, allocations: 32 kB / 0.7442 GB, free: 11.46 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.498e-05/0.8706, allocations: 0 / 0.7442 GB, free: 11.46 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001269/0.8708, allocations: 19.94 kB / 0.7442 GB, free: 11.45 MB / 0.545 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.05839/0.9292, allocations: 20.25 MB / 0.764 GB, free: 6.906 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.587e-05/0.9292, allocations: 1.125 kB / 0.764 GB, free: 6.906 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003312/0.9326, allocations: 439.5 kB / 0.7644 GB, free: 6.477 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01811/0.9507, allocations: 5.57 MB / 0.7698 GB, free: 0.9023 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001519/0.9523, allocations: 75.98 kB / 0.7699 GB, free: 0.8281 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3285/1.281, allocations: 23.24 MB / 0.7926 GB, free: 164.9 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.362e-06/1.281, allocations: 2.312 kB / 0.7926 GB, free: 164.9 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04964/1.331, allocations: 17.4 MB / 0.8096 GB, free: 160.2 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00235/1.333, allocations: 0.7109 MB / 0.8103 GB, free: 159.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002468/1.335, allocations: 66.5 kB / 0.8103 GB, free: 159.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00693/1.342, allocations: 495.3 kB / 0.8108 GB, free: 159.6 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002958/1.345, allocations: 0.6273 MB / 0.8114 GB, free: 159.5 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0009102/1.346, allocations: 99.56 kB / 0.8115 GB, free: 159.5 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.007076/1.353, allocations: 2.952 MB / 0.8144 GB, free: 158.3 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8.11e-07/1.353, allocations: 0 / 0.8144 GB, free: 158.3 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.007637/1.361, allocations: 1.437 MB / 0.8158 GB, free: 158.2 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 38 (g1.g1.w,g1.g1.delta,g1.g1.Epd,g1.g1.Epq,g1.g1.PSIkd,g1.g1.PSIkq,g1.sEXS.simpleLagLim.state,g1.sEXS.leadLag.TF.x_scaled[1],g2.g2.w,g2.g2.delta,g2.g2.Epd,g2.g2.Epq,g2.g2.PSIkd,g2.g2.PSIkq,g2.eSDC1A.imDerivativeLag.x,g2.eSDC1A.imLeadLag.TF.x_scaled[1],g2.eSDC1A.simpleLagLim.state,g2.eSDC1A.rotatingExciterLimited.sISO.y,g2.eSDC1A.TransducerDelay.state,g3.g3.w,g3.g3.delta,g3.g3.Epd,g3.g3.Epq,g3.g3.PSIkd,g3.g3.PSIkq,g3.sEXS.simpleLagLim.state,g3.sEXS.leadLag.TF.x_scaled[1],g4.gENSAL.w,g4.gENSAL.delta,g4.gENSAL.Epd,g4.gENSAL.Epq,g4.gENSAL.PSIkd,g4.gENSAL.PSIkq,g4.eSDC1A.imDerivativeLag.x,g4.eSDC1A.imLeadLag.TF.x_scaled[1],g4.eSDC1A.simpleLagLim.state,g4.eSDC1A.rotatingExciterLimited.sISO.y,g4.eSDC1A.TransducerDelay.state) * Number of discrete variables: 8 ($whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (238): * Single equations (assignments): 237 * 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.00134/1.362, allocations: 237.3 kB / 0.816 GB, free: 158 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.02351/1.386, allocations: 8.579 MB / 0.8244 GB, free: 152.7 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.026e-05/1.386, allocations: 0 / 0.8244 GB, free: 152.7 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.01446/1.4, allocations: 4.982 MB / 0.8293 GB, free: 148.4 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004478/1.405, allocations: 336.4 kB / 0.8296 GB, free: 148 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02075/1.426, allocations: 10.93 MB / 0.8403 GB, free: 137.5 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002064/1.428, allocations: 2.433 MB / 0.8427 GB, free: 135 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.003029/1.431, allocations: 454 kB / 0.8431 GB, free: 134.6 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001398/1.432, allocations: 259.4 kB / 0.8433 GB, free: 134.3 MB / 0.5606 GB Notification: Performance of SimCode: time 1.543e-06/1.432, allocations: 4 kB / 0.8433 GB, free: 134.3 MB / 0.5606 GB Notification: Performance of Templates: time 0.09578/1.528, allocations: 68.73 MB / 0.9105 GB, free: 65.7 MB / 0.5606 GB make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE_AVR.makefile (rm -f OpenIPSL_dev_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE_AVR.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE_AVR.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE_AVR.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE_AVR.sim & ./OpenIPSL_dev_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE_AVR -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE_AVR.pipe 2>&1)