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.001517/0.001517, allocations: 107.3 kB / 16.41 MB, free: 6.406 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.436/1.436, allocations: 222.9 MB / 240.1 MB, free: 4.328 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.001602/0.001602, allocations: 196.4 kB / 290.4 MB, free: 2.062 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5548/0.5548, allocations: 91.9 MB / 432.4 MB, free: 9.141 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001484/0.001484, allocations: 80.59 kB / 0.5734 GB, free: 33.39 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1425/0.144, allocations: 71.29 MB / 0.643 GB, free: 3.559 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation): time 0.008141/0.1522, allocations: 6.463 MB / 0.6493 GB, free: 13.06 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.004291/0.1566, allocations: 1.857 MB / 0.6511 GB, free: 11.2 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001279/0.1579, allocations: 12 kB / 0.6512 GB, free: 11.19 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008899/0.1588, allocations: 229.9 kB / 0.6514 GB, free: 10.96 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00274/0.1616, allocations: 0.7165 MB / 0.6521 GB, free: 10.25 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00187/0.1635, allocations: 0.6122 MB / 0.6527 GB, free: 9.641 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.00229/0.1658, allocations: 1.413 MB / 0.654 GB, free: 8.223 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006683/0.1665, allocations: 332.3 kB / 0.6544 GB, free: 7.887 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001059/0.1675, allocations: 0.5989 MB / 0.655 GB, free: 7.285 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001176/0.1687, allocations: 0.7272 MB / 0.6557 GB, free: 6.555 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003567/0.1691, allocations: 100 kB / 0.6558 GB, free: 6.457 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007876/0.1699, allocations: 251.8 kB / 0.656 GB, free: 6.211 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003376/0.1702, allocations: 278.8 kB / 0.6563 GB, free: 5.938 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008713/0.1711, allocations: 0.629 MB / 0.6569 GB, free: 5.305 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002158/0.1733, allocations: 1.518 MB / 0.6584 GB, free: 3.781 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.292e-06/0.1733, allocations: 0 / 0.6584 GB, free: 3.781 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.903e-06/0.1733, allocations: 0 / 0.6584 GB, free: 3.781 MB / 462.1 MB Notification: Performance of Transformations before backend: time 5.221e-05/0.1734, allocations: 0 / 0.6584 GB, free: 3.781 MB / 462.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.009001/0.1824, allocations: 2.56 MB / 0.6609 GB, free: 1.168 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.655e-05/0.1824, allocations: 8.031 kB / 0.6609 GB, free: 1.16 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005268/0.1877, allocations: 0.7788 MB / 0.6616 GB, free: 388 kB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001637/0.1894, allocations: 0.7802 MB / 0.6624 GB, free: 15.54 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003345/0.1897, allocations: 256.2 kB / 0.6626 GB, free: 15.25 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002343/0.19, allocations: 76 kB / 0.6627 GB, free: 15.18 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002719/0.1927, allocations: 1.073 MB / 0.6638 GB, free: 14.1 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.361e-05/0.1927, allocations: 3.938 kB / 0.6638 GB, free: 14.09 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001136/0.1929, allocations: 39.92 kB / 0.6638 GB, free: 14.05 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.179e-05/0.1929, allocations: 20 kB / 0.6638 GB, free: 14.04 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002726/0.1956, allocations: 1.12 MB / 0.6649 GB, free: 12.92 MB / 478.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.007066/0.2027, allocations: 3.432 MB / 0.6683 GB, free: 9.332 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002307/0.205, allocations: 1.431 MB / 0.6697 GB, free: 7.781 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001672/0.2067, allocations: 0.7813 MB / 0.6704 GB, free: 6.996 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001055/0.2068, allocations: 12.98 kB / 0.6704 GB, free: 6.984 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.883e-05/0.2069, allocations: 43.56 kB / 0.6705 GB, free: 6.934 MB / 478.1 MB Notification: Performance of pre-optimization done (n=97): time 3.126e-06/0.2069, allocations: 4 kB / 0.6705 GB, free: 6.93 MB / 478.1 MB Notification: Performance of matching and sorting (n=97): time 0.02611/0.233, allocations: 6.606 MB / 0.6769 GB, free: 296 kB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.042e-05/0.2331, allocations: 64.39 kB / 0.677 GB, free: 220 kB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001404/0.2345, allocations: 0.9002 MB / 0.6779 GB, free: 15.3 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002248/0.2348, allocations: 41.7 kB / 0.6779 GB, free: 15.25 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004017/0.2352, allocations: 0.4967 MB / 0.6784 GB, free: 14.75 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004779/0.2357, allocations: 339.1 kB / 0.6787 GB, free: 14.41 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005164/0.2362, allocations: 202.8 kB / 0.6789 GB, free: 14.2 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001338/0.2363, allocations: 349.9 kB / 0.6792 GB, free: 13.86 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001691/0.238, allocations: 0.7208 MB / 0.6799 GB, free: 13.14 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001853/0.2399, allocations: 0.8501 MB / 0.6808 GB, free: 12.25 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01892/0.2588, allocations: 4.826 MB / 0.6855 GB, free: 7.395 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.268e-06/0.2589, allocations: 0 / 0.6855 GB, free: 7.395 MB / 494.1 MB Notification: Performance of matching and sorting (n=147) (initialization): time 0.01423/0.2731, allocations: 4.273 MB / 0.6897 GB, free: 3.105 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.013e-05/0.2732, allocations: 4 kB / 0.6897 GB, free: 3.102 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.977e-05/0.2732, allocations: 7.938 kB / 0.6897 GB, free: 3.094 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006282/0.2795, allocations: 1.811 MB / 0.6914 GB, free: 1.277 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001122/0.2807, allocations: 211.7 kB / 0.6916 GB, free: 1.07 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02241/0.3031, allocations: 9.332 MB / 0.7008 GB, free: 7.578 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001603/0.3047, allocations: 182.9 kB / 0.7009 GB, free: 7.398 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002109/0.305, allocations: 35.98 kB / 0.701 GB, free: 7.363 MB / 0.4981 GB 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.0005976/0.3056, allocations: 244.5 kB / 0.7012 GB, free: 7.117 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003124/0.3059, allocations: 118.5 kB / 0.7013 GB, free: 7 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01354/0.3194, allocations: 4.018 MB / 0.7052 GB, free: 2.965 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.287e-05/0.3195, allocations: 15.92 kB / 0.7053 GB, free: 2.949 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.629e-06/0.3195, allocations: 0 / 0.7053 GB, free: 2.949 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.713e-05/0.3195, allocations: 7.984 kB / 0.7053 GB, free: 2.941 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01597/0.3355, allocations: 5.618 MB / 0.7107 GB, free: 13.19 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.372e-05/0.3356, allocations: 0 / 0.7107 GB, free: 13.19 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008042/0.3364, allocations: 127.9 kB / 0.7109 GB, free: 13.06 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006155/0.3426, allocations: 1.737 MB / 0.7126 GB, free: 11.32 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002272/0.3428, allocations: 23.98 kB / 0.7126 GB, free: 11.3 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01922/0.362, allocations: 8.068 MB / 0.7205 GB, free: 3.082 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.915e-06/0.3621, allocations: 0 / 0.7205 GB, free: 3.082 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01612/0.3782, allocations: 4.964 MB / 0.7253 GB, free: 14.09 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004267/0.3787, allocations: 207.3 kB / 0.7255 GB, free: 13.87 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003094/0.379, allocations: 19.94 kB / 0.7255 GB, free: 13.85 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001228/0.3802, allocations: 119.8 kB / 0.7256 GB, free: 13.73 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007346/0.381, allocations: 212.7 kB / 0.7258 GB, free: 13.53 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001012/0.3811, allocations: 24 kB / 0.7259 GB, free: 13.5 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0009206/0.382, allocations: 0.6047 MB / 0.7265 GB, free: 12.89 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.31e-07/0.382, allocations: 0 / 0.7265 GB, free: 12.89 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.00144/0.3835, allocations: 443.4 kB / 0.7269 GB, free: 12.46 MB / 0.5294 GB 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.0003045/0.3838, allocations: 135.1 kB / 0.727 GB, free: 12.31 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.007292/0.3911, allocations: 2.488 MB / 0.7294 GB, free: 9.812 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 3.637e-06/0.3911, allocations: 0 / 0.7294 GB, free: 9.812 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.005202/0.3964, allocations: 1.593 MB / 0.731 GB, free: 8.207 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000975/0.3974, allocations: 89.5 kB / 0.7311 GB, free: 8.117 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004209/0.4016, allocations: 2.036 MB / 0.7331 GB, free: 6.047 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007379/0.4023, allocations: 1.103 MB / 0.7342 GB, free: 4.918 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003608/0.4027, allocations: 71.42 kB / 0.7342 GB, free: 4.848 MB / 0.5294 GB Notification: Performance of SimCode: time 9.51e-07/0.4027, allocations: 0 / 0.7342 GB, free: 4.848 MB / 0.5294 GB Notification: Performance of Templates: time 0.02905/0.4318, allocations: 20.2 MB / 0.7539 GB, free: 0.6328 MB / 0.545 GB 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 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.pipe 2>&1)