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.005136/0.005137, allocations: 103.2 kB / 15.73 MB, free: 6.059 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.309/1.309, allocations: 222.9 MB / 239.4 MB, free: 4.539 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.001286/0.001286, allocations: 184.5 kB / 289.7 MB, free: 2.258 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.481/0.481, allocations: 91.9 MB / 431.7 MB, free: 9.164 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001391/0.001391, allocations: 78.44 kB / 0.5727 GB, free: 33.48 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1289/0.1303, allocations: 71.29 MB / 0.6423 GB, free: 3.586 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE_AVR): time 0.01948/0.1498, allocations: 19.54 MB / 0.6614 GB, free: 15.96 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.01271/0.1626, allocations: 6.387 MB / 0.6676 GB, free: 9.555 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003842/0.1664, allocations: 43.94 kB / 0.6677 GB, free: 9.512 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002782/0.1692, allocations: 0.9763 MB / 0.6686 GB, free: 8.527 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007363/0.1767, allocations: 2.565 MB / 0.6711 GB, free: 5.953 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004762/0.1814, allocations: 2.183 MB / 0.6733 GB, free: 3.789 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.009877/0.1913, allocations: 7.039 MB / 0.6801 GB, free: 12.73 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003028/0.1944, allocations: 1.322 MB / 0.6814 GB, free: 11.35 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004827/0.1993, allocations: 2.681 MB / 0.6841 GB, free: 8.66 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004854/0.2041, allocations: 3.283 MB / 0.6873 GB, free: 5.363 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002399/0.2066, allocations: 0.6758 MB / 0.6879 GB, free: 4.688 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00302/0.2096, allocations: 0.9489 MB / 0.6888 GB, free: 3.738 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002192/0.2118, allocations: 1.471 MB / 0.6903 GB, free: 2.262 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005301/0.2171, allocations: 2.845 MB / 0.6931 GB, free: 15.4 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.01038/0.2275, allocations: 8.165 MB / 0.701 GB, free: 7.211 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.2276, allocations: 0 / 0.701 GB, free: 7.211 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.373e-06/0.2276, allocations: 0 / 0.701 GB, free: 7.211 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 0.0002679/0.2279, allocations: 0 / 0.701 GB, free: 7.211 MB / 0.4981 GB 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.03634/0.2642, allocations: 9.734 MB / 0.7105 GB, free: 13.39 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.612e-05/0.2642, allocations: 8.031 kB / 0.7105 GB, free: 13.38 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01191/0.2762, allocations: 1.941 MB / 0.7124 GB, free: 11.43 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007794/0.284, allocations: 3.363 MB / 0.7157 GB, free: 7.992 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0011/0.2851, allocations: 1.009 MB / 0.7167 GB, free: 6.828 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001156/0.2863, allocations: 327.8 kB / 0.717 GB, free: 6.508 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009403/0.2957, allocations: 3.945 MB / 0.7209 GB, free: 2.488 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.805e-05/0.2958, allocations: 4 kB / 0.7209 GB, free: 2.484 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004267/0.2962, allocations: 112 kB / 0.721 GB, free: 2.375 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.253e-05/0.2963, allocations: 68 kB / 0.7211 GB, free: 2.309 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008227/0.3045, allocations: 3.8 MB / 0.7248 GB, free: 14.49 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 preOpt removeSimpleEquations (simulation): time 0.02716/0.3317, allocations: 15.51 MB / 0.7399 GB, free: 14.39 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01447/0.3462, allocations: 6.454 MB / 0.7462 GB, free: 7.699 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005571/0.3518, allocations: 2.428 MB / 0.7486 GB, free: 5.254 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009676/0.3528, allocations: 0.7699 MB / 0.7493 GB, free: 4.316 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.007805/0.3606, allocations: 2.863 MB / 0.7521 GB, free: 1.398 MB / 0.545 GB Notification: Performance of pre-optimization done (n=331): time 1.087e-05/0.3606, allocations: 3.938 kB / 0.7521 GB, free: 1.395 MB / 0.545 GB Notification: Performance of matching and sorting (n=331): time 0.3742/0.7349, allocations: 25.86 MB / 0.7774 GB, free: 109.9 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.807e-05/0.735, allocations: 189.8 kB / 0.7776 GB, free: 109.7 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007585/0.7426, allocations: 4.531 MB / 0.782 GB, free: 109.4 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.001036/0.7437, allocations: 106.8 kB / 0.7821 GB, free: 109.3 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.001363/0.745, allocations: 1.745 MB / 0.7838 GB, free: 108.3 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.001526/0.7466, allocations: 1.203 MB / 0.785 GB, free: 107.6 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001874/0.7485, allocations: 1.061 MB / 0.786 GB, free: 107.1 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 4.381e-05/0.7485, allocations: 301.1 kB / 0.7863 GB, free: 106.8 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005327/0.7538, allocations: 3.021 MB / 0.7893 GB, free: 105.6 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005702/0.7596, allocations: 3.543 MB / 0.7927 GB, free: 103.9 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01034/0.7699, allocations: 6.107 MB / 0.7987 GB, free: 100.5 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.215e-05/0.7699, allocations: 0 / 0.7987 GB, free: 100.5 MB / 0.5606 GB Notification: Performance of matching and sorting (n=739) (initialization): time 0.01658/0.7865, allocations: 9.395 MB / 0.8079 GB, free: 92.56 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.836e-05/0.7866, allocations: 8 kB / 0.8079 GB, free: 92.55 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.318e-05/0.7866, allocations: 8 kB / 0.8079 GB, free: 92.55 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02095/0.8076, allocations: 10.3 MB / 0.8179 GB, free: 82.25 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004615/0.8122, allocations: 0.9869 MB / 0.8189 GB, free: 81.26 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01341/0.8257, allocations: 6.287 MB / 0.825 GB, free: 74.95 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007176/0.8329, allocations: 0.7311 MB / 0.8257 GB, free: 74.21 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009286/0.8338, allocations: 193.5 kB / 0.8259 GB, free: 74.02 MB / 0.5606 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 ($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.001886/0.8357, allocations: 0.7664 MB / 0.8267 GB, free: 73.25 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001083/0.8368, allocations: 474 kB / 0.8271 GB, free: 72.78 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03082/0.8676, allocations: 11.6 MB / 0.8385 GB, free: 61.11 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.737e-05/0.8677, allocations: 36 kB / 0.8385 GB, free: 61.08 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.287e-06/0.8677, allocations: 0 / 0.8385 GB, free: 61.08 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.72e-05/0.8678, allocations: 23.92 kB / 0.8385 GB, free: 61.05 MB / 0.5606 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.0379/0.9057, allocations: 17.67 MB / 0.8558 GB, free: 43.25 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.443e-05/0.9058, allocations: 8.875 kB / 0.8558 GB, free: 43.24 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002726/0.9085, allocations: 427.4 kB / 0.8562 GB, free: 42.82 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0132/0.9217, allocations: 4.76 MB / 0.8608 GB, free: 38.05 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008389/0.9226, allocations: 79.97 kB / 0.8609 GB, free: 37.98 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04365/0.9662, allocations: 21.46 MB / 0.8819 GB, free: 16.39 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-06/0.9663, allocations: 0 / 0.8819 GB, free: 16.39 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03723/1.004, allocations: 14.77 MB / 0.8963 GB, free: 1.52 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001671/1.005, allocations: 0.6936 MB / 0.897 GB, free: 0.8008 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009734/1.006, allocations: 72 kB / 0.897 GB, free: 0.7305 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003811/1.01, allocations: 383.5 kB / 0.8974 GB, free: 364 kB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002133/1.012, allocations: 0.6238 MB / 0.898 GB, free: 15.73 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002861/1.012, allocations: 87.92 kB / 0.8981 GB, free: 15.64 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.004999/1.017, allocations: 2.992 MB / 0.901 GB, free: 12.66 MB / 0.5762 GB Notification: Performance of sort global known variables: time 2.2e-07/1.017, allocations: 0 / 0.901 GB, free: 12.66 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.004371/1.022, allocations: 1.443 MB / 0.9024 GB, free: 11.22 MB / 0.5762 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.0007163/1.023, allocations: 234 kB / 0.9026 GB, free: 10.99 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.02061/1.043, allocations: 7.93 MB / 0.9104 GB, free: 3.043 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 5.851e-06/1.043, allocations: 3.938 kB / 0.9104 GB, free: 3.039 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.01269/1.056, allocations: 4.504 MB / 0.9148 GB, free: 14.53 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003572/1.06, allocations: 397 kB / 0.9152 GB, free: 14.15 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01779/1.077, allocations: 9.141 MB / 0.9241 GB, free: 5.023 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001888/1.079, allocations: 2.337 MB / 0.9264 GB, free: 2.652 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.00224/1.082, allocations: 449.2 kB / 0.9268 GB, free: 2.211 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001457/1.083, allocations: 275.4 kB / 0.9271 GB, free: 1.941 MB / 0.5919 GB Notification: Performance of SimCode: time 9.01e-07/1.083, allocations: 4 kB / 0.9271 GB, free: 1.938 MB / 0.5919 GB Notification: Performance of Templates: time 0.118/1.201, allocations: 78.77 MB / 1.004 GB, free: 3.25 MB / 0.67 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)