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.001542/0.001542, allocations: 103.5 kB / 16.4 MB, free: 5.977 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.531/1.531, allocations: 222.9 MB / 240.1 MB, free: 4.527 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.001806/0.001805, allocations: 188.5 kB / 290.4 MB, free: 2.242 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.5472/0.5472, allocations: 78.52 MB / 419.1 MB, free: 3.137 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00154/0.00154, allocations: 75.89 kB / 0.5543 GB, free: 0.9727 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5345/0.536, allocations: 68.17 MB / 0.6208 GB, free: 9.672 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE_AVR): time 0.01713/0.5532, allocations: 19.5 MB / 0.6399 GB, free: 6.641 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.01645/0.5697, allocations: 6.403 MB / 0.6461 GB, free: 228 kB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005946/0.5757, allocations: 39.94 kB / 0.6462 GB, free: 188 kB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004422/0.5801, allocations: 0.9647 MB / 0.6471 GB, free: 15.21 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01383/0.5941, allocations: 2.693 MB / 0.6498 GB, free: 12.52 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00715/0.6012, allocations: 2.178 MB / 0.6519 GB, free: 10.36 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.01482/0.6161, allocations: 7.336 MB / 0.659 GB, free: 3.008 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00372/0.6198, allocations: 1.326 MB / 0.6603 GB, free: 1.625 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006048/0.6259, allocations: 2.728 MB / 0.663 GB, free: 14.89 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00622/0.6321, allocations: 3.338 MB / 0.6663 GB, free: 11.54 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003056/0.6352, allocations: 0.6719 MB / 0.6669 GB, free: 10.86 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003777/0.639, allocations: 0.945 MB / 0.6678 GB, free: 9.918 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003152/0.6422, allocations: 1.479 MB / 0.6693 GB, free: 8.434 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006525/0.6487, allocations: 2.856 MB / 0.6721 GB, free: 5.562 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0152/0.664, allocations: 8.206 MB / 0.6801 GB, free: 13.33 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.133e-06/0.664, allocations: 3.938 kB / 0.6801 GB, free: 13.33 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.044e-06/0.664, allocations: 0 / 0.6801 GB, free: 13.33 MB / 494.1 MB Notification: Performance of Transformations before backend: time 0.00039/0.6644, allocations: 0 / 0.6801 GB, free: 13.33 MB / 494.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.04974/0.7142, allocations: 10.54 MB / 0.6904 GB, free: 2.703 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.634e-05/0.7143, allocations: 12.03 kB / 0.6904 GB, free: 2.691 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0142/0.7285, allocations: 1.937 MB / 0.6923 GB, free: 0.7461 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0126/0.7411, allocations: 3.367 MB / 0.6956 GB, free: 13.3 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001843/0.743, allocations: 1.017 MB / 0.6966 GB, free: 12.13 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002385/0.7455, allocations: 323.8 kB / 0.6969 GB, free: 11.82 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01419/0.7597, allocations: 3.949 MB / 0.7007 GB, free: 7.793 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001196/0.7598, allocations: 3.938 kB / 0.7007 GB, free: 7.789 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001121/0.761, allocations: 116 kB / 0.7008 GB, free: 7.676 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.246e-05/0.761, allocations: 67.94 kB / 0.7009 GB, free: 7.609 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01141/0.7725, allocations: 3.8 MB / 0.7046 GB, free: 3.797 MB / 0.4981 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.04103/0.8135, allocations: 15.5 MB / 0.7198 GB, free: 3.711 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01806/0.8316, allocations: 6.463 MB / 0.7261 GB, free: 13 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00648/0.8382, allocations: 2.442 MB / 0.7284 GB, free: 10.55 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001118/0.8393, allocations: 0.7621 MB / 0.7292 GB, free: 9.617 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.007808/0.8471, allocations: 2.861 MB / 0.732 GB, free: 6.699 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=331): time 1.016e-05/0.8472, allocations: 4 kB / 0.732 GB, free: 6.695 MB / 0.5294 GB Notification: Performance of matching and sorting (n=331): time 0.1158/0.963, allocations: 25.85 MB / 0.7572 GB, free: 12.75 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001296/0.9631, allocations: 188.8 kB / 0.7574 GB, free: 12.52 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01093/0.9741, allocations: 4.541 MB / 0.7619 GB, free: 7.984 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.001351/0.9755, allocations: 97.7 kB / 0.7619 GB, free: 7.883 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.002247/0.9777, allocations: 1.751 MB / 0.7637 GB, free: 6.121 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.002754/0.9805, allocations: 1.198 MB / 0.7648 GB, free: 4.906 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.006191/0.9867, allocations: 1.066 MB / 0.7659 GB, free: 3.828 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001361/0.9869, allocations: 301.1 kB / 0.7662 GB, free: 3.531 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008722/0.9956, allocations: 3.026 MB / 0.7691 GB, free: 0.5 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.4168/1.412, allocations: 3.535 MB / 0.7726 GB, free: 124.9 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01683/1.429, allocations: 6.104 MB / 0.7785 GB, free: 122.7 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.865e-05/1.429, allocations: 1.656 kB / 0.7785 GB, free: 122.7 MB / 0.5606 GB Notification: Performance of matching and sorting (n=739) (initialization): time 0.02449/1.454, allocations: 9.39 MB / 0.7877 GB, free: 119.2 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 4.067e-05/1.454, allocations: 7.656 kB / 0.7877 GB, free: 119.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.734e-05/1.454, allocations: 11.55 kB / 0.7877 GB, free: 119.2 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02361/1.478, allocations: 10.29 MB / 0.7978 GB, free: 115.2 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00505/1.483, allocations: 0.9833 MB / 0.7987 GB, free: 114.3 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01508/1.498, allocations: 6.299 MB / 0.8049 GB, free: 108.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008728/1.507, allocations: 0.7337 MB / 0.8056 GB, free: 108.5 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001283/1.508, allocations: 187.5 kB / 0.8058 GB, free: 108.4 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.002575/1.511, allocations: 0.7667 MB / 0.8065 GB, free: 107.6 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001464/1.512, allocations: 463.5 kB / 0.807 GB, free: 107.4 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03511/1.547, allocations: 11.6 MB / 0.8183 GB, free: 97.27 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.503e-05/1.547, allocations: 39.22 kB / 0.8183 GB, free: 97.23 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.458e-05/1.547, allocations: 7.062 kB / 0.8183 GB, free: 97.23 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001012/1.547, allocations: 15.94 kB / 0.8184 GB, free: 97.21 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.04503/1.592, allocations: 17.68 MB / 0.8356 GB, free: 79.44 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.823e-05/1.593, allocations: 2.25 kB / 0.8356 GB, free: 79.44 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002997/1.596, allocations: 427.6 kB / 0.836 GB, free: 79.02 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01519/1.611, allocations: 4.757 MB / 0.8407 GB, free: 74.25 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00111/1.612, allocations: 87.91 kB / 0.8408 GB, free: 74.17 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04869/1.661, allocations: 21.45 MB / 0.8617 GB, free: 52.61 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.268e-06/1.661, allocations: 0 / 0.8617 GB, free: 52.61 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04351/1.704, allocations: 14.77 MB / 0.8761 GB, free: 37.75 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002064/1.706, allocations: 0.6935 MB / 0.8768 GB, free: 37.08 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001907/1.708, allocations: 75.92 kB / 0.8769 GB, free: 37.01 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005525/1.714, allocations: 383.5 kB / 0.8772 GB, free: 36.63 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002622/1.716, allocations: 0.6121 MB / 0.8778 GB, free: 36.02 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005232/1.717, allocations: 95.97 kB / 0.8779 GB, free: 35.93 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.005544/1.723, allocations: 2.992 MB / 0.8808 GB, free: 32.95 MB / 0.5606 GB Notification: Performance of sort global known variables: time 6.31e-07/1.723, allocations: 0 / 0.8808 GB, free: 32.95 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.00689/1.729, allocations: 1.438 MB / 0.8823 GB, free: 31.55 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.001049/1.731, allocations: 244.7 kB / 0.8825 GB, free: 31.31 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.02312/1.754, allocations: 7.925 MB / 0.8902 GB, free: 23.36 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 9.377e-06/1.754, allocations: 1.375 kB / 0.8902 GB, free: 23.36 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.01398/1.768, allocations: 4.48 MB / 0.8946 GB, free: 18.86 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005501/1.773, allocations: 405 kB / 0.895 GB, free: 18.46 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01996/1.793, allocations: 9.217 MB / 0.904 GB, free: 9.242 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002771/1.796, allocations: 2.341 MB / 0.9063 GB, free: 6.867 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002899/1.799, allocations: 291.4 kB / 0.9066 GB, free: 6.582 MB / 0.5606 GB Notification: Performance of SimCode: time 1.613e-06/1.799, allocations: 0 / 0.9066 GB, free: 6.582 MB / 0.5606 GB Notification: Performance of Templates: time 0.1342/1.933, allocations: 79.79 MB / 0.9845 GB, free: 6.734 MB / 0.6387 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)