Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.conf.json 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/Modelica 4.0.0+maint.om/package.mo", uses=false) 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/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 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_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation") translateModel(OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00114/0.00114, allocations: 183 kB / 15.98 MB, free: 5.77 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.223/1.223, allocations: 222.9 MB / 239.7 MB, free: 11 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009737/0.0009516, allocations: 111.2 kB / 289.9 MB, free: 10.93 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4102/0.4102, allocations: 78.52 MB / 418.5 MB, free: 8.523 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001213/0.001213, allocations: 63.91 kB / 497.5 MB, free: 10.29 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2476/0.2488, allocations: 68.16 MB / 0.5524 GB, free: 19.9 MB / 378.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation): time 0.004803/0.2537, allocations: 6.708 MB / 0.559 GB, free: 13.16 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.003069/0.2568, allocations: 1.9 MB / 0.5608 GB, free: 11.25 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007236/0.2575, allocations: 15.94 kB / 0.5608 GB, free: 11.24 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004186/0.258, allocations: 166.9 kB / 0.561 GB, free: 11.07 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001265/0.2592, allocations: 0.6422 MB / 0.5616 GB, free: 10.43 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000973/0.2602, allocations: 0.5598 MB / 0.5622 GB, free: 9.879 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008793/0.2611, allocations: 1.355 MB / 0.5635 GB, free: 8.52 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003282/0.2614, allocations: 293.2 kB / 0.5638 GB, free: 8.223 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004308/0.2619, allocations: 0.5521 MB / 0.5643 GB, free: 7.668 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004694/0.2624, allocations: 0.6842 MB / 0.565 GB, free: 6.98 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001045/0.2625, allocations: 68 kB / 0.565 GB, free: 6.914 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003433/0.2628, allocations: 191.9 kB / 0.5652 GB, free: 6.727 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001323/0.263, allocations: 242.7 kB / 0.5654 GB, free: 6.488 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003005/0.2633, allocations: 0.5784 MB / 0.566 GB, free: 5.906 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008391/0.2641, allocations: 1.45 MB / 0.5674 GB, free: 4.453 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.2641, allocations: 0 / 0.5674 GB, free: 4.453 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.001e-06/0.2641, allocations: 0 / 0.5674 GB, free: 4.453 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.533e-05/0.2642, allocations: 0 / 0.5674 GB, free: 4.453 MB / 378.7 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.007377/0.2715, allocations: 2.544 MB / 0.5699 GB, free: 1.855 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.605e-05/0.2716, allocations: 11.97 kB / 0.5699 GB, free: 1.844 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00451/0.2761, allocations: 0.7749 MB / 0.5707 GB, free: 1.066 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001024/0.2772, allocations: 0.7644 MB / 0.5714 GB, free: 252 kB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002339/0.2774, allocations: 260.2 kB / 0.5717 GB, free: 15.95 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001371/0.2776, allocations: 76 kB / 0.5717 GB, free: 15.88 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002207/0.2798, allocations: 1.065 MB / 0.5728 GB, free: 14.81 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.218e-05/0.2798, allocations: 15.86 kB / 0.5728 GB, free: 14.79 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.296e-05/0.2799, allocations: 32 kB / 0.5728 GB, free: 14.76 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.463e-05/0.2799, allocations: 16 kB / 0.5728 GB, free: 14.75 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002438/0.2824, allocations: 1.12 MB / 0.5739 GB, free: 13.62 MB / 394.7 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.005547/0.2879, allocations: 3.432 MB / 0.5773 GB, free: 10.04 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002061/0.29, allocations: 1.42 MB / 0.5787 GB, free: 8.5 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001589/0.2916, allocations: 0.7806 MB / 0.5794 GB, free: 7.715 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001161/0.2917, allocations: 16.98 kB / 0.5795 GB, free: 7.695 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.933e-05/0.2918, allocations: 47.5 kB / 0.5795 GB, free: 7.641 MB / 394.7 MB Notification: Performance of pre-optimization done (n=96): time 2.916e-06/0.2918, allocations: 0 / 0.5795 GB, free: 7.641 MB / 394.7 MB Notification: Performance of matching and sorting (n=96): time 0.02684/0.3186, allocations: 6.75 MB / 0.5861 GB, free: 0.8594 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.57e-05/0.3187, allocations: 64.34 kB / 0.5862 GB, free: 0.7812 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001159/0.3199, allocations: 0.8838 MB / 0.587 GB, free: 15.88 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002146/0.3201, allocations: 41.7 kB / 0.5871 GB, free: 15.83 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003111/0.3204, allocations: 0.4928 MB / 0.5875 GB, free: 15.33 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003256/0.3208, allocations: 343.1 kB / 0.5879 GB, free: 14.99 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003639/0.3211, allocations: 194.8 kB / 0.5881 GB, free: 14.79 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001165/0.3213, allocations: 345.9 kB / 0.5884 GB, free: 14.45 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001602/0.3229, allocations: 0.7131 MB / 0.5891 GB, free: 13.74 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001694/0.3246, allocations: 0.8423 MB / 0.5899 GB, free: 12.86 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01809/0.3427, allocations: 4.778 MB / 0.5946 GB, free: 8.055 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.013e-06/0.3427, allocations: 0 / 0.5946 GB, free: 8.055 MB / 410.7 MB Notification: Performance of matching and sorting (n=143) (initialization): time 0.01376/0.3565, allocations: 4.253 MB / 0.5987 GB, free: 3.785 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.71e-05/0.3566, allocations: 4 kB / 0.5987 GB, free: 3.781 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.226e-05/0.3566, allocations: 4 kB / 0.5987 GB, free: 3.777 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006119/0.3627, allocations: 1.866 MB / 0.6006 GB, free: 1.906 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001023/0.3638, allocations: 199.8 kB / 0.6007 GB, free: 1.711 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02026/0.384, allocations: 8.373 MB / 0.6089 GB, free: 9.207 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001491/0.3855, allocations: 174.9 kB / 0.6091 GB, free: 9.035 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001991/0.3858, allocations: 39.98 kB / 0.6091 GB, free: 8.996 MB / 426.7 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.0005863/0.3864, allocations: 240 kB / 0.6094 GB, free: 8.754 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002786/0.3867, allocations: 126.4 kB / 0.6095 GB, free: 8.629 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01317/0.3998, allocations: 4.002 MB / 0.6134 GB, free: 4.605 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.758e-05/0.3999, allocations: 8 kB / 0.6134 GB, free: 4.598 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.3999, allocations: 0 / 0.6134 GB, free: 4.598 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.664e-05/0.3999, allocations: 7.984 kB / 0.6134 GB, free: 4.59 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0152/0.4151, allocations: 5.622 MB / 0.6189 GB, free: 14.83 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.422e-06/0.4152, allocations: 3.938 kB / 0.6189 GB, free: 14.82 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006486/0.4158, allocations: 127.8 kB / 0.619 GB, free: 14.7 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005738/0.4216, allocations: 1.734 MB / 0.6207 GB, free: 12.96 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001051/0.4217, allocations: 16 kB / 0.6207 GB, free: 12.95 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01673/0.4384, allocations: 7.363 MB / 0.6279 GB, free: 5.441 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.457e-06/0.4385, allocations: 3.938 kB / 0.6279 GB, free: 5.438 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.08995/0.5284, allocations: 32.4 MB / 0.6596 GB, free: 4.699 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003423/0.5288, allocations: 203.4 kB / 0.6598 GB, free: 4.48 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002312/0.529, allocations: 16 kB / 0.6598 GB, free: 4.465 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001093/0.5302, allocations: 107.9 kB / 0.6599 GB, free: 4.359 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007211/0.5309, allocations: 220.6 kB / 0.6601 GB, free: 4.145 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.132e-05/0.531, allocations: 20 kB / 0.6601 GB, free: 4.125 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.000731/0.5317, allocations: 0.5965 MB / 0.6607 GB, free: 3.52 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5317, allocations: 0 / 0.6607 GB, free: 3.52 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.001706/0.5334, allocations: 0.5777 MB / 0.6612 GB, free: 2.941 MB / 474.7 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.0002599/0.5337, allocations: 135.1 kB / 0.6614 GB, free: 2.801 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.00672/0.5404, allocations: 2.419 MB / 0.6637 GB, free: 376 kB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.5405, allocations: 0 / 0.6637 GB, free: 376 kB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004774/0.5452, allocations: 1.549 MB / 0.6652 GB, free: 14.8 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007365/0.546, allocations: 88.42 kB / 0.6653 GB, free: 14.71 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007481/0.5535, allocations: 3.658 MB / 0.6689 GB, free: 11 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00066/0.5542, allocations: 1.13 MB / 0.67 GB, free: 9.84 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0003777/0.5546, allocations: 94.67 kB / 0.6701 GB, free: 9.742 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002322/0.5548, allocations: 63.42 kB / 0.6702 GB, free: 9.68 MB / 490.7 MB Notification: Performance of SimCode: time 5.51e-07/0.5548, allocations: 0 / 0.6702 GB, free: 9.68 MB / 490.7 MB Notification: Performance of Templates: time 0.2243/0.7791, allocations: 30.25 MB / 0.6997 GB, free: 108.5 MB / 490.7 MB make -j1 -f OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.makefile (rm -f OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.sim & ./OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.pipe 2>&1)