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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001135/0.001135, allocations: 93.06 kB / 19.65 MB, free: 280 kB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9227/0.9227, allocations: 177.2 MB / 200 MB, free: 5.547 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001409/0.001409, allocations: 160.3 kB / 256.6 MB, free: 13.02 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL master/package.mo): time 0.2884/0.2884, allocations: 83.28 MB / 396.4 MB, free: 15.21 MB / 330.7 MB " [Timeout remaining time 179] Using package OpenIPSL with version 3.2.0-dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL master/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE_AVR,tolerance=0.001,outputFormat="empty",numberOfIntervals=2500,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=2500,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE_AVR") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.014e-06/2.014e-06, allocations: 0 / 493.9 MB, free: 6.965 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.67e-05/2.871e-05, allocations: 2.312 kB / 493.9 MB, free: 6.961 MB / 362.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE_AVR): time 0.02087/0.0209, allocations: 18.03 MB / 0.4999 GB, free: 4.879 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.01666/0.03756, allocations: 6.324 MB / 0.5061 GB, free: 14.57 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005241/0.0428, allocations: 48.56 kB / 0.5061 GB, free: 14.53 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00258/0.04538, allocations: 0.9887 MB / 0.5071 GB, free: 13.53 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.007105/0.05249, allocations: 2.633 MB / 0.5097 GB, free: 10.9 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003424/0.05591, allocations: 2.264 MB / 0.5119 GB, free: 8.668 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.007078/0.06299, allocations: 6.947 MB / 0.5186 GB, free: 1.699 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001602/0.06459, allocations: 0.8381 MB / 0.5195 GB, free: 0.8047 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00574/0.07033, allocations: 3.843 MB / 0.5232 GB, free: 12.95 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00328/0.07361, allocations: 2.668 MB / 0.5258 GB, free: 10.28 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001618/0.07523, allocations: 0.668 MB / 0.5265 GB, free: 9.609 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001648/0.07688, allocations: 0.902 MB / 0.5274 GB, free: 8.707 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000883/0.07776, allocations: 1.502 MB / 0.5288 GB, free: 7.199 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002324/0.08008, allocations: 1.928 MB / 0.5307 GB, free: 5.266 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004595/0.08468, allocations: 4.725 MB / 0.5353 GB, free: 0.5234 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.08468, allocations: 0 / 0.5353 GB, free: 0.5234 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.102e-06/0.08468, allocations: 0 / 0.5353 GB, free: 0.5234 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.151e-05/0.08475, allocations: 0 / 0.5353 GB, free: 0.5234 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 695 * Number of variables: 695 Notification: Performance of Generate backend data structure: time 0.0205/0.1052, allocations: 12.05 MB / 0.5471 GB, free: 4.367 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.367e-05/0.1053, allocations: 12.03 kB / 0.5471 GB, free: 4.355 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006524/0.1118, allocations: 2.369 MB / 0.5494 GB, free: 1.977 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005182/0.117, allocations: 3.079 MB / 0.5524 GB, free: 14.82 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008443/0.1178, allocations: 1.399 MB / 0.5538 GB, free: 13.17 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007236/0.1186, allocations: 335.9 kB / 0.5541 GB, free: 12.84 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004246/0.1228, allocations: 2.526 MB / 0.5566 GB, free: 10.23 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.637e-05/0.1228, allocations: 3.938 kB / 0.5566 GB, free: 10.23 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002294/0.1231, allocations: 116 kB / 0.5567 GB, free: 10.12 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.428e-05/0.1231, allocations: 68 kB / 0.5567 GB, free: 10.05 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002985/0.1261, allocations: 1.635 MB / 0.5583 GB, free: 8.398 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.2106/0.3367, allocations: 10.8 MB / 0.5689 GB, free: 58.67 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005948/0.3427, allocations: 3.153 MB / 0.572 GB, free: 58.41 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001591/0.3443, allocations: 1.018 MB / 0.573 GB, free: 58.34 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003607/0.3446, allocations: 107.2 kB / 0.5731 GB, free: 58.34 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002426/0.3471, allocations: 1.624 MB / 0.5746 GB, free: 58.13 MB / 442.7 MB Notification: Performance of pre-optimization done (n=333): time 5.841e-06/0.3471, allocations: 0 / 0.5746 GB, free: 58.13 MB / 442.7 MB Notification: Performance of matching and sorting (n=333): time 0.04546/0.3925, allocations: 19.36 MB / 0.5936 GB, free: 54.18 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.46e-05/0.3926, allocations: 193.2 kB / 0.5937 GB, free: 53.99 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0037/0.3963, allocations: 3.606 MB / 0.5973 GB, free: 52.94 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000366/0.3967, allocations: 102.9 kB / 0.5974 GB, free: 52.91 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001024/0.3977, allocations: 1.893 MB / 0.5992 GB, free: 52.49 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007892/0.3985, allocations: 1.263 MB / 0.6004 GB, free: 51.75 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001243/0.3997, allocations: 1.064 MB / 0.6015 GB, free: 51.22 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 4.594e-05/0.3998, allocations: 480.8 kB / 0.6019 GB, free: 50.75 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001848/0.4016, allocations: 1.275 MB / 0.6032 GB, free: 49.62 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00207/0.4037, allocations: 1.904 MB / 0.605 GB, free: 47.84 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003724/0.4074, allocations: 3.349 MB / 0.6083 GB, free: 44.4 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.051e-05/0.4074, allocations: 7.938 kB / 0.6083 GB, free: 44.39 MB / 442.7 MB Notification: Performance of matching and sorting (n=719) (initialization): time 0.006681/0.4141, allocations: 5.212 MB / 0.6134 GB, free: 39.15 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.681e-05/0.4141, allocations: 15.55 kB / 0.6134 GB, free: 39.14 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.387e-05/0.4141, allocations: 8 kB / 0.6134 GB, free: 39.13 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009861/0.424, allocations: 8.278 MB / 0.6215 GB, free: 30.86 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002179/0.4262, allocations: 0.9475 MB / 0.6224 GB, free: 29.96 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004812/0.431, allocations: 3.381 MB / 0.6257 GB, free: 26.55 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00274/0.4337, allocations: 0.5866 MB / 0.6263 GB, free: 26.06 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002499/0.434, allocations: 191.9 kB / 0.6265 GB, free: 25.87 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * 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 (564): * Single equations (assignments): 561 * 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.0009392/0.4349, allocations: 391.7 kB / 0.6269 GB, free: 25.54 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000583/0.4355, allocations: 0.5672 MB / 0.6274 GB, free: 24.97 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01277/0.4483, allocations: 7.479 MB / 0.6347 GB, free: 17.52 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.466e-05/0.4483, allocations: 32 kB / 0.6348 GB, free: 17.49 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.564e-06/0.4483, allocations: 4 kB / 0.6348 GB, free: 17.48 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.953e-05/0.4483, allocations: 23.2 kB / 0.6348 GB, free: 17.46 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 postOpt removeSimpleEquations (simulation): time 0.01673/0.465, allocations: 11.36 MB / 0.6459 GB, free: 6.219 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.573e-06/0.4651, allocations: 0 / 0.6459 GB, free: 6.219 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001183/0.4662, allocations: 426.9 kB / 0.6463 GB, free: 5.824 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01212/0.4784, allocations: 4.987 MB / 0.6512 GB, free: 0.8359 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002862/0.4786, allocations: 79.97 kB / 0.6512 GB, free: 0.7578 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01716/0.4958, allocations: 10.33 MB / 0.6613 GB, free: 6.359 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.793e-06/0.4958, allocations: 4 kB / 0.6613 GB, free: 6.355 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01638/0.5122, allocations: 8.737 MB / 0.6699 GB, free: 13.6 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001396/0.5136, allocations: 0.6151 MB / 0.6705 GB, free: 13.02 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004353/0.514, allocations: 75.98 kB / 0.6705 GB, free: 12.95 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001641/0.5156, allocations: 259.8 kB / 0.6708 GB, free: 12.7 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00114/0.5168, allocations: 0.6165 MB / 0.6714 GB, free: 12.08 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001774/0.517, allocations: 95.97 kB / 0.6715 GB, free: 11.98 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.002248/0.5192, allocations: 2.139 MB / 0.6736 GB, free: 9.848 MB / 474.7 MB Notification: Performance of sort global known variables: time 8e-08/0.5192, allocations: 0 / 0.6736 GB, free: 9.848 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.002689/0.5219, allocations: 1.43 MB / 0.675 GB, free: 8.469 MB / 474.7 MB 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 (240): * Single equations (assignments): 239 * 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.0004615/0.5224, allocations: 245.9 kB / 0.6752 GB, free: 8.258 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.008398/0.5308, allocations: 4.657 MB / 0.6798 GB, free: 3.625 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 4.759e-06/0.5308, allocations: 1.5 kB / 0.6798 GB, free: 3.625 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005201/0.536, allocations: 2.968 MB / 0.6827 GB, free: 0.6797 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001759/0.5377, allocations: 461 kB / 0.6831 GB, free: 244 kB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01003/0.5478, allocations: 7.877 MB / 0.6908 GB, free: 8.348 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005207/0.5483, allocations: 0.7117 MB / 0.6915 GB, free: 7.609 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.001019/0.5493, allocations: 428.2 kB / 0.6919 GB, free: 7.188 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007657/0.5501, allocations: 272.5 kB / 0.6921 GB, free: 6.922 MB / 490.7 MB Notification: Performance of SimCode: time 1.543e-06/0.5501, allocations: 1.312 kB / 0.6921 GB, free: 6.922 MB / 490.7 MB Notification: Performance of Templates: time 0.09/0.6401, allocations: 83.15 MB / 0.7733 GB, free: 4.168 MB / 0.5573 GB " [Timeout remaining time 659] make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE_AVR.makefile [Timeout 660] (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=240 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE_AVR.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.0936781177297235]