Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRI.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.PSATSystems.TwoArea.FifthOrder_AVRI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRI") translateModel(OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRI") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000779/0.0007792, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.475/1.475, allocations: 223.3 MB / 239.4 MB, free: 5.5 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.001302/0.001302, allocations: 184.4 kB / 290.6 MB, free: 2.168 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5311/0.5311, allocations: 91.91 MB / 433.6 MB, free: 10.29 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004167/0.0004166, allocations: 12 kB / 0.5048 GB, free: 7.289 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.448/0.4484, allocations: 72.46 MB / 0.5755 GB, free: 36.5 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRI): time 0.01634/0.4648, allocations: 22.48 MB / 0.5975 GB, free: 20.08 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0146/0.4795, allocations: 5.177 MB / 0.6025 GB, free: 16.33 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00712/0.4867, allocations: 54.38 kB / 0.6026 GB, free: 16.32 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003946/0.4906, allocations: 0.6681 MB / 0.6032 GB, free: 16.06 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01097/0.5016, allocations: 1.742 MB / 0.6049 GB, free: 14.84 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006737/0.5084, allocations: 1.933 MB / 0.6068 GB, free: 13.74 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.01138/0.5198, allocations: 5.45 MB / 0.6121 GB, free: 10.99 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002897/0.5228, allocations: 1.132 MB / 0.6132 GB, free: 10.41 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004861/0.5276, allocations: 2.056 MB / 0.6153 GB, free: 9.426 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005992/0.5337, allocations: 2.71 MB / 0.6179 GB, free: 8.137 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00248/0.5362, allocations: 236.8 kB / 0.6181 GB, free: 8.137 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003539/0.5397, allocations: 376.5 kB / 0.6185 GB, free: 8.094 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001803/0.5416, allocations: 0.9467 MB / 0.6194 GB, free: 7.508 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007398/0.549, allocations: 2.4 MB / 0.6218 GB, free: 5.941 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01255/0.5616, allocations: 5.857 MB / 0.6275 GB, free: 3.668 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.564e-06/0.5616, allocations: 4.656 kB / 0.6275 GB, free: 3.664 MB / 430.1 MB Notification: Performance of FrontEnd: time 3.176e-06/0.5616, allocations: 0 / 0.6275 GB, free: 3.664 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0003264/0.562, allocations: 1.562 kB / 0.6275 GB, free: 3.664 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: 891 * Number of variables: 891 Notification: Performance of Generate backend data structure: time 0.0344/0.5964, allocations: 8.455 MB / 0.6357 GB, free: 15.73 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.675e-05/0.5965, allocations: 8.469 kB / 0.6357 GB, free: 15.73 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02831/0.6248, allocations: 4.051 MB / 0.6397 GB, free: 11.84 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008273/0.6331, allocations: 2.666 MB / 0.6423 GB, free: 9.09 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001234/0.6344, allocations: 0.9712 MB / 0.6433 GB, free: 7.988 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001518/0.6359, allocations: 348 kB / 0.6436 GB, free: 7.645 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01308/0.649, allocations: 5.009 MB / 0.6485 GB, free: 2.602 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.239e-05/0.6491, allocations: 3.938 kB / 0.6485 GB, free: 2.598 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004585/0.6496, allocations: 140 kB / 0.6486 GB, free: 2.461 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.174e-05/0.6497, allocations: 88 kB / 0.6487 GB, free: 2.375 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01214/0.6618, allocations: 4.533 MB / 0.6531 GB, free: 13.84 MB / 462.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.04605/0.7079, allocations: 18.92 MB / 0.6716 GB, free: 9.723 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0155/0.7234, allocations: 5.733 MB / 0.6772 GB, free: 3.91 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007916/0.7314, allocations: 3.068 MB / 0.6802 GB, free: 0.832 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009983/0.7324, allocations: 70.91 kB / 0.6803 GB, free: 0.7617 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.323e-05/0.7326, allocations: 77.53 kB / 0.6803 GB, free: 0.6758 MB / 478.1 MB Notification: Performance of pre-optimization done (n=381): time 6.963e-06/0.7326, allocations: 0 / 0.6803 GB, free: 0.6758 MB / 478.1 MB Notification: Performance of matching and sorting (n=381): time 0.3387/1.071, allocations: 79.79 MB / 0.7583 GB, free: 0.7148 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001493/1.071, allocations: 171.5 kB / 0.7584 GB, free: 0.5156 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007335/1.079, allocations: 3.25 MB / 0.7616 GB, free: 13.25 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.001569/1.08, allocations: 89.7 kB / 0.7617 GB, free: 13.15 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.001953/1.082, allocations: 1.974 MB / 0.7636 GB, free: 11.16 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.004033/1.086, allocations: 1.313 MB / 0.7649 GB, free: 9.832 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001925/1.088, allocations: 342.6 kB / 0.7652 GB, free: 9.488 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001396/1.089, allocations: 305.1 kB / 0.7655 GB, free: 9.188 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007845/1.096, allocations: 2.862 MB / 0.7683 GB, free: 6.316 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008347/1.105, allocations: 3.491 MB / 0.7717 GB, free: 2.598 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.3894/1.494, allocations: 20.88 MB / 0.7921 GB, free: 156.8 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-05/1.494, allocations: 4.344 kB / 0.7921 GB, free: 156.8 MB / 0.5606 GB Notification: Performance of matching and sorting (n=532) (initialization): time 0.06743/1.562, allocations: 21.05 MB / 0.8127 GB, free: 152.6 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003388/1.562, allocations: 0.593 MB / 0.8132 GB, free: 151.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.996e-05/1.562, allocations: 16.78 kB / 0.8133 GB, free: 151.8 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02659/1.589, allocations: 8.485 MB / 0.8215 GB, free: 148.3 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003765/1.593, allocations: 0.6679 MB / 0.8222 GB, free: 147.7 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.08879/1.681, allocations: 34.89 MB / 0.8563 GB, free: 114.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00733/1.689, allocations: 0.7458 MB / 0.857 GB, free: 113.5 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001088/1.69, allocations: 148 kB / 0.8571 GB, free: 113.3 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.08e-05/1.69, allocations: 8 kB / 0.8571 GB, free: 113.3 MB / 0.5606 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.05972/1.75, allocations: 20.62 MB / 0.8773 GB, free: 92.67 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.389e-05/1.75, allocations: 16 kB / 0.8773 GB, free: 92.65 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02676/1.776, allocations: 8.48 MB / 0.8856 GB, free: 84.16 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003953/1.781, allocations: 0.667 MB / 0.8862 GB, free: 83.5 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.09008/1.871, allocations: 34.88 MB / 0.9203 GB, free: 48.48 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00746/1.878, allocations: 0.7084 MB / 0.921 GB, free: 47.79 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001235/1.879, allocations: 151.9 kB / 0.9211 GB, free: 47.64 MB / 0.5606 GB Warning: Assuming fixed start value for the following 5 variables: order5.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order3.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order3.delta:VARIABLE(flow=false start = order3.delta0 unit = "rad" fixed = true ) "Rotor angle" type: Real order3.e1q:VARIABLE(start = order3.e1q0 unit = "1" fixed = true ) "q-axis transient voltage" type: Real order5.delta:VARIABLE(flow=false start = order5.delta0 unit = "rad" fixed = true ) "Rotor angle" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 65 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (397): * Single equations (assignments): 394 * Array equations: 0 * Algorithm blocks: 2 * 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): 1 system {(92,44,5.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003651/1.883, allocations: 0.745 MB / 0.9219 GB, free: 46.89 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002039/1.885, allocations: 454.4 kB / 0.9223 GB, free: 46.44 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05888/1.944, allocations: 20.55 MB / 0.9424 GB, free: 25.82 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.568e-05/1.944, allocations: 40 kB / 0.9424 GB, free: 25.78 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001252/1.944, allocations: 28 kB / 0.9424 GB, free: 25.75 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001707/1.944, allocations: 23.86 kB / 0.9425 GB, free: 25.73 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.07442/2.019, allocations: 25.86 MB / 0.9677 GB, free: 15.79 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.51e-05/2.019, allocations: 0 / 0.9677 GB, free: 15.79 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003088/2.022, allocations: 411.4 kB / 0.9681 GB, free: 15.39 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02971/2.052, allocations: 8.575 MB / 0.9765 GB, free: 6.801 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001271/2.053, allocations: 75.98 kB / 0.9765 GB, free: 6.727 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.4599/2.513, allocations: 30.67 MB / 1.006 GB, free: 175.5 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.168e-06/2.513, allocations: 0 / 1.006 GB, free: 175.5 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.07584/2.589, allocations: 24.19 MB / 1.03 GB, free: 172.2 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002129/2.591, allocations: 0.5631 MB / 1.031 GB, free: 171.8 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002056/2.593, allocations: 71.47 kB / 1.031 GB, free: 171.8 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005997/2.599, allocations: 0.4971 MB / 1.031 GB, free: 171.7 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003623/2.603, allocations: 0.7589 MB / 1.032 GB, free: 171.6 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005945/2.603, allocations: 90.38 kB / 1.032 GB, free: 171.6 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.00358/2.607, allocations: 2.131 MB / 1.034 GB, free: 170.8 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.61e-07/2.607, allocations: 0 / 1.034 GB, free: 170.8 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.01229/2.619, allocations: 2.975 MB / 1.037 GB, free: 170.4 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 12 (order3.delta,order3.w,order3.e1q,order5.delta,order5.w,order5.e1q,order5.e2q,order5.e2d,aVRTypeI.firstOrder.y,aVRTypeI.firstOrder2.y,aVRTypeI.transferFunction.x_scaled[1],aVRTypeI.transferFunction.x_scaled[2]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (251): * Single equations (assignments): 249 * Array equations: 0 * Algorithm blocks: 1 * 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): 1 system {(96,40,5.5%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.00103/2.62, allocations: 196.6 kB / 1.037 GB, free: 170.2 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.05186/2.672, allocations: 17.73 MB / 1.055 GB, free: 160.2 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.046e-05/2.672, allocations: 2.625 kB / 1.055 GB, free: 160.2 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.02091/2.693, allocations: 6.892 MB / 1.061 GB, free: 154.3 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007694/2.701, allocations: 386.2 kB / 1.062 GB, free: 153.9 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02059/2.722, allocations: 10.01 MB / 1.071 GB, free: 144.6 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002408/2.724, allocations: 2.506 MB / 1.074 GB, free: 142.6 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.002549/2.727, allocations: 452.5 kB / 1.074 GB, free: 142.3 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008842/2.727, allocations: 234 kB / 1.075 GB, free: 142.1 MB / 0.5919 GB Notification: Performance of SimCode: time 1.193e-06/2.727, allocations: 0 / 1.075 GB, free: 142.1 MB / 0.5919 GB Notification: Performance of Templates: time 0.1798/2.907, allocations: 107.4 MB / 1.179 GB, free: 37.5 MB / 0.5919 GB make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRI.makefile (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRI.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRI.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRI.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRI.sim & ./OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRI -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRI.pipe 2>&1)