Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_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.TwoAreaOld.SixthOrder_AVRI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRI") translateModel(OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRI") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008708/0.0008709, 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.471/1.471, allocations: 223.3 MB / 239.4 MB, free: 5.41 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.001307/0.001308, allocations: 180.5 kB / 290.6 MB, free: 2.074 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5853/0.5853, allocations: 91.93 MB / 433.6 MB, free: 10.3 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000586/0.0005856, allocations: 12 kB / 0.5048 GB, free: 7.27 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4323/0.4329, allocations: 72.47 MB / 0.5755 GB, free: 36.57 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRI): time 0.004995/0.438, allocations: 6.42 MB / 0.5818 GB, free: 32.32 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.004308/0.4423, allocations: 2.079 MB / 0.5838 GB, free: 30.85 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009366/0.4433, allocations: 10.41 kB / 0.5838 GB, free: 30.85 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006991/0.444, allocations: 191.5 kB / 0.584 GB, free: 30.77 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001853/0.4459, allocations: 0.7307 MB / 0.5847 GB, free: 30.3 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001245/0.4471, allocations: 0.6142 MB / 0.5853 GB, free: 29.98 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.00136/0.4485, allocations: 1.549 MB / 0.5868 GB, free: 29.25 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004068/0.4489, allocations: 286.3 kB / 0.5871 GB, free: 29.12 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007009/0.4496, allocations: 0.5779 MB / 0.5877 GB, free: 28.87 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007356/0.4504, allocations: 0.7843 MB / 0.5885 GB, free: 28.53 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00014/0.4505, allocations: 64.31 kB / 0.5885 GB, free: 28.53 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004633/0.451, allocations: 193 kB / 0.5887 GB, free: 28.49 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002358/0.4513, allocations: 282 kB / 0.589 GB, free: 28.33 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004474/0.4517, allocations: 0.6384 MB / 0.5896 GB, free: 27.91 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001161/0.4529, allocations: 1.605 MB / 0.5912 GB, free: 27.32 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.4529, allocations: 1 kB / 0.5912 GB, free: 27.32 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.103e-06/0.4529, allocations: 0 / 0.5912 GB, free: 27.32 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.361e-05/0.4529, allocations: 0 / 0.5912 GB, free: 27.32 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: 189 * Number of variables: 189 Notification: Performance of Generate backend data structure: time 0.008673/0.4616, allocations: 2.575 MB / 0.5937 GB, free: 26.18 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.858e-05/0.4617, allocations: 8.688 kB / 0.5937 GB, free: 26.18 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005161/0.4668, allocations: 0.7818 MB / 0.5944 GB, free: 26.02 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001646/0.4685, allocations: 0.9234 MB / 0.5953 GB, free: 25.41 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002546/0.4688, allocations: 239.4 kB / 0.5956 GB, free: 25.21 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001791/0.469, allocations: 90.5 kB / 0.5957 GB, free: 25.18 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002294/0.4713, allocations: 1.185 MB / 0.5968 GB, free: 24.74 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.436e-05/0.4713, allocations: 1.312 kB / 0.5968 GB, free: 24.74 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.684e-05/0.4714, allocations: 33.59 kB / 0.5969 GB, free: 24.71 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.146e-05/0.4714, allocations: 18.44 kB / 0.5969 GB, free: 24.71 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002233/0.4737, allocations: 1.086 MB / 0.5979 GB, free: 24.37 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.008135/0.4818, allocations: 4.035 MB / 0.6019 GB, free: 22.07 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008855/0.4907, allocations: 2.925 MB / 0.6047 GB, free: 21.18 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002027/0.4928, allocations: 0.7647 MB / 0.6055 GB, free: 20.89 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000104/0.4929, allocations: 22.61 kB / 0.6055 GB, free: 20.89 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.026e-05/0.4929, allocations: 39.28 kB / 0.6055 GB, free: 20.84 MB / 430.1 MB Notification: Performance of pre-optimization done (n=95): time 3.456e-06/0.4929, allocations: 0 / 0.6055 GB, free: 20.84 MB / 430.1 MB Notification: Performance of matching and sorting (n=95): time 0.03252/0.5254, allocations: 8.3 MB / 0.6136 GB, free: 19.38 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.866e-05/0.5256, allocations: 140.5 kB / 0.6138 GB, free: 19.22 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002239/0.5278, allocations: 1.135 MB / 0.6149 GB, free: 18.75 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002908/0.5281, allocations: 42.11 kB / 0.6149 GB, free: 18.71 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003779/0.5285, allocations: 0.4927 MB / 0.6154 GB, free: 18.31 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003865/0.5289, allocations: 356.6 kB / 0.6157 GB, free: 18.04 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002333/0.5291, allocations: 148.8 kB / 0.6159 GB, free: 17.96 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 5.579e-05/0.5292, allocations: 309.7 kB / 0.6162 GB, free: 17.66 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001916/0.5311, allocations: 0.8551 MB / 0.617 GB, free: 17.36 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00194/0.5331, allocations: 1.036 MB / 0.618 GB, free: 16.8 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0253/0.5584, allocations: 6.36 MB / 0.6242 GB, free: 11.24 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.148e-05/0.5584, allocations: 0 / 0.6242 GB, free: 11.24 MB / 430.1 MB Notification: Performance of matching and sorting (n=194) (initialization): time 0.01451/0.573, allocations: 5.328 MB / 0.6294 GB, free: 5.883 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001355/0.5731, allocations: 230.8 kB / 0.6297 GB, free: 5.602 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.336e-05/0.5731, allocations: 4 kB / 0.6297 GB, free: 5.598 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006324/0.5795, allocations: 1.955 MB / 0.6316 GB, free: 3.641 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001569/0.5811, allocations: 275.5 kB / 0.6318 GB, free: 3.371 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02061/0.6017, allocations: 8.95 MB / 0.6406 GB, free: 10.27 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002506/0.6042, allocations: 230.7 kB / 0.6408 GB, free: 10.05 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001444/0.6044, allocations: 59.91 kB / 0.6409 GB, free: 9.988 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.023e-05/0.6044, allocations: 4 kB / 0.6409 GB, free: 9.984 MB / 446.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01579/0.6202, allocations: 5.16 MB / 0.6459 GB, free: 4.801 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.452e-05/0.6203, allocations: 4 kB / 0.6459 GB, free: 4.797 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00697/0.6273, allocations: 1.949 MB / 0.6478 GB, free: 2.844 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001634/0.6289, allocations: 271.6 kB / 0.6481 GB, free: 2.578 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02235/0.6513, allocations: 8.948 MB / 0.6568 GB, free: 9.484 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002365/0.6537, allocations: 214.9 kB / 0.657 GB, free: 9.273 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001582/0.6539, allocations: 55.98 kB / 0.6571 GB, free: 9.219 MB / 462.1 MB Warning: Assuming fixed start value for the following 4 variables: order6.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 order2.delta:VARIABLE(flow=false start = order2.delta0 unit = "rad" fixed = true ) "Rotor angle" type: Real order6.delta:VARIABLE(flow=false start = order6.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 (161): * Single equations (assignments): 158 * 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 {(20,14,23.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0009346/0.6548, allocations: 378.8 kB / 0.6574 GB, free: 8.836 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003485/0.6552, allocations: 134.3 kB / 0.6575 GB, free: 8.703 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01586/0.6711, allocations: 4.646 MB / 0.6621 GB, free: 4.031 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.563e-05/0.6712, allocations: 16 kB / 0.6621 GB, free: 4.016 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.688e-05/0.6712, allocations: 8 kB / 0.6621 GB, free: 4.008 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.755e-05/0.6712, allocations: 7.969 kB / 0.6621 GB, free: 4 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 postOpt removeSimpleEquations (simulation): time 0.01867/0.6899, allocations: 6.336 MB / 0.6683 GB, free: 13.55 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.468e-05/0.69, allocations: 0 / 0.6683 GB, free: 13.55 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001176/0.6912, allocations: 119.8 kB / 0.6684 GB, free: 13.44 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006161/0.6974, allocations: 1.79 MB / 0.6702 GB, free: 11.64 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000228/0.6976, allocations: 23.98 kB / 0.6702 GB, free: 11.62 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0187/0.7163, allocations: 7.609 MB / 0.6776 GB, free: 3.871 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.34e-06/0.7164, allocations: 4 kB / 0.6776 GB, free: 3.867 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01661/0.733, allocations: 5.591 MB / 0.6831 GB, free: 14.25 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007305/0.7338, allocations: 235.1 kB / 0.6833 GB, free: 14 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002223/0.734, allocations: 23.98 kB / 0.6833 GB, free: 13.97 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00137/0.7354, allocations: 139.9 kB / 0.6835 GB, free: 13.84 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00062/0.736, allocations: 184.6 kB / 0.6836 GB, free: 13.65 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.37e-05/0.7361, allocations: 20 kB / 0.6837 GB, free: 13.63 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.001235/0.7373, allocations: 0.7711 MB / 0.6844 GB, free: 12.86 MB / 494.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.7374, allocations: 0 / 0.6844 GB, free: 12.86 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.002496/0.7399, allocations: 0.7804 MB / 0.6852 GB, free: 12.07 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 12 (order2.delta,order2.w,order6.delta,order6.w,order6.e1q,order6.e1d,order6.e2q,order6.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 (69): * Single equations (assignments): 67 * 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 {(20,12,23.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003454/0.7402, allocations: 135.1 kB / 0.6853 GB, free: 11.93 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.01371/0.7539, allocations: 5.059 MB / 0.6902 GB, free: 6.801 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 7.985e-06/0.754, allocations: 0 / 0.6902 GB, free: 6.801 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00518/0.7592, allocations: 1.699 MB / 0.6919 GB, free: 5.078 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001712/0.7609, allocations: 121.3 kB / 0.692 GB, free: 4.957 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005945/0.7669, allocations: 3.017 MB / 0.695 GB, free: 1.922 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000935/0.7679, allocations: 1.137 MB / 0.6961 GB, free: 0.7578 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0007982/0.7687, allocations: 159.9 kB / 0.6962 GB, free: 0.5977 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002991/0.769, allocations: 79.41 kB / 0.6963 GB, free: 0.5195 MB / 494.1 MB Notification: Performance of SimCode: time 1.052e-06/0.769, allocations: 0 / 0.6963 GB, free: 0.5195 MB / 494.1 MB Notification: Performance of Templates: time 0.04796/0.8169, allocations: 27.59 MB / 0.7232 GB, free: 4.957 MB / 0.5137 GB make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRI.makefile (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRI.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRI.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRI.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRI.sim & ./OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRI -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRI.pipe 2>&1)