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/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_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/Complex 4.0.0+maint.om/package.mo): time 0.001123/0.001123, allocations: 182.1 kB / 15.98 MB, free: 5.77 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.283/1.283, allocations: 222.9 MB / 239.7 MB, free: 10.97 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.0009312/0.0009312, allocations: 106.2 kB / 289.9 MB, free: 10.92 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4212/0.4212, allocations: 78.48 MB / 418.5 MB, free: 8.746 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001204/0.001204, allocations: 64.19 kB / 497.4 MB, free: 10.63 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2618/0.2631, allocations: 68.13 MB / 0.5523 GB, free: 20.2 MB / 378.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE_AVR): time 0.01221/0.2753, allocations: 20.22 MB / 0.572 GB, free: 15.89 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.01108/0.2865, allocations: 6.481 MB / 0.5784 GB, free: 9.391 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003395/0.2899, allocations: 47.94 kB / 0.5784 GB, free: 9.344 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002431/0.2924, allocations: 0.7609 MB / 0.5792 GB, free: 8.578 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006667/0.2991, allocations: 2.373 MB / 0.5815 GB, free: 6.211 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004243/0.3033, allocations: 2.021 MB / 0.5835 GB, free: 4.211 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.007821/0.3112, allocations: 6.852 MB / 0.5901 GB, free: 13.34 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002124/0.3133, allocations: 1.21 MB / 0.5913 GB, free: 12.08 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003233/0.3165, allocations: 2.29 MB / 0.5936 GB, free: 9.777 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003977/0.3205, allocations: 3.002 MB / 0.5965 GB, free: 6.762 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001435/0.322, allocations: 300 kB / 0.5968 GB, free: 6.469 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001969/0.324, allocations: 0.5427 MB / 0.5973 GB, free: 5.926 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001575/0.3256, allocations: 1.116 MB / 0.5984 GB, free: 4.805 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003049/0.3286, allocations: 2.466 MB / 0.6008 GB, free: 2.324 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007217/0.3358, allocations: 7.841 MB / 0.6085 GB, free: 10.46 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.282e-06/0.3359, allocations: 0 / 0.6085 GB, free: 10.46 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.855e-06/0.3359, allocations: 3.984 kB / 0.6085 GB, free: 10.45 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0002024/0.3361, allocations: 0 / 0.6085 GB, free: 10.45 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: 691 * Number of variables: 691 Notification: Performance of Generate backend data structure: time 0.04101/0.3771, allocations: 10.53 MB / 0.6188 GB, free: 15.83 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.305e-05/0.3772, allocations: 12.03 kB / 0.6188 GB, free: 15.82 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01181/0.389, allocations: 1.937 MB / 0.6207 GB, free: 13.88 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007956/0.397, allocations: 3.351 MB / 0.6239 GB, free: 10.45 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001052/0.3981, allocations: 1.013 MB / 0.6249 GB, free: 9.277 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009625/0.3991, allocations: 327.8 kB / 0.6252 GB, free: 8.957 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00835/0.4075, allocations: 3.945 MB / 0.6291 GB, free: 4.938 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.415e-05/0.4075, allocations: 0 / 0.6291 GB, free: 4.938 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003127/0.4079, allocations: 116 kB / 0.6292 GB, free: 4.824 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.897e-05/0.4079, allocations: 67.98 kB / 0.6293 GB, free: 4.758 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008664/0.4166, allocations: 3.8 MB / 0.633 GB, free: 0.9453 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.02955/0.4462, allocations: 15.6 MB / 0.6482 GB, free: 0.7539 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01541/0.4616, allocations: 6.454 MB / 0.6545 GB, free: 10.06 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005389/0.4671, allocations: 2.44 MB / 0.6569 GB, free: 7.602 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007528/0.4678, allocations: 0.7582 MB / 0.6576 GB, free: 6.676 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005963/0.4738, allocations: 2.873 MB / 0.6604 GB, free: 3.746 MB / 474.7 MB Notification: Performance of pre-optimization done (n=331): time 4.859e-06/0.4738, allocations: 0 / 0.6604 GB, free: 3.746 MB / 474.7 MB Notification: Performance of matching and sorting (n=331): time 0.3419/0.8157, allocations: 25.85 MB / 0.6857 GB, free: 108.8 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.077e-05/0.8159, allocations: 194.8 kB / 0.6859 GB, free: 108.6 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007752/0.8236, allocations: 4.536 MB / 0.6903 GB, free: 107.8 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0008879/0.8245, allocations: 97.42 kB / 0.6904 GB, free: 107.7 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00109/0.8256, allocations: 1.751 MB / 0.6921 GB, free: 106.6 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001275/0.8269, allocations: 1.199 MB / 0.6933 GB, free: 106 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002036/0.829, allocations: 1.063 MB / 0.6943 GB, free: 105.5 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 3.786e-05/0.829, allocations: 309.2 kB / 0.6946 GB, free: 105.2 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006113/0.8351, allocations: 3.014 MB / 0.6976 GB, free: 104 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006571/0.8417, allocations: 3.543 MB / 0.701 GB, free: 102 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0126/0.8544, allocations: 6.102 MB / 0.707 GB, free: 98.61 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.11e-05/0.8544, allocations: 4 kB / 0.707 GB, free: 98.6 MB / 490.7 MB Notification: Performance of matching and sorting (n=739) (initialization): time 0.01986/0.8743, allocations: 9.396 MB / 0.7161 GB, free: 89.59 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.968e-05/0.8743, allocations: 8 kB / 0.7162 GB, free: 89.58 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.881e-05/0.8744, allocations: 8 kB / 0.7162 GB, free: 89.57 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02345/0.8978, allocations: 10.3 MB / 0.7262 GB, free: 79.27 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005495/0.9034, allocations: 0.9753 MB / 0.7272 GB, free: 78.29 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0149/0.9183, allocations: 6.293 MB / 0.7333 GB, free: 71.97 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006701/0.9251, allocations: 0.7293 MB / 0.734 GB, free: 71.24 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009111/0.926, allocations: 195.7 kB / 0.7342 GB, free: 71.05 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition2,$whenCondition1,$whenCondition4,$whenCondition3,$whenCondition6,$whenCondition5,$whenCondition8,$whenCondition7,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 (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 {(80,72)} Notification: Performance of prepare postOptimizeDAE: time 0.00171/0.9278, allocations: 0.7703 MB / 0.735 GB, free: 70.27 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009657/0.9287, allocations: 470 kB / 0.7354 GB, free: 69.8 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03408/0.9628, allocations: 11.61 MB / 0.7468 GB, free: 58.14 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.84e-05/0.9629, allocations: 42.19 kB / 0.7468 GB, free: 58.1 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.071e-05/0.9629, allocations: 0 / 0.7468 GB, free: 58.1 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.628e-05/0.963, allocations: 19.94 kB / 0.7468 GB, free: 58.08 MB / 490.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.04364/1.007, allocations: 17.7 MB / 0.7641 GB, free: 40.22 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.965e-05/1.007, allocations: 0 / 0.7641 GB, free: 40.22 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002832/1.01, allocations: 427.5 kB / 0.7645 GB, free: 39.8 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01495/1.025, allocations: 4.757 MB / 0.7692 GB, free: 35.04 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00103/1.026, allocations: 87.97 kB / 0.7692 GB, free: 34.95 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.047/1.073, allocations: 19.6 MB / 0.7884 GB, free: 15.21 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.356e-06/1.073, allocations: 0 / 0.7884 GB, free: 15.21 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3975/1.47, allocations: 97.72 MB / 0.8838 GB, free: 13.08 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002392/1.473, allocations: 0.6975 MB / 0.8845 GB, free: 12.36 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001959/1.475, allocations: 68 kB / 0.8846 GB, free: 12.29 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007635/1.482, allocations: 383.5 kB / 0.8849 GB, free: 11.91 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003924/1.486, allocations: 0.608 MB / 0.8855 GB, free: 11.3 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008276/1.487, allocations: 91.97 kB / 0.8856 GB, free: 11.21 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.007317/1.494, allocations: 2.988 MB / 0.8885 GB, free: 8.23 MB / 0.573 GB Notification: Performance of sort global known variables: time 3.91e-07/1.494, allocations: 3.938 kB / 0.8885 GB, free: 8.227 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.007527/1.502, allocations: 2.1 MB / 0.8906 GB, free: 6.133 MB / 0.573 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 (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.0008537/1.503, allocations: 244 kB / 0.8908 GB, free: 5.891 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.2393/1.742, allocations: 7.847 MB / 0.8985 GB, free: 190.3 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 7.073e-06/1.742, allocations: 0.9375 kB / 0.8985 GB, free: 190.3 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.01397/1.756, allocations: 4.416 MB / 0.9028 GB, free: 189.9 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003639/1.76, allocations: 398.9 kB / 0.9032 GB, free: 189.9 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02597/1.786, allocations: 14.38 MB / 0.9172 GB, free: 184 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002501/1.788, allocations: 2.475 MB / 0.9196 GB, free: 183.2 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.002511/1.791, allocations: 0.4915 MB / 0.9201 GB, free: 183.1 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001495/1.792, allocations: 286.3 kB / 0.9204 GB, free: 183.1 MB / 0.573 GB Notification: Performance of SimCode: time 9.71e-07/1.792, allocations: 0.6562 kB / 0.9204 GB, free: 183.1 MB / 0.573 GB Notification: Performance of Templates: time 0.1267/1.919, allocations: 107.1 MB / 1.025 GB, free: 87.15 MB / 0.573 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)