Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.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.Tests.Machines.PSAT.Order3test2_perturbation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation") translateModel(OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00104/0.00104, allocations: 112.6 kB / 16.37 MB, free: 6 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.25/1.25, allocations: 222.9 MB / 240 MB, free: 4.551 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.0012/0.0012, allocations: 184.5 kB / 290.3 MB, free: 2.285 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4955/0.4955, allocations: 91.9 MB / 432.4 MB, free: 9.188 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001564/0.001564, allocations: 83.86 kB / 0.5033 GB, free: 6.977 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3225/0.324, allocations: 71.26 MB / 0.5729 GB, free: 37 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation): time 0.005227/0.3293, allocations: 6.464 MB / 0.5792 GB, free: 33.12 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002781/0.3321, allocations: 1.867 MB / 0.581 GB, free: 31.8 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003805/0.3325, allocations: 14.28 kB / 0.581 GB, free: 31.8 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004109/0.3329, allocations: 223.2 kB / 0.5812 GB, free: 31.67 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001244/0.3342, allocations: 0.7154 MB / 0.5819 GB, free: 31.2 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001002/0.3352, allocations: 0.6134 MB / 0.5825 GB, free: 30.89 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009764/0.3362, allocations: 1.415 MB / 0.5839 GB, free: 30.18 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003775/0.3366, allocations: 332.7 kB / 0.5842 GB, free: 30.04 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004986/0.3371, allocations: 0.5894 MB / 0.5848 GB, free: 29.75 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005386/0.3376, allocations: 0.7298 MB / 0.5855 GB, free: 29.39 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001252/0.3378, allocations: 100.8 kB / 0.5856 GB, free: 29.39 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003501/0.3381, allocations: 239.1 kB / 0.5858 GB, free: 29.34 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001588/0.3383, allocations: 276.5 kB / 0.5861 GB, free: 29.16 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003694/0.3387, allocations: 0.6295 MB / 0.5867 GB, free: 28.73 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001048/0.3397, allocations: 1.523 MB / 0.5882 GB, free: 28.03 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.3397, allocations: 1.312 kB / 0.5882 GB, free: 28.03 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.3397, allocations: 0 / 0.5882 GB, free: 28.03 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.684e-05/0.3398, allocations: 7.938 kB / 0.5882 GB, free: 28.02 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: 195 * Number of variables: 195 Notification: Performance of Generate backend data structure: time 0.007106/0.3469, allocations: 2.558 MB / 0.5907 GB, free: 26.84 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.127e-05/0.3469, allocations: 10.06 kB / 0.5907 GB, free: 26.84 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004645/0.3516, allocations: 0.7821 MB / 0.5915 GB, free: 26.68 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001151/0.3528, allocations: 0.7714 MB / 0.5922 GB, free: 26.13 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002467/0.353, allocations: 260.4 kB / 0.5925 GB, free: 25.91 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001436/0.3532, allocations: 79.25 kB / 0.5926 GB, free: 25.88 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002141/0.3553, allocations: 1.075 MB / 0.5936 GB, free: 25.5 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.877e-05/0.3553, allocations: 3.938 kB / 0.5936 GB, free: 25.49 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.311e-05/0.3554, allocations: 34 kB / 0.5937 GB, free: 25.46 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.601e-05/0.3554, allocations: 19.25 kB / 0.5937 GB, free: 25.46 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00231/0.3578, allocations: 1.123 MB / 0.5948 GB, free: 25.12 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.005511/0.3633, allocations: 3.451 MB / 0.5981 GB, free: 23.14 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002087/0.3654, allocations: 1.424 MB / 0.5995 GB, free: 22.21 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001569/0.367, allocations: 0.7806 MB / 0.6003 GB, free: 21.91 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001258/0.3671, allocations: 18.52 kB / 0.6003 GB, free: 21.91 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.485e-05/0.3671, allocations: 47.28 kB / 0.6004 GB, free: 21.86 MB / 430.1 MB Notification: Performance of pre-optimization done (n=97): time 2.756e-06/0.3671, allocations: 0 / 0.6004 GB, free: 21.86 MB / 430.1 MB Notification: Performance of matching and sorting (n=97): time 0.024/0.3911, allocations: 6.609 MB / 0.6068 GB, free: 20.6 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.494e-05/0.3912, allocations: 62.22 kB / 0.6069 GB, free: 20.54 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001136/0.3924, allocations: 0.8978 MB / 0.6077 GB, free: 20.16 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001373/0.3925, allocations: 41.48 kB / 0.6078 GB, free: 20.12 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002652/0.3928, allocations: 497.7 kB / 0.6083 GB, free: 19.73 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002585/0.393, allocations: 350.4 kB / 0.6086 GB, free: 19.45 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003614/0.3934, allocations: 201.5 kB / 0.6088 GB, free: 19.35 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 7.286e-05/0.3935, allocations: 349.7 kB / 0.6091 GB, free: 19.03 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001512/0.395, allocations: 0.7212 MB / 0.6098 GB, free: 18.78 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001541/0.3966, allocations: 0.8504 MB / 0.6107 GB, free: 18.41 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01764/0.4142, allocations: 4.829 MB / 0.6154 GB, free: 16.87 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.997e-06/0.4143, allocations: 1.469 kB / 0.6154 GB, free: 16.87 MB / 430.1 MB Notification: Performance of matching and sorting (n=147) (initialization): time 0.01185/0.4261, allocations: 4.273 MB / 0.6195 GB, free: 14.21 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.33e-05/0.4262, allocations: 6.188 kB / 0.6196 GB, free: 14.2 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.159e-05/0.4262, allocations: 7.938 kB / 0.6196 GB, free: 14.2 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005162/0.4313, allocations: 1.811 MB / 0.6213 GB, free: 12.38 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009575/0.4323, allocations: 215.7 kB / 0.6215 GB, free: 12.17 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01718/0.4495, allocations: 9.311 MB / 0.6306 GB, free: 2.715 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001461/0.451, allocations: 175 kB / 0.6308 GB, free: 2.543 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001023/0.4511, allocations: 39.98 kB / 0.6308 GB, free: 2.504 MB / 430.1 MB Warning: Assuming fixed start value for the following 2 variables: order3_Inputs_Outputs1.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order3_Inputs_Outputs1.delta:VARIABLE(flow=false start = order3_Inputs_Outputs1.delta0 unit = "rad" fixed = true ) "Rotor angle" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (111): * Single equations (assignments): 110 * 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 {(25,12)} Notification: Performance of prepare postOptimizeDAE: time 0.0004094/0.4515, allocations: 250.8 kB / 0.6311 GB, free: 2.254 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001696/0.4517, allocations: 122.5 kB / 0.6312 GB, free: 2.133 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01122/0.4629, allocations: 4.018 MB / 0.6351 GB, free: 14.09 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.299e-05/0.463, allocations: 8 kB / 0.6351 GB, free: 14.09 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.645e-06/0.463, allocations: 4 kB / 0.6351 GB, free: 14.08 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.096e-05/0.463, allocations: 7.984 kB / 0.6351 GB, free: 14.07 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01404/0.4771, allocations: 5.61 MB / 0.6406 GB, free: 8.328 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.017e-06/0.4771, allocations: 3.984 kB / 0.6406 GB, free: 8.324 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006958/0.4778, allocations: 131.9 kB / 0.6407 GB, free: 8.195 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005479/0.4833, allocations: 1.745 MB / 0.6424 GB, free: 6.445 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001743/0.4835, allocations: 19.98 kB / 0.6425 GB, free: 6.426 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01715/0.5006, allocations: 8.061 MB / 0.6503 GB, free: 14.21 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/0.5007, allocations: 0 / 0.6503 GB, free: 14.21 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01407/0.5148, allocations: 4.964 MB / 0.6552 GB, free: 9.23 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004649/0.5153, allocations: 207.4 kB / 0.6554 GB, free: 9.008 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000173/0.5154, allocations: 19.98 kB / 0.6554 GB, free: 8.988 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000953/0.5164, allocations: 115.8 kB / 0.6555 GB, free: 8.875 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006918/0.5171, allocations: 220.6 kB / 0.6557 GB, free: 8.656 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.791e-05/0.5172, allocations: 20 kB / 0.6557 GB, free: 8.637 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0007496/0.518, allocations: 0.6047 MB / 0.6563 GB, free: 8.023 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.518, allocations: 4 kB / 0.6563 GB, free: 8.02 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001236/0.5192, allocations: 447.4 kB / 0.6568 GB, free: 7.582 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (order3_Inputs_Outputs1.delta,order3_Inputs_Outputs1.w,order3_Inputs_Outputs1.e1q) * 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 (64): * Single equations (assignments): 63 * 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 {(26,10)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002416/0.5195, allocations: 119.2 kB / 0.6569 GB, free: 7.457 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.00638/0.5258, allocations: 2.508 MB / 0.6593 GB, free: 4.934 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/0.5259, allocations: 0 / 0.6593 GB, free: 4.934 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004441/0.5303, allocations: 1.599 MB / 0.6609 GB, free: 3.336 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008104/0.5312, allocations: 90.44 kB / 0.661 GB, free: 3.246 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003459/0.5346, allocations: 1.983 MB / 0.6629 GB, free: 1.234 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005839/0.5352, allocations: 1.099 MB / 0.664 GB, free: 108 kB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.000326/0.5356, allocations: 90.77 kB / 0.6641 GB, free: 12 kB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002318/0.5358, allocations: 71.41 kB / 0.6641 GB, free: 15.94 MB / 478.1 MB Notification: Performance of SimCode: time 1.082e-06/0.5358, allocations: 0 / 0.6641 GB, free: 15.94 MB / 478.1 MB Notification: Performance of Templates: time 0.03277/0.5686, allocations: 23.71 MB / 0.6873 GB, free: 8.254 MB / 494.1 MB make -j1 -f OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.makefile (rm -f OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.sim & ./OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.pipe 2>&1)