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/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.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 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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009472/0.0009473, allocations: 104.9 kB / 16.27 MB, free: 6.414 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.231/1.231, allocations: 222.9 MB / 239.9 MB, free: 4.613 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.001291/0.001291, allocations: 191.5 kB / 290.2 MB, free: 2.324 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4178/0.4178, allocations: 78.53 MB / 418.9 MB, free: 3.191 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001812/0.001812, allocations: 83.88 kB / 498.1 MB, free: 6.438 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1112/0.113, allocations: 68.18 MB / 0.553 GB, free: 2.219 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation): time 0.18/0.293, allocations: 6.369 MB / 0.5592 GB, free: 36.26 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002602/0.2957, allocations: 1.85 MB / 0.561 GB, free: 35.73 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003533/0.2961, allocations: 13 kB / 0.5611 GB, free: 35.73 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004124/0.2965, allocations: 221.2 kB / 0.5613 GB, free: 35.72 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001215/0.2977, allocations: 0.7111 MB / 0.562 GB, free: 35.58 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009486/0.2987, allocations: 0.6115 MB / 0.5626 GB, free: 35.5 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.000941/0.2996, allocations: 1.385 MB / 0.5639 GB, free: 35.32 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003445/0.3, allocations: 325.9 kB / 0.5642 GB, free: 35.27 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004216/0.3004, allocations: 0.5783 MB / 0.5648 GB, free: 35.12 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005084/0.3009, allocations: 0.7274 MB / 0.5655 GB, free: 34.91 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001231/0.301, allocations: 102.2 kB / 0.5656 GB, free: 34.91 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003642/0.3014, allocations: 238.2 kB / 0.5658 GB, free: 34.9 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001592/0.3016, allocations: 273.4 kB / 0.5661 GB, free: 34.83 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003551/0.3019, allocations: 0.6169 MB / 0.5667 GB, free: 34.6 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009573/0.3029, allocations: 1.487 MB / 0.5681 GB, free: 34.23 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.066e-06/0.3029, allocations: 0 / 0.5681 GB, free: 34.23 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.001e-06/0.3029, allocations: 2.844 kB / 0.5681 GB, free: 34.23 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.262e-05/0.3029, allocations: 0 / 0.5681 GB, free: 34.23 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.006634/0.3096, allocations: 2.54 MB / 0.5706 GB, free: 33.33 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.038e-05/0.3096, allocations: 8.781 kB / 0.5706 GB, free: 33.33 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004544/0.3142, allocations: 0.7821 MB / 0.5714 GB, free: 33.24 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008608/0.315, allocations: 0.7632 MB / 0.5721 GB, free: 32.83 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002159/0.3153, allocations: 261.1 kB / 0.5724 GB, free: 32.63 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001302/0.3154, allocations: 74.12 kB / 0.5725 GB, free: 32.63 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00192/0.3173, allocations: 1.078 MB / 0.5735 GB, free: 32.57 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.673e-05/0.3174, allocations: 8.703 kB / 0.5735 GB, free: 32.57 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.453e-05/0.3175, allocations: 30.34 kB / 0.5736 GB, free: 32.57 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.177e-05/0.3175, allocations: 18.56 kB / 0.5736 GB, free: 32.57 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002112/0.3196, allocations: 1.116 MB / 0.5747 GB, free: 32.56 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.00444/0.324, allocations: 3.439 MB / 0.578 GB, free: 31.47 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001691/0.3257, allocations: 1.416 MB / 0.5794 GB, free: 30.55 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001345/0.3271, allocations: 0.776 MB / 0.5802 GB, free: 30.26 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.762e-05/0.3272, allocations: 10.31 kB / 0.5802 GB, free: 30.26 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.825e-05/0.3272, allocations: 46.47 kB / 0.5802 GB, free: 30.21 MB / 430.1 MB Notification: Performance of pre-optimization done (n=96): time 2.254e-06/0.3272, allocations: 0 / 0.5802 GB, free: 30.21 MB / 430.1 MB Notification: Performance of matching and sorting (n=96): time 0.0239/0.3511, allocations: 6.753 MB / 0.5868 GB, free: 28.94 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.342e-05/0.3512, allocations: 64.11 kB / 0.5869 GB, free: 28.87 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001001/0.3522, allocations: 0.8804 MB / 0.5877 GB, free: 28.5 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001439/0.3523, allocations: 41.27 kB / 0.5878 GB, free: 28.46 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002528/0.3526, allocations: 0.4893 MB / 0.5882 GB, free: 28.07 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002654/0.3529, allocations: 336.3 kB / 0.5886 GB, free: 27.8 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003523/0.3532, allocations: 198.2 kB / 0.5888 GB, free: 27.7 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 6.893e-05/0.3533, allocations: 348.3 kB / 0.5891 GB, free: 27.38 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001575/0.3549, allocations: 0.7083 MB / 0.5898 GB, free: 27.14 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001814/0.3567, allocations: 0.8445 MB / 0.5906 GB, free: 26.77 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01742/0.3741, allocations: 4.798 MB / 0.5953 GB, free: 25.44 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.624e-06/0.3742, allocations: 0 / 0.5953 GB, free: 25.44 MB / 430.1 MB Notification: Performance of matching and sorting (n=143) (initialization): time 0.01287/0.3871, allocations: 4.255 MB / 0.5994 GB, free: 24.42 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.424e-05/0.3871, allocations: 6.312 kB / 0.5995 GB, free: 24.42 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.316e-05/0.3871, allocations: 3.656 kB / 0.5995 GB, free: 24.42 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005914/0.3931, allocations: 1.866 MB / 0.6013 GB, free: 24.11 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001031/0.3941, allocations: 204.8 kB / 0.6015 GB, free: 24.09 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0191/0.4132, allocations: 9.09 MB / 0.6104 GB, free: 19.28 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00141/0.4147, allocations: 182.5 kB / 0.6105 GB, free: 19.17 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.906e-05/0.4148, allocations: 38.11 kB / 0.6106 GB, free: 19.16 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.0004197/0.4152, allocations: 244.1 kB / 0.6108 GB, free: 18.96 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001868/0.4154, allocations: 118.1 kB / 0.6109 GB, free: 18.9 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01147/0.4269, allocations: 4.009 MB / 0.6148 GB, free: 15.55 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.024e-05/0.4269, allocations: 12 kB / 0.6148 GB, free: 15.54 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.4269, allocations: 6 kB / 0.6148 GB, free: 15.54 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.339e-05/0.4269, allocations: 7.984 kB / 0.6148 GB, free: 15.53 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01283/0.4398, allocations: 5.614 MB / 0.6203 GB, free: 9.777 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.628e-06/0.4398, allocations: 4 kB / 0.6203 GB, free: 9.773 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006051/0.4404, allocations: 129 kB / 0.6205 GB, free: 9.648 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005116/0.4455, allocations: 1.744 MB / 0.6222 GB, free: 7.902 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.297e-05/0.4456, allocations: 23.98 kB / 0.6222 GB, free: 7.879 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01535/0.461, allocations: 8.071 MB / 0.6301 GB, free: 15.66 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.893e-06/0.461, allocations: 0 / 0.6301 GB, free: 15.66 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0144/0.4754, allocations: 4.962 MB / 0.6349 GB, free: 10.68 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003326/0.4758, allocations: 199.5 kB / 0.6351 GB, free: 10.46 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001537/0.476, allocations: 19.98 kB / 0.6351 GB, free: 10.45 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009596/0.4769, allocations: 108.9 kB / 0.6352 GB, free: 10.34 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006174/0.4776, allocations: 224.6 kB / 0.6354 GB, free: 10.12 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.672e-05/0.4776, allocations: 23.94 kB / 0.6355 GB, free: 10.09 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.000665/0.4783, allocations: 0.5927 MB / 0.636 GB, free: 9.492 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.41e-07/0.4783, allocations: 4 kB / 0.636 GB, free: 9.488 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001128/0.4794, allocations: 439.4 kB / 0.6365 GB, free: 9.059 MB / 446.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.000232/0.4797, allocations: 131.7 kB / 0.6366 GB, free: 8.918 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.006799/0.4865, allocations: 2.493 MB / 0.639 GB, free: 6.41 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.158e-06/0.4865, allocations: 4.062 kB / 0.639 GB, free: 6.406 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004479/0.491, allocations: 1.59 MB / 0.6406 GB, free: 4.812 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006702/0.4917, allocations: 90 kB / 0.6407 GB, free: 4.727 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003291/0.495, allocations: 2.002 MB / 0.6426 GB, free: 2.707 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000572/0.4956, allocations: 1.088 MB / 0.6437 GB, free: 1.594 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002767/0.4958, allocations: 71.41 kB / 0.6438 GB, free: 1.523 MB / 446.1 MB Notification: Performance of SimCode: time 4.81e-07/0.4959, allocations: 4 kB / 0.6438 GB, free: 1.52 MB / 446.1 MB Notification: Performance of Templates: time 0.02285/0.5187, allocations: 19.91 MB / 0.6632 GB, free: 13.78 MB / 478.1 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)