Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_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.0.1/package.mo", uses=false) Using package OpenIPSL with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/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_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_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.001073/0.001073, allocations: 107.3 kB / 15.33 MB, free: 0.5078 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.314/1.314, allocations: 222.9 MB / 239 MB, free: 4.711 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.001542/0.001542, allocations: 188.5 kB / 289.3 MB, free: 2.453 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4977/0.4977, allocations: 78.51 MB / 417.9 MB, free: 3.234 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00149/0.00149, allocations: 75.88 kB / 496.9 MB, free: 6.703 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1449/0.1464, allocations: 68.18 MB / 0.5519 GB, free: 2.488 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE_AVR): time 0.2922/0.4387, allocations: 20.2 MB / 0.5716 GB, free: 27.56 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.01394/0.4527, allocations: 6.465 MB / 0.5779 GB, free: 25.43 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006619/0.4593, allocations: 45.53 kB / 0.578 GB, free: 25.43 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004576/0.4639, allocations: 0.7647 MB / 0.5787 GB, free: 25.14 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01035/0.4744, allocations: 2.356 MB / 0.581 GB, free: 24.28 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006002/0.4804, allocations: 2.025 MB / 0.583 GB, free: 23.27 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.01121/0.4916, allocations: 7.312 MB / 0.5901 GB, free: 19.56 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004101/0.4958, allocations: 1.315 MB / 0.5914 GB, free: 18.96 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006759/0.5026, allocations: 2.73 MB / 0.5941 GB, free: 17.5 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006615/0.5092, allocations: 3.327 MB / 0.5973 GB, free: 15.81 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004094/0.5134, allocations: 0.6754 MB / 0.598 GB, free: 15.8 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004666/0.5181, allocations: 0.947 MB / 0.5989 GB, free: 15.72 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003515/0.5216, allocations: 1.483 MB / 0.6004 GB, free: 14.69 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00779/0.5294, allocations: 2.867 MB / 0.6031 GB, free: 12.66 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01548/0.5449, allocations: 8.11 MB / 0.6111 GB, free: 9.363 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.266e-05/0.545, allocations: 1.406 kB / 0.6111 GB, free: 9.363 MB / 430.1 MB Notification: Performance of FrontEnd: time 3.777e-06/0.545, allocations: 0 / 0.6111 GB, free: 9.363 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0004439/0.5455, allocations: 0 / 0.6111 GB, free: 9.363 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.05268/0.5982, allocations: 10.55 MB / 0.6214 GB, free: 5.062 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.607e-05/0.5982, allocations: 9.281 kB / 0.6214 GB, free: 5.062 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01505/0.6133, allocations: 1.933 MB / 0.6233 GB, free: 4.23 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01067/0.624, allocations: 3.352 MB / 0.6265 GB, free: 1.699 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00109/0.6251, allocations: 1.006 MB / 0.6275 GB, free: 0.7461 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001596/0.6268, allocations: 327.2 kB / 0.6278 GB, free: 0.6328 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01051/0.6373, allocations: 3.953 MB / 0.6317 GB, free: 13.67 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.762e-05/0.6374, allocations: 3.938 kB / 0.6317 GB, free: 13.66 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003713/0.6378, allocations: 108 kB / 0.6318 GB, free: 13.56 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.075e-05/0.6378, allocations: 68 kB / 0.6319 GB, free: 13.49 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008923/0.6468, allocations: 3.808 MB / 0.6356 GB, free: 9.672 MB / 446.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.03681/0.6836, allocations: 15.58 MB / 0.6508 GB, free: 9.508 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01621/0.6999, allocations: 6.463 MB / 0.6571 GB, free: 2.863 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006273/0.7062, allocations: 2.432 MB / 0.6595 GB, free: 420 kB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00135/0.7076, allocations: 0.7621 MB / 0.6602 GB, free: 15.48 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.008105/0.7157, allocations: 2.869 MB / 0.663 GB, free: 12.55 MB / 478.1 MB Notification: Performance of pre-optimization done (n=331): time 7.955e-06/0.7158, allocations: 0 / 0.663 GB, free: 12.55 MB / 478.1 MB Notification: Performance of matching and sorting (n=331): time 0.1174/0.8332, allocations: 25.86 MB / 0.6883 GB, free: 2.602 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001286/0.8334, allocations: 188.8 kB / 0.6885 GB, free: 2.379 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01154/0.8449, allocations: 4.534 MB / 0.6929 GB, free: 13.85 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.001495/0.8465, allocations: 101.7 kB / 0.693 GB, free: 13.74 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.00209/0.8486, allocations: 1.747 MB / 0.6947 GB, free: 11.98 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.002541/0.8511, allocations: 1.202 MB / 0.6959 GB, free: 10.77 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002439/0.8536, allocations: 1.066 MB / 0.6969 GB, free: 9.688 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001014/0.8537, allocations: 305.1 kB / 0.6972 GB, free: 9.387 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006203/0.8599, allocations: 3.015 MB / 0.7001 GB, free: 6.367 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006789/0.8667, allocations: 3.541 MB / 0.7036 GB, free: 2.73 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01287/0.8796, allocations: 6.107 MB / 0.7096 GB, free: 12.5 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.835e-05/0.8797, allocations: 8 kB / 0.7096 GB, free: 12.49 MB / 0.5137 GB Notification: Performance of matching and sorting (n=739) (initialization): time 0.02259/0.9023, allocations: 9.397 MB / 0.7188 GB, free: 3.027 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 3.461e-05/0.9023, allocations: 7.938 kB / 0.7188 GB, free: 3.02 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.464e-05/0.9024, allocations: 8 kB / 0.7188 GB, free: 3.012 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02562/0.928, allocations: 10.29 MB / 0.7288 GB, free: 8.711 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005544/0.9336, allocations: 0.987 MB / 0.7298 GB, free: 7.723 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01673/0.9504, allocations: 6.287 MB / 0.7359 GB, free: 1.406 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008533/0.959, allocations: 0.7306 MB / 0.7366 GB, free: 0.6719 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001502/0.9605, allocations: 196 kB / 0.7368 GB, free: 492 kB / 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 ($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.003193/0.9637, allocations: 0.7704 MB / 0.7376 GB, free: 15.7 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001788/0.9655, allocations: 462.1 kB / 0.738 GB, free: 15.24 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03815/1.004, allocations: 11.62 MB / 0.7494 GB, free: 3.555 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.671e-05/1.004, allocations: 32 kB / 0.7494 GB, free: 3.523 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.197e-05/1.004, allocations: 0 / 0.7494 GB, free: 3.523 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000126/1.004, allocations: 24.62 kB / 0.7494 GB, free: 3.5 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.05031/1.054, allocations: 17.69 MB / 0.7667 GB, free: 1.566 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.632e-05/1.054, allocations: 0 / 0.7667 GB, free: 1.566 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003275/1.058, allocations: 439.3 kB / 0.7671 GB, free: 1.137 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.3307/1.388, allocations: 4.756 MB / 0.7718 GB, free: 163.4 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001262/1.39, allocations: 83.33 kB / 0.7718 GB, free: 163.4 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04984/1.439, allocations: 21.48 MB / 0.7928 GB, free: 159.9 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.013e-06/1.439, allocations: 1.281 kB / 0.7928 GB, free: 159.9 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04775/1.487, allocations: 14.76 MB / 0.8072 GB, free: 155.9 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002391/1.49, allocations: 0.6995 MB / 0.8079 GB, free: 155.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002282/1.492, allocations: 69.2 kB / 0.808 GB, free: 155.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005765/1.498, allocations: 385.1 kB / 0.8083 GB, free: 155.3 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002788/1.501, allocations: 0.6166 MB / 0.8089 GB, free: 155.1 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004568/1.501, allocations: 95.53 kB / 0.809 GB, free: 155.1 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.005882/1.507, allocations: 2.983 MB / 0.812 GB, free: 154 MB / 0.5606 GB Notification: Performance of sort global known variables: time 4.91e-07/1.507, allocations: 0 / 0.812 GB, free: 154 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.007674/1.515, allocations: 1.441 MB / 0.8134 GB, free: 153.8 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 (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.001181/1.516, allocations: 237.1 kB / 0.8136 GB, free: 153.7 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.02756/1.543, allocations: 8.157 MB / 0.8216 GB, free: 151 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 8.085e-06/1.543, allocations: 0 / 0.8216 GB, free: 151 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.01394/1.557, allocations: 4.503 MB / 0.8259 GB, free: 148.7 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007636/1.565, allocations: 408.2 kB / 0.8263 GB, free: 148.3 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01839/1.583, allocations: 10.76 MB / 0.8368 GB, free: 138.4 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001451/1.585, allocations: 2.337 MB / 0.8391 GB, free: 136.6 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.003059/1.588, allocations: 450.8 kB / 0.8396 GB, free: 136.2 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001364/1.589, allocations: 274.7 kB / 0.8398 GB, free: 136 MB / 0.5606 GB Notification: Performance of SimCode: time 7.92e-07/1.589, allocations: 3.188 kB / 0.8398 GB, free: 136 MB / 0.5606 GB Notification: Performance of Templates: time 0.112/1.701, allocations: 76.79 MB / 0.9148 GB, free: 60.42 MB / 0.5606 GB make -j1 -f OpenIPSL_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE_AVR.makefile (rm -f OpenIPSL_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE_AVR.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE_AVR.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE_AVR.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE_AVR.sim & ./OpenIPSL_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE_AVR -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE_AVR.pipe 2>&1)