Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_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.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.Order3test2_perturbation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation") translateModel(OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_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.004963/0.004963, allocations: 103.2 kB / 15.73 MB, free: 6.004 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.416/1.416, allocations: 222.9 MB / 239.4 MB, free: 4.531 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.001439/0.001439, allocations: 184.5 kB / 289.7 MB, free: 2.258 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4761/0.4761, allocations: 78.53 MB / 418.4 MB, free: 3.086 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001388/0.001388, allocations: 79.88 kB / 0.5536 GB, free: 0.9375 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3646/0.366, allocations: 68.17 MB / 0.6202 GB, free: 9.703 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation): time 0.00634/0.3724, allocations: 6.431 MB / 0.6265 GB, free: 3.742 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003609/0.3761, allocations: 1.853 MB / 0.6283 GB, free: 1.887 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00136/0.3775, allocations: 19.94 kB / 0.6283 GB, free: 1.867 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000886/0.3784, allocations: 218 kB / 0.6285 GB, free: 1.652 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002619/0.381, allocations: 0.7731 MB / 0.6293 GB, free: 0.8789 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001458/0.3825, allocations: 0.6008 MB / 0.6299 GB, free: 292 kB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.002169/0.3847, allocations: 1.421 MB / 0.6313 GB, free: 14.86 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006005/0.3853, allocations: 336.3 kB / 0.6316 GB, free: 14.52 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000923/0.3862, allocations: 0.5873 MB / 0.6321 GB, free: 13.93 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007268/0.387, allocations: 0.7388 MB / 0.6329 GB, free: 13.19 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000145/0.3871, allocations: 104 kB / 0.633 GB, free: 13.09 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004922/0.3876, allocations: 235.9 kB / 0.6332 GB, free: 12.86 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002443/0.3879, allocations: 278.8 kB / 0.6335 GB, free: 12.58 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005262/0.3884, allocations: 0.6329 MB / 0.6341 GB, free: 11.95 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001571/0.39, allocations: 1.52 MB / 0.6356 GB, free: 10.43 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.08e-06/0.39, allocations: 3.938 kB / 0.6356 GB, free: 10.42 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.914e-06/0.39, allocations: 0 / 0.6356 GB, free: 10.42 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.793e-05/0.3901, allocations: 0 / 0.6356 GB, free: 10.42 MB / 446.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.008454/0.3985, allocations: 2.564 MB / 0.6381 GB, free: 7.797 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.668e-05/0.3986, allocations: 8.031 kB / 0.6381 GB, free: 7.789 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005046/0.4036, allocations: 0.771 MB / 0.6388 GB, free: 7.016 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001497/0.4052, allocations: 0.7879 MB / 0.6396 GB, free: 6.172 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003114/0.4055, allocations: 260.2 kB / 0.6398 GB, free: 5.883 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001527/0.4056, allocations: 76 kB / 0.6399 GB, free: 5.809 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002508/0.4082, allocations: 1.073 MB / 0.641 GB, free: 4.73 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.177e-05/0.4082, allocations: 7.938 kB / 0.641 GB, free: 4.723 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.988e-05/0.4083, allocations: 31.98 kB / 0.641 GB, free: 4.691 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.879e-05/0.4083, allocations: 20 kB / 0.641 GB, free: 4.672 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002638/0.411, allocations: 1.124 MB / 0.6421 GB, free: 3.543 MB / 446.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.006237/0.4172, allocations: 3.448 MB / 0.6455 GB, free: 15.94 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002238/0.4195, allocations: 1.411 MB / 0.6469 GB, free: 14.42 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001684/0.4212, allocations: 0.7852 MB / 0.6476 GB, free: 13.63 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.869e-05/0.4213, allocations: 20.98 kB / 0.6477 GB, free: 13.61 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.692e-05/0.4213, allocations: 47.5 kB / 0.6477 GB, free: 13.55 MB / 462.1 MB Notification: Performance of pre-optimization done (n=97): time 3.607e-06/0.4213, allocations: 0 / 0.6477 GB, free: 13.55 MB / 462.1 MB Notification: Performance of matching and sorting (n=97): time 0.0264/0.4478, allocations: 6.602 MB / 0.6541 GB, free: 6.914 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.672e-05/0.4479, allocations: 64.34 kB / 0.6542 GB, free: 6.836 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001311/0.4492, allocations: 0.8963 MB / 0.6551 GB, free: 5.922 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.00023/0.4494, allocations: 49.7 kB / 0.6551 GB, free: 5.867 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003729/0.4498, allocations: 496.8 kB / 0.6556 GB, free: 5.375 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003626/0.4502, allocations: 354.9 kB / 0.6559 GB, free: 5.023 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003861/0.4506, allocations: 198.8 kB / 0.6561 GB, free: 4.82 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001323/0.4507, allocations: 341.9 kB / 0.6565 GB, free: 4.48 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001668/0.4524, allocations: 0.7287 MB / 0.6572 GB, free: 3.754 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001773/0.4542, allocations: 0.8462 MB / 0.658 GB, free: 2.875 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01877/0.4729, allocations: 4.83 MB / 0.6627 GB, free: 14.01 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.975e-06/0.473, allocations: 8 kB / 0.6627 GB, free: 14 MB / 478.1 MB Notification: Performance of matching and sorting (n=147) (initialization): time 0.01402/0.487, allocations: 4.265 MB / 0.6669 GB, free: 9.723 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.682e-05/0.4871, allocations: 8 kB / 0.6669 GB, free: 9.715 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.799e-05/0.4871, allocations: 7.875 kB / 0.6669 GB, free: 9.707 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006532/0.4937, allocations: 1.811 MB / 0.6687 GB, free: 7.891 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001205/0.4949, allocations: 211.7 kB / 0.6689 GB, free: 7.684 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02278/0.5177, allocations: 9.318 MB / 0.678 GB, free: 14.21 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001698/0.5194, allocations: 171 kB / 0.6781 GB, free: 14.04 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002465/0.5197, allocations: 43.98 kB / 0.6782 GB, free: 14 MB / 494.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.0007435/0.5205, allocations: 245.5 kB / 0.6784 GB, free: 13.75 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003948/0.5209, allocations: 122.5 kB / 0.6785 GB, free: 13.63 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01349/0.5344, allocations: 4.018 MB / 0.6825 GB, free: 9.598 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.71e-05/0.5344, allocations: 12 kB / 0.6825 GB, free: 9.586 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.419e-06/0.5344, allocations: 0 / 0.6825 GB, free: 9.586 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.818e-05/0.5345, allocations: 3.984 kB / 0.6825 GB, free: 9.582 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01571/0.5502, allocations: 5.61 MB / 0.6879 GB, free: 3.84 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.08e-05/0.5502, allocations: 0 / 0.6879 GB, free: 3.84 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007551/0.551, allocations: 127.8 kB / 0.6881 GB, free: 3.715 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006295/0.5573, allocations: 1.749 MB / 0.6898 GB, free: 1.961 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001478/0.5575, allocations: 16 kB / 0.6898 GB, free: 1.945 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0202/0.5777, allocations: 8.068 MB / 0.6977 GB, free: 9.73 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.515e-06/0.5777, allocations: 0 / 0.6977 GB, free: 9.73 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01607/0.5938, allocations: 4.964 MB / 0.7025 GB, free: 4.746 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004369/0.5943, allocations: 203.4 kB / 0.7027 GB, free: 4.527 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002899/0.5946, allocations: 16 kB / 0.7027 GB, free: 4.512 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001182/0.5958, allocations: 119.8 kB / 0.7028 GB, free: 4.395 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007471/0.5965, allocations: 212.7 kB / 0.703 GB, free: 4.184 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.815e-05/0.5966, allocations: 31.92 kB / 0.7031 GB, free: 4.152 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0008466/0.5975, allocations: 0.5969 MB / 0.7037 GB, free: 3.547 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.8e-07/0.5975, allocations: 3.938 kB / 0.7037 GB, free: 3.543 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001439/0.5989, allocations: 447.4 kB / 0.7041 GB, free: 3.105 MB / 0.4981 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.0002975/0.5992, allocations: 123.2 kB / 0.7042 GB, free: 2.973 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.007255/0.6065, allocations: 2.511 MB / 0.7067 GB, free: 452 kB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.797e-06/0.6065, allocations: 0 / 0.7067 GB, free: 452 kB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.00512/0.6117, allocations: 1.586 MB / 0.7082 GB, free: 14.85 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008675/0.6125, allocations: 84.42 kB / 0.7083 GB, free: 14.77 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004008/0.6166, allocations: 2.004 MB / 0.7102 GB, free: 12.73 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007619/0.6174, allocations: 1.099 MB / 0.7113 GB, free: 11.6 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0003905/0.6178, allocations: 90.77 kB / 0.7114 GB, free: 11.51 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002739/0.618, allocations: 67.42 kB / 0.7115 GB, free: 11.44 MB / 0.5137 GB Notification: Performance of SimCode: time 5.91e-07/0.618, allocations: 0 / 0.7115 GB, free: 11.44 MB / 0.5137 GB Notification: Performance of Templates: time 0.03762/0.6557, allocations: 23.91 MB / 0.7348 GB, free: 3.539 MB / 0.5294 GB make -j1 -f OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.makefile (rm -f OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.sim & ./OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.pipe 2>&1)