Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order2test2_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.Order2test2_perturbation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation") translateModel(OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001047/0.001048, allocations: 115.4 kB / 16.37 MB, free: 5.539 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.274/1.274, allocations: 222.9 MB / 240 MB, free: 4.48 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.001187/0.001187, allocations: 192.2 kB / 290.3 MB, free: 2.203 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4714/0.4714, allocations: 91.91 MB / 432.4 MB, free: 9.16 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00138/0.00138, allocations: 80.09 kB / 0.5033 GB, free: 6.973 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2919/0.2933, allocations: 71.26 MB / 0.5729 GB, free: 37.55 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation): time 0.005216/0.2985, allocations: 6.395 MB / 0.5791 GB, free: 33.43 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002623/0.3012, allocations: 1.859 MB / 0.5809 GB, free: 32.11 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003895/0.3016, allocations: 16.16 kB / 0.581 GB, free: 32.11 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004214/0.302, allocations: 220.2 kB / 0.5812 GB, free: 31.98 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001263/0.3033, allocations: 0.7183 MB / 0.5819 GB, free: 31.51 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009436/0.3043, allocations: 0.607 MB / 0.5825 GB, free: 31.2 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009264/0.3052, allocations: 1.406 MB / 0.5838 GB, free: 30.5 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000352/0.3056, allocations: 324.8 kB / 0.5841 GB, free: 30.37 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004567/0.306, allocations: 0.5792 MB / 0.5847 GB, free: 30.08 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005064/0.3065, allocations: 0.719 MB / 0.5854 GB, free: 29.72 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001163/0.3067, allocations: 100.6 kB / 0.5855 GB, free: 29.72 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003254/0.307, allocations: 243 kB / 0.5857 GB, free: 29.68 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001487/0.3071, allocations: 271.5 kB / 0.586 GB, free: 29.5 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003362/0.3075, allocations: 0.6235 MB / 0.5866 GB, free: 29.07 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009421/0.3084, allocations: 1.505 MB / 0.5881 GB, free: 28.38 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.3084, allocations: 0 / 0.5881 GB, free: 28.38 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.112e-06/0.3085, allocations: 0 / 0.5881 GB, free: 28.38 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.598e-05/0.3085, allocations: 2.562 kB / 0.5881 GB, free: 28.38 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: 194 * Number of variables: 194 Notification: Performance of Generate backend data structure: time 0.006622/0.3151, allocations: 2.541 MB / 0.5906 GB, free: 27.2 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.182e-05/0.3151, allocations: 12.38 kB / 0.5906 GB, free: 27.2 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004511/0.3197, allocations: 0.7714 MB / 0.5913 GB, free: 27.04 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001008/0.3207, allocations: 0.7635 MB / 0.5921 GB, free: 26.49 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002044/0.3209, allocations: 264.5 kB / 0.5923 GB, free: 26.27 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000129/0.321, allocations: 74.72 kB / 0.5924 GB, free: 26.24 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001901/0.3229, allocations: 1.072 MB / 0.5934 GB, free: 25.86 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.577e-05/0.323, allocations: 3.938 kB / 0.5934 GB, free: 25.86 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.742e-05/0.323, allocations: 29.75 kB / 0.5935 GB, free: 25.83 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.573e-05/0.3231, allocations: 19.06 kB / 0.5935 GB, free: 25.83 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002155/0.3252, allocations: 1.121 MB / 0.5946 GB, free: 25.49 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.004902/0.3301, allocations: 3.417 MB / 0.5979 GB, free: 23.53 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001794/0.3319, allocations: 1.42 MB / 0.5993 GB, free: 22.59 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001396/0.3334, allocations: 0.7796 MB / 0.6001 GB, free: 22.3 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001146/0.3335, allocations: 16.25 kB / 0.6001 GB, free: 22.29 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.859e-05/0.3335, allocations: 43.91 kB / 0.6001 GB, free: 22.24 MB / 430.1 MB Notification: Performance of pre-optimization done (n=96): time 2.494e-06/0.3335, allocations: 4 kB / 0.6001 GB, free: 22.24 MB / 430.1 MB Notification: Performance of matching and sorting (n=96): time 0.02385/0.3574, allocations: 6.747 MB / 0.6067 GB, free: 20.98 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.276e-05/0.3574, allocations: 61.81 kB / 0.6068 GB, free: 20.91 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001301/0.3588, allocations: 0.8839 MB / 0.6076 GB, free: 20.54 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001884/0.359, allocations: 41.23 kB / 0.6077 GB, free: 20.5 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000319/0.3593, allocations: 0.4896 MB / 0.6082 GB, free: 20.1 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003366/0.3596, allocations: 344.3 kB / 0.6085 GB, free: 19.83 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004276/0.3601, allocations: 191 kB / 0.6087 GB, free: 19.74 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 9.492e-05/0.3602, allocations: 353.5 kB / 0.609 GB, free: 19.41 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001453/0.3616, allocations: 0.7076 MB / 0.6097 GB, free: 19.17 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001616/0.3632, allocations: 0.8444 MB / 0.6105 GB, free: 18.8 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01679/0.38, allocations: 4.776 MB / 0.6152 GB, free: 17.21 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.594e-06/0.3801, allocations: 1.469 kB / 0.6152 GB, free: 17.21 MB / 430.1 MB Notification: Performance of matching and sorting (n=143) (initialization): time 0.01165/0.3917, allocations: 4.268 MB / 0.6194 GB, free: 14.54 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.924e-05/0.3918, allocations: 4 kB / 0.6194 GB, free: 14.54 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.758e-06/0.3918, allocations: 4 kB / 0.6194 GB, free: 14.54 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00497/0.3968, allocations: 1.862 MB / 0.6212 GB, free: 12.67 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009229/0.3977, allocations: 203.7 kB / 0.6214 GB, free: 12.47 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01653/0.4142, allocations: 9.078 MB / 0.6302 GB, free: 3.246 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001475/0.4158, allocations: 167 kB / 0.6304 GB, free: 3.082 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001115/0.4159, allocations: 43.98 kB / 0.6304 GB, free: 3.039 MB / 430.1 MB Warning: Assuming fixed start value for the following 2 variables: order2_Inputs_Outputs1.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order2_Inputs_Outputs1.delta:VARIABLE(flow=false start = order2_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 (108): * Single equations (assignments): 107 * 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 prepare postOptimizeDAE: time 0.0004231/0.4163, allocations: 249.4 kB / 0.6307 GB, free: 2.789 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001715/0.4165, allocations: 118.5 kB / 0.6308 GB, free: 2.672 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01095/0.4274, allocations: 4.01 MB / 0.6347 GB, free: 14.64 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.017e-05/0.4275, allocations: 8 kB / 0.6347 GB, free: 14.63 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.4275, allocations: 3.938 kB / 0.6347 GB, free: 14.63 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.433e-05/0.4275, allocations: 7.969 kB / 0.6347 GB, free: 14.62 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01346/0.441, allocations: 5.618 MB / 0.6402 GB, free: 8.871 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.935e-06/0.441, allocations: 0 / 0.6402 GB, free: 8.871 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006629/0.4417, allocations: 127.8 kB / 0.6403 GB, free: 8.746 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005316/0.447, allocations: 1.741 MB / 0.642 GB, free: 6.996 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001182/0.4471, allocations: 16 kB / 0.6421 GB, free: 6.98 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01652/0.4637, allocations: 8.065 MB / 0.6499 GB, free: 14.76 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.127e-06/0.4637, allocations: 3.984 kB / 0.6499 GB, free: 14.76 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01356/0.4773, allocations: 4.976 MB / 0.6548 GB, free: 9.762 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004081/0.4777, allocations: 203.4 kB / 0.655 GB, free: 9.543 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001677/0.4779, allocations: 20 kB / 0.655 GB, free: 9.523 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009458/0.4788, allocations: 111.9 kB / 0.6551 GB, free: 9.414 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006454/0.4795, allocations: 220.6 kB / 0.6553 GB, free: 9.195 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.696e-05/0.4796, allocations: 23.94 kB / 0.6553 GB, free: 9.172 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0007039/0.4803, allocations: 0.5927 MB / 0.6559 GB, free: 8.57 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.4803, allocations: 0 / 0.6559 GB, free: 8.57 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001125/0.4814, allocations: 431.5 kB / 0.6563 GB, free: 8.148 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (order2_Inputs_Outputs1.delta,order2_Inputs_Outputs1.w) * 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 (63): * Single equations (assignments): 62 * 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.0002385/0.4817, allocations: 134.9 kB / 0.6565 GB, free: 8.012 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.00602/0.4877, allocations: 2.472 MB / 0.6589 GB, free: 5.527 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.707e-06/0.4877, allocations: 4 kB / 0.6589 GB, free: 5.523 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004173/0.4919, allocations: 1.589 MB / 0.6604 GB, free: 3.926 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006319/0.4925, allocations: 84.42 kB / 0.6605 GB, free: 3.84 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003133/0.4957, allocations: 1.934 MB / 0.6624 GB, free: 1.883 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005666/0.4963, allocations: 1.08 MB / 0.6635 GB, free: 0.7734 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0003077/0.4966, allocations: 90.69 kB / 0.6635 GB, free: 0.6797 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000205/0.4968, allocations: 63.42 kB / 0.6636 GB, free: 0.6172 MB / 462.1 MB Notification: Performance of SimCode: time 5.31e-07/0.4968, allocations: 0 / 0.6636 GB, free: 0.6172 MB / 462.1 MB Notification: Performance of Templates: time 0.03156/0.5284, allocations: 23.38 MB / 0.6864 GB, free: 9.258 MB / 494.1 MB make -j1 -f OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.makefile (rm -f OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.sim & ./OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.pipe 2>&1)