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.006989/0.006988, allocations: 101.3 kB / 15.73 MB, free: 5.586 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.36/1.36, 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.001546/0.001547, allocations: 196.4 kB / 289.7 MB, free: 2.238 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4596/0.4596, allocations: 78.52 MB / 418.4 MB, free: 3.094 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001546/0.001546, allocations: 76.11 kB / 0.5536 GB, free: 0.9102 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2977/0.2992, allocations: 68.18 MB / 0.6202 GB, free: 9.598 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation): time 0.005387/0.3046, allocations: 6.374 MB / 0.6264 GB, free: 3.793 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002831/0.3075, allocations: 1.849 MB / 0.6282 GB, free: 1.938 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004196/0.3079, allocations: 8 kB / 0.6282 GB, free: 1.93 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003983/0.3083, allocations: 222 kB / 0.6285 GB, free: 1.711 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001313/0.3097, allocations: 0.7692 MB / 0.6292 GB, free: 0.9414 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001009/0.3107, allocations: 0.6046 MB / 0.6298 GB, free: 352 kB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001296/0.312, allocations: 1.402 MB / 0.6312 GB, free: 14.94 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004447/0.3125, allocations: 324.3 kB / 0.6315 GB, free: 14.61 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006205/0.3131, allocations: 0.5834 MB / 0.632 GB, free: 14.03 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007007/0.3138, allocations: 0.7271 MB / 0.6328 GB, free: 13.3 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001402/0.314, allocations: 100 kB / 0.6328 GB, free: 13.2 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003819/0.3144, allocations: 235.9 kB / 0.6331 GB, free: 12.97 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002114/0.3146, allocations: 274.8 kB / 0.6333 GB, free: 12.7 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005117/0.3151, allocations: 0.6213 MB / 0.6339 GB, free: 12.07 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001392/0.3165, allocations: 1.508 MB / 0.6354 GB, free: 10.57 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.925e-06/0.3165, allocations: 0 / 0.6354 GB, free: 10.57 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.303e-06/0.3165, allocations: 0 / 0.6354 GB, free: 10.57 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.545e-05/0.3165, allocations: 0 / 0.6354 GB, free: 10.57 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: 194 * Number of variables: 194 Notification: Performance of Generate backend data structure: time 0.007932/0.3245, allocations: 2.54 MB / 0.6379 GB, free: 7.965 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.674e-05/0.3245, allocations: 8.031 kB / 0.6379 GB, free: 7.957 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005/0.3295, allocations: 0.7749 MB / 0.6387 GB, free: 7.18 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001279/0.3308, allocations: 0.7683 MB / 0.6394 GB, free: 6.355 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00033/0.3312, allocations: 260.2 kB / 0.6397 GB, free: 6.066 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001679/0.3314, allocations: 76 kB / 0.6397 GB, free: 5.992 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002525/0.3339, allocations: 1.073 MB / 0.6408 GB, free: 4.914 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.128e-05/0.3339, allocations: 7.875 kB / 0.6408 GB, free: 4.906 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.761e-05/0.334, allocations: 39.98 kB / 0.6408 GB, free: 4.867 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.852e-05/0.3341, allocations: 20 kB / 0.6408 GB, free: 4.848 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002782/0.3368, allocations: 1.116 MB / 0.6419 GB, free: 3.727 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.006933/0.3438, allocations: 3.416 MB / 0.6453 GB, free: 160 kB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002212/0.346, allocations: 1.407 MB / 0.6466 GB, free: 14.64 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001659/0.3477, allocations: 0.7812 MB / 0.6474 GB, free: 13.85 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.797e-05/0.3478, allocations: 12.94 kB / 0.6474 GB, free: 13.84 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.354e-05/0.3478, allocations: 47.56 kB / 0.6475 GB, free: 13.78 MB / 462.1 MB Notification: Performance of pre-optimization done (n=96): time 3.306e-06/0.3479, allocations: 0 / 0.6475 GB, free: 13.78 MB / 462.1 MB Notification: Performance of matching and sorting (n=96): time 0.02789/0.3757, allocations: 6.754 MB / 0.6541 GB, free: 6.992 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.798e-05/0.3758, allocations: 60.41 kB / 0.6541 GB, free: 6.918 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00155/0.3774, allocations: 0.8799 MB / 0.655 GB, free: 6.02 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001824/0.3776, allocations: 45.7 kB / 0.655 GB, free: 5.969 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005007/0.3781, allocations: 0.4889 MB / 0.6555 GB, free: 5.473 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000449/0.3786, allocations: 335.1 kB / 0.6558 GB, free: 5.141 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005925/0.3792, allocations: 198.8 kB / 0.656 GB, free: 4.938 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001548/0.3793, allocations: 345.9 kB / 0.6563 GB, free: 4.594 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001785/0.3811, allocations: 0.717 MB / 0.657 GB, free: 3.879 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001839/0.383, allocations: 0.8345 MB / 0.6579 GB, free: 3.012 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01972/0.4027, allocations: 4.787 MB / 0.6625 GB, free: 14.19 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.311e-05/0.4028, allocations: 0 / 0.6625 GB, free: 14.19 MB / 478.1 MB Notification: Performance of matching and sorting (n=143) (initialization): time 0.01555/0.4183, allocations: 4.265 MB / 0.6667 GB, free: 9.906 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.39e-05/0.4184, allocations: 4 kB / 0.6667 GB, free: 9.902 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.508e-05/0.4184, allocations: 4 kB / 0.6667 GB, free: 9.898 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006751/0.4252, allocations: 1.858 MB / 0.6685 GB, free: 8.035 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001209/0.4264, allocations: 211.7 kB / 0.6687 GB, free: 7.828 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02414/0.4506, allocations: 9.082 MB / 0.6776 GB, free: 14.59 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001853/0.4525, allocations: 170.9 kB / 0.6777 GB, free: 14.43 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002593/0.4527, allocations: 39.98 kB / 0.6778 GB, free: 14.39 MB / 494.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.0007338/0.4535, allocations: 245.6 kB / 0.678 GB, free: 14.14 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000334/0.4538, allocations: 118.5 kB / 0.6781 GB, free: 14.02 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01434/0.4682, allocations: 4.002 MB / 0.682 GB, free: 10 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.251e-05/0.4682, allocations: 12 kB / 0.6821 GB, free: 9.992 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.53e-06/0.4682, allocations: 3.938 kB / 0.6821 GB, free: 9.988 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.274e-05/0.4682, allocations: 3.984 kB / 0.6821 GB, free: 9.984 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01657/0.4848, allocations: 5.621 MB / 0.6875 GB, free: 4.227 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-05/0.4849, allocations: 0 / 0.6875 GB, free: 4.227 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008035/0.4857, allocations: 123.9 kB / 0.6877 GB, free: 4.105 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006392/0.4921, allocations: 1.745 MB / 0.6894 GB, free: 2.355 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001512/0.4923, allocations: 19.98 kB / 0.6894 GB, free: 2.336 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02114/0.5134, allocations: 8.061 MB / 0.6973 GB, free: 10.13 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.314e-06/0.5135, allocations: 11.94 kB / 0.6973 GB, free: 10.12 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01819/0.5317, allocations: 4.964 MB / 0.7021 GB, free: 5.133 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007157/0.5325, allocations: 199.4 kB / 0.7023 GB, free: 4.918 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000528/0.533, allocations: 19.98 kB / 0.7023 GB, free: 4.898 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001491/0.5345, allocations: 111.9 kB / 0.7024 GB, free: 4.789 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001007/0.5356, allocations: 216.7 kB / 0.7026 GB, free: 4.574 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001294/0.5357, allocations: 27.94 kB / 0.7027 GB, free: 4.547 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0009204/0.5366, allocations: 0.5887 MB / 0.7032 GB, free: 3.949 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.51e-07/0.5366, allocations: 0 / 0.7032 GB, free: 3.949 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001552/0.5382, allocations: 435.5 kB / 0.7037 GB, free: 3.523 MB / 0.4981 GB 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.0003727/0.5386, allocations: 139.1 kB / 0.7038 GB, free: 3.375 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.007809/0.5464, allocations: 2.468 MB / 0.7062 GB, free: 0.8867 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.967e-06/0.5465, allocations: 0 / 0.7062 GB, free: 0.8867 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.005169/0.5516, allocations: 1.597 MB / 0.7078 GB, free: 15.28 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009824/0.5527, allocations: 87.34 kB / 0.7078 GB, free: 15.2 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004383/0.557, allocations: 1.929 MB / 0.7097 GB, free: 13.23 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008064/0.5579, allocations: 1.088 MB / 0.7108 GB, free: 12.12 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0004455/0.5583, allocations: 82.69 kB / 0.7109 GB, free: 12.04 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002661/0.5586, allocations: 67.42 kB / 0.7109 GB, free: 11.97 MB / 0.5137 GB Notification: Performance of SimCode: time 8.72e-07/0.5586, allocations: 0 / 0.7109 GB, free: 11.97 MB / 0.5137 GB Notification: Performance of Templates: time 0.04371/0.6023, allocations: 23.59 MB / 0.734 GB, free: 4.395 MB / 0.5294 GB 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)