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.005333/0.005333, allocations: 100 kB / 15.73 MB, free: 6.055 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.403/1.403, allocations: 222.9 MB / 239.4 MB, free: 4.535 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.001424/0.001424, allocations: 192.4 kB / 289.7 MB, free: 2.25 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4786/0.4786, allocations: 78.53 MB / 418.4 MB, free: 3.133 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00144/0.00144, allocations: 79.88 kB / 0.5536 GB, free: 0.9102 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3402/0.3417, allocations: 68.16 MB / 0.6202 GB, free: 9.758 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation): time 0.005187/0.3469, allocations: 6.443 MB / 0.6265 GB, free: 3.738 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002979/0.3499, allocations: 1.857 MB / 0.6283 GB, free: 1.879 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005662/0.3505, allocations: 15.94 kB / 0.6283 GB, free: 1.863 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004386/0.351, allocations: 225.9 kB / 0.6285 GB, free: 1.641 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001386/0.3524, allocations: 0.715 MB / 0.6292 GB, free: 0.9258 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001055/0.3535, allocations: 0.6044 MB / 0.6298 GB, free: 336 kB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001358/0.3548, allocations: 1.417 MB / 0.6312 GB, free: 14.91 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004605/0.3553, allocations: 332.3 kB / 0.6315 GB, free: 14.57 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006798/0.356, allocations: 0.5912 MB / 0.6321 GB, free: 13.98 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007721/0.3568, allocations: 0.7349 MB / 0.6328 GB, free: 13.24 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001524/0.3569, allocations: 100 kB / 0.6329 GB, free: 13.14 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004387/0.3574, allocations: 247.8 kB / 0.6332 GB, free: 12.9 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002051/0.3576, allocations: 278.8 kB / 0.6334 GB, free: 12.62 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004964/0.3581, allocations: 0.6251 MB / 0.634 GB, free: 12 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001532/0.3596, allocations: 1.526 MB / 0.6355 GB, free: 10.47 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.999e-06/0.3597, allocations: 0 / 0.6355 GB, free: 10.47 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.283e-06/0.3597, allocations: 3.938 kB / 0.6355 GB, free: 10.47 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.969e-05/0.3597, allocations: 0 / 0.6355 GB, free: 10.47 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.007828/0.3675, allocations: 2.605 MB / 0.6381 GB, free: 7.801 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.477e-05/0.3676, allocations: 12.02 kB / 0.6381 GB, free: 7.789 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005028/0.3726, allocations: 0.7835 MB / 0.6388 GB, free: 7.004 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00136/0.374, allocations: 0.7928 MB / 0.6396 GB, free: 6.156 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002885/0.3743, allocations: 252.2 kB / 0.6399 GB, free: 5.875 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001719/0.3745, allocations: 83.98 kB / 0.6399 GB, free: 5.793 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002245/0.3767, allocations: 1.073 MB / 0.641 GB, free: 4.715 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.91e-05/0.3768, allocations: 3.938 kB / 0.641 GB, free: 4.711 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.935e-05/0.3769, allocations: 35.94 kB / 0.641 GB, free: 4.676 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.666e-05/0.3769, allocations: 20 kB / 0.641 GB, free: 4.656 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002423/0.3793, allocations: 1.12 MB / 0.6421 GB, free: 3.531 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.005772/0.3851, allocations: 3.445 MB / 0.6455 GB, free: 15.93 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002062/0.3872, allocations: 1.415 MB / 0.6469 GB, free: 14.41 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001552/0.3888, allocations: 0.789 MB / 0.6477 GB, free: 13.61 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001/0.3889, allocations: 20.98 kB / 0.6477 GB, free: 13.59 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.439e-05/0.3889, allocations: 39.56 kB / 0.6477 GB, free: 13.54 MB / 462.1 MB Notification: Performance of pre-optimization done (n=97): time 2.325e-06/0.3889, allocations: 0 / 0.6477 GB, free: 13.54 MB / 462.1 MB Notification: Performance of matching and sorting (n=97): time 0.02545/0.4144, allocations: 6.61 MB / 0.6542 GB, free: 6.898 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.01e-05/0.4145, allocations: 64.41 kB / 0.6542 GB, free: 6.82 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001187/0.4156, allocations: 0.9041 MB / 0.6551 GB, free: 5.898 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002043/0.4159, allocations: 41.7 kB / 0.6552 GB, free: 5.852 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003647/0.4162, allocations: 0.4936 MB / 0.6556 GB, free: 5.352 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003644/0.4166, allocations: 356.9 kB / 0.656 GB, free: 5 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003894/0.417, allocations: 206.8 kB / 0.6562 GB, free: 4.789 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001206/0.4171, allocations: 345.9 kB / 0.6565 GB, free: 4.445 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001629/0.4188, allocations: 0.7287 MB / 0.6572 GB, free: 3.719 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001758/0.4205, allocations: 0.8501 MB / 0.658 GB, free: 2.836 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01928/0.4398, allocations: 4.834 MB / 0.6628 GB, free: 13.97 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.267e-05/0.4399, allocations: 4 kB / 0.6628 GB, free: 13.96 MB / 478.1 MB Notification: Performance of matching and sorting (n=147) (initialization): time 0.01409/0.454, allocations: 4.274 MB / 0.6669 GB, free: 9.676 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.315e-05/0.4541, allocations: 4 kB / 0.6669 GB, free: 9.672 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.764e-05/0.4541, allocations: 7.938 kB / 0.667 GB, free: 9.664 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006684/0.4608, allocations: 1.807 MB / 0.6687 GB, free: 7.852 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001199/0.462, allocations: 219.7 kB / 0.6689 GB, free: 7.637 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02265/0.4847, allocations: 9.322 MB / 0.678 GB, free: 14.16 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001567/0.4863, allocations: 187.2 kB / 0.6782 GB, free: 13.98 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001984/0.4865, allocations: 39.98 kB / 0.6782 GB, free: 13.94 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.0005833/0.4871, allocations: 244 kB / 0.6785 GB, free: 13.7 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002836/0.4874, allocations: 123.2 kB / 0.6786 GB, free: 13.57 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01291/0.5003, allocations: 4.022 MB / 0.6825 GB, free: 9.539 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.193e-05/0.5004, allocations: 12 kB / 0.6825 GB, free: 9.527 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.791e-06/0.5004, allocations: 0 / 0.6825 GB, free: 9.527 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.811e-05/0.5004, allocations: 3.984 kB / 0.6825 GB, free: 9.523 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01544/0.5159, allocations: 5.614 MB / 0.688 GB, free: 3.773 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.361e-05/0.5159, allocations: 4 kB / 0.688 GB, free: 3.77 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008079/0.5168, allocations: 135.8 kB / 0.6882 GB, free: 3.637 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005844/0.5226, allocations: 1.745 MB / 0.6899 GB, free: 1.887 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001763/0.5228, allocations: 20 kB / 0.6899 GB, free: 1.867 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01862/0.5414, allocations: 8.073 MB / 0.6978 GB, free: 9.648 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/0.5415, allocations: 3.938 kB / 0.6978 GB, free: 9.645 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01568/0.5572, allocations: 4.972 MB / 0.7026 GB, free: 4.652 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005681/0.5578, allocations: 212.2 kB / 0.7028 GB, free: 4.426 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004472/0.5583, allocations: 19.94 kB / 0.7028 GB, free: 4.406 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001395/0.5597, allocations: 119.7 kB / 0.703 GB, free: 4.289 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000912/0.5606, allocations: 216.7 kB / 0.7032 GB, free: 4.074 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001594/0.5608, allocations: 23.98 kB / 0.7032 GB, free: 4.051 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0009982/0.5618, allocations: 0.6047 MB / 0.7038 GB, free: 3.438 MB / 0.4981 GB Notification: Performance of sort global known variables: time 3.11e-07/0.5618, allocations: 0 / 0.7038 GB, free: 3.438 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001761/0.5636, allocations: 447.5 kB / 0.7042 GB, free: 3 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.0003376/0.5639, allocations: 119.2 kB / 0.7043 GB, free: 2.871 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.007108/0.571, allocations: 2.508 MB / 0.7068 GB, free: 352 kB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 5.15e-06/0.5711, allocations: 3.938 kB / 0.7068 GB, free: 348 kB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.005195/0.5763, allocations: 1.6 MB / 0.7083 GB, free: 14.73 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001232/0.5776, allocations: 88.42 kB / 0.7084 GB, free: 14.64 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004814/0.5824, allocations: 2.031 MB / 0.7104 GB, free: 12.57 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008549/0.5833, allocations: 1.099 MB / 0.7115 GB, free: 11.45 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0004675/0.5838, allocations: 86.77 kB / 0.7116 GB, free: 11.36 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002952/0.5841, allocations: 67.42 kB / 0.7116 GB, free: 11.29 MB / 0.5137 GB Notification: Performance of SimCode: time 1.212e-06/0.5841, allocations: 3.938 kB / 0.7116 GB, free: 11.29 MB / 0.5137 GB Notification: Performance of Templates: time 0.0452/0.6293, allocations: 23.92 MB / 0.735 GB, free: 3.375 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)