Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_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.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.PSATSystems.TwoAreaOld.ThirdOrder_AVRI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRI") translateModel(OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRI") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001171/0.001171, allocations: 99.39 kB / 15.05 MB, free: 1.105 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.394/1.394, allocations: 223.2 MB / 238.9 MB, free: 5.57 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.00123/0.001229, allocations: 173.1 kB / 290.2 MB, free: 2.266 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4392/0.4392, allocations: 78.53 MB / 419.8 MB, free: 4.391 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00056/0.0005603, allocations: 19.98 kB / 499.7 MB, free: 6.43 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1597/0.1603, allocations: 69.36 MB / 0.5557 GB, free: 1.031 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRI): time 0.2279/0.3883, allocations: 5.566 MB / 0.5611 GB, free: 37.46 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003376/0.3917, allocations: 1.951 MB / 0.563 GB, free: 37.2 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005962/0.3924, allocations: 13.03 kB / 0.563 GB, free: 37.2 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005962/0.393, allocations: 170.2 kB / 0.5632 GB, free: 37.13 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001652/0.3946, allocations: 0.7047 MB / 0.5639 GB, free: 37.05 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001097/0.3957, allocations: 0.5335 MB / 0.5644 GB, free: 37.03 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001233/0.397, allocations: 0.9709 MB / 0.5654 GB, free: 36.98 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003308/0.3973, allocations: 255.6 kB / 0.5656 GB, free: 36.95 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005893/0.3979, allocations: 0.5449 MB / 0.5661 GB, free: 36.84 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006693/0.3986, allocations: 0.6987 MB / 0.5668 GB, free: 36.71 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001139/0.3987, allocations: 59.97 kB / 0.5669 GB, free: 36.71 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003767/0.3991, allocations: 174.7 kB / 0.567 GB, free: 36.7 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002466/0.3993, allocations: 254.8 kB / 0.5673 GB, free: 36.66 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001838/0.3995, allocations: 231.7 kB / 0.5675 GB, free: 36.58 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008614/0.4004, allocations: 1.174 MB / 0.5686 GB, free: 36.46 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.454e-06/0.4004, allocations: 1.5 kB / 0.5686 GB, free: 36.46 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.313e-06/0.4004, allocations: 0 / 0.5686 GB, free: 36.46 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.347e-05/0.4004, allocations: 1.062 kB / 0.5686 GB, free: 36.46 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: 186 * Number of variables: 186 Notification: Performance of Generate backend data structure: time 0.007375/0.4078, allocations: 2.486 MB / 0.5711 GB, free: 35.53 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.558e-05/0.4079, allocations: 8.719 kB / 0.5711 GB, free: 35.53 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004785/0.4127, allocations: 0.7804 MB / 0.5718 GB, free: 35.44 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001464/0.4141, allocations: 0.8451 MB / 0.5727 GB, free: 35.07 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002032/0.4144, allocations: 242.5 kB / 0.5729 GB, free: 34.91 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001435/0.4145, allocations: 80.25 kB / 0.573 GB, free: 34.91 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001938/0.4165, allocations: 1.146 MB / 0.5741 GB, free: 34.68 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.966e-05/0.4165, allocations: 0 / 0.5741 GB, free: 34.68 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.63e-05/0.4166, allocations: 32.84 kB / 0.5741 GB, free: 34.66 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.308e-05/0.4166, allocations: 17.28 kB / 0.5741 GB, free: 34.66 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0018/0.4184, allocations: 1.064 MB / 0.5752 GB, free: 34.32 MB / 430.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.005434/0.4239, allocations: 4.144 MB / 0.5792 GB, free: 31.8 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006892/0.4308, allocations: 2.88 MB / 0.582 GB, free: 30.94 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.32e-05/0.4309, allocations: 19.67 kB / 0.5821 GB, free: 30.93 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.499e-05/0.4309, allocations: 48.67 kB / 0.5821 GB, free: 30.88 MB / 430.1 MB Notification: Performance of pre-optimization done (n=92): time 4.238e-06/0.4309, allocations: 0 / 0.5821 GB, free: 30.88 MB / 430.1 MB Notification: Performance of matching and sorting (n=92): time 0.0287/0.4596, allocations: 8.42 MB / 0.5903 GB, free: 29.45 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.46e-05/0.4597, allocations: 139.9 kB / 0.5905 GB, free: 29.3 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002122/0.4619, allocations: 1.07 MB / 0.5915 GB, free: 28.86 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002581/0.4621, allocations: 46.81 kB / 0.5916 GB, free: 28.81 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004144/0.4626, allocations: 498.2 kB / 0.592 GB, free: 28.42 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000463/0.463, allocations: 340.9 kB / 0.5924 GB, free: 28.15 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001731/0.4632, allocations: 26.72 kB / 0.5924 GB, free: 28.13 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001055/0.4633, allocations: 367.9 kB / 0.5927 GB, free: 27.8 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001741/0.4651, allocations: 0.8071 MB / 0.5935 GB, free: 27.52 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001809/0.4669, allocations: 0.9764 MB / 0.5945 GB, free: 27.07 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001778/0.4687, allocations: 0.9401 MB / 0.5954 GB, free: 26.64 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.211e-05/0.4687, allocations: 9.188 kB / 0.5954 GB, free: 26.63 MB / 430.1 MB Notification: Performance of matching and sorting (n=182) (initialization): time 0.0147/0.4834, allocations: 5.134 MB / 0.6004 GB, free: 25.38 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002955/0.4838, allocations: 1.192 MB / 0.6016 GB, free: 24.1 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.869e-05/0.4838, allocations: 3.125 kB / 0.6016 GB, free: 24.1 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00641/0.4902, allocations: 1.85 MB / 0.6034 GB, free: 23.79 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001514/0.4917, allocations: 273.1 kB / 0.6036 GB, free: 23.77 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02098/0.5128, allocations: 9.272 MB / 0.6127 GB, free: 19.27 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002037/0.5148, allocations: 222.6 kB / 0.6129 GB, free: 19.08 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002807/0.5151, allocations: 58.92 kB / 0.613 GB, free: 19.03 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.399e-05/0.5152, allocations: 5.094 kB / 0.613 GB, free: 19.02 MB / 430.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01288/0.528, allocations: 4.973 MB / 0.6178 GB, free: 14.11 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.508e-05/0.5281, allocations: 4 kB / 0.6178 GB, free: 14.11 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005421/0.5335, allocations: 1.848 MB / 0.6196 GB, free: 12.25 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001315/0.5349, allocations: 263.6 kB / 0.6199 GB, free: 12 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01803/0.5529, allocations: 9.277 MB / 0.629 GB, free: 2.598 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001767/0.5547, allocations: 199.1 kB / 0.6291 GB, free: 2.402 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002263/0.555, allocations: 57.56 kB / 0.6292 GB, free: 2.348 MB / 430.1 MB Warning: Assuming fixed start value for the following 4 variables: order3.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order2.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order3.e1q:VARIABLE(start = order3.e1q0 unit = "1" fixed = true ) "q-axis transient voltage" type: Real order3.delta:VARIABLE(flow=false start = order3.delta0 unit = "rad" fixed = true ) "Rotor angle" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (151): * Single equations (assignments): 148 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {18 14} Notification: Performance of prepare postOptimizeDAE: time 0.0006899/0.5557, allocations: 372 kB / 0.6296 GB, free: 1.969 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003262/0.556, allocations: 130.4 kB / 0.6297 GB, free: 1.84 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01239/0.5684, allocations: 4.591 MB / 0.6342 GB, free: 13.22 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.978e-05/0.5685, allocations: 8 kB / 0.6342 GB, free: 13.21 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.741e-05/0.5685, allocations: 8 kB / 0.6342 GB, free: 13.21 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.178e-05/0.5685, allocations: 5.812 kB / 0.6342 GB, free: 13.2 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 postOpt removeSimpleEquations (simulation): time 0.01588/0.5844, allocations: 6.289 MB / 0.6403 GB, free: 6.789 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.427e-05/0.5845, allocations: 0 / 0.6403 GB, free: 6.789 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007766/0.5853, allocations: 115.9 kB / 0.6404 GB, free: 6.676 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005636/0.5909, allocations: 1.785 MB / 0.6422 GB, free: 4.887 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002401/0.5912, allocations: 25 kB / 0.6422 GB, free: 4.863 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01785/0.6091, allocations: 8.032 MB / 0.65 GB, free: 12.68 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-06/0.6091, allocations: 0 / 0.65 GB, free: 12.68 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01499/0.6241, allocations: 5.528 MB / 0.6554 GB, free: 7.121 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005414/0.6247, allocations: 228.2 kB / 0.6557 GB, free: 6.879 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004259/0.6251, allocations: 16 kB / 0.6557 GB, free: 6.863 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001406/0.6266, allocations: 137.3 kB / 0.6558 GB, free: 6.73 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005812/0.6272, allocations: 180.7 kB / 0.656 GB, free: 6.551 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001181/0.6273, allocations: 23.98 kB / 0.656 GB, free: 6.527 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001227/0.6285, allocations: 0.7249 MB / 0.6567 GB, free: 5.797 MB / 462.1 MB Notification: Performance of sort global known variables: time 2.61e-07/0.6285, allocations: 0 / 0.6567 GB, free: 5.797 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002645/0.6312, allocations: 0.7491 MB / 0.6574 GB, free: 5.047 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 9 (order2.delta,order2.w,order3.delta,order3.w,order3.e1q,aVRTypeII.firstOrder.y,aVRTypeII.firstOrder2.y,aVRTypeII.transferFunction.x_scaled[1],aVRTypeII.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 (66): * Single equations (assignments): 64 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(19,24.4%) 13} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003158/0.6315, allocations: 139.1 kB / 0.6576 GB, free: 4.902 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0118/0.6433, allocations: 4.78 MB / 0.6622 GB, free: 68 kB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 6.462e-06/0.6434, allocations: 0 / 0.6622 GB, free: 68 kB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004293/0.6477, allocations: 1.654 MB / 0.6639 GB, free: 14.39 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009503/0.6487, allocations: 103.6 kB / 0.664 GB, free: 14.29 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004361/0.653, allocations: 2.606 MB / 0.6665 GB, free: 11.69 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007457/0.6538, allocations: 1.156 MB / 0.6676 GB, free: 10.5 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0007217/0.6546, allocations: 156 kB / 0.6678 GB, free: 10.36 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002874/0.6549, allocations: 85.03 kB / 0.6679 GB, free: 10.28 MB / 478.1 MB Notification: Performance of SimCode: time 7.41e-07/0.6549, allocations: 0 / 0.6679 GB, free: 10.28 MB / 478.1 MB Notification: Performance of Templates: time 0.04031/0.6952, allocations: 26.94 MB / 0.6942 GB, free: 15.51 MB / 0.4981 GB make -j1 -f OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRI.makefile Environment - environmentSimulation: (rm -f OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRI.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRI.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRI.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRI.sim & ./OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRI -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRI.pipe 2>&1) Environment - environmentSimulation: