Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order4test2_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.1.0-master/package.mo", uses=false) Using package OpenIPSL with version 3.1.0-dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/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.Order4test2_perturbation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation") translateModel(OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00089/0.00089, allocations: 90.67 kB / 15.36 MB, free: 0.7383 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.405/1.405, allocations: 223.3 MB / 239.4 MB, free: 5.539 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.001058/0.001058, allocations: 180.5 kB / 290.6 MB, free: 2.203 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5595/0.5595, allocations: 91.92 MB / 433.6 MB, free: 10.3 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003835/0.0003835, allocations: 12 kB / 0.5048 GB, free: 7.297 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3955/0.396, allocations: 72.46 MB / 0.5755 GB, free: 36.77 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation): time 0.00485/0.4008, allocations: 6.375 MB / 0.5817 GB, free: 32.53 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003542/0.4044, allocations: 1.932 MB / 0.5836 GB, free: 31.16 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006944/0.4051, allocations: 18.97 kB / 0.5837 GB, free: 31.15 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004685/0.4056, allocations: 163.8 kB / 0.5838 GB, free: 31.09 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00151/0.4071, allocations: 0.6323 MB / 0.5844 GB, free: 30.67 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001183/0.4083, allocations: 0.5811 MB / 0.585 GB, free: 30.36 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001179/0.4095, allocations: 1.353 MB / 0.5863 GB, free: 29.7 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003985/0.4099, allocations: 290.1 kB / 0.5866 GB, free: 29.57 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005983/0.4105, allocations: 0.516 MB / 0.5871 GB, free: 29.34 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005678/0.4111, allocations: 0.6659 MB / 0.5877 GB, free: 29.02 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001042/0.4112, allocations: 52.31 kB / 0.5878 GB, free: 29.02 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004019/0.4116, allocations: 178.9 kB / 0.588 GB, free: 28.98 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001534/0.4118, allocations: 229.5 kB / 0.5882 GB, free: 28.84 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003761/0.4122, allocations: 0.5979 MB / 0.5888 GB, free: 28.44 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001081/0.4133, allocations: 1.423 MB / 0.5902 GB, free: 27.88 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.4133, allocations: 0 / 0.5902 GB, free: 27.88 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.4133, allocations: 0 / 0.5902 GB, free: 27.88 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.448e-05/0.4133, allocations: 1.219 kB / 0.5902 GB, free: 27.88 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: 196 * Number of variables: 196 Notification: Performance of Generate backend data structure: time 0.007472/0.4208, allocations: 2.393 MB / 0.5925 GB, free: 26.84 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.648e-05/0.4208, allocations: 9.812 kB / 0.5925 GB, free: 26.84 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005119/0.426, allocations: 0.7792 MB / 0.5933 GB, free: 26.69 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00137/0.4273, allocations: 0.7686 MB / 0.594 GB, free: 26.13 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002875/0.4276, allocations: 269.8 kB / 0.5943 GB, free: 25.91 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001683/0.4278, allocations: 80.94 kB / 0.5944 GB, free: 25.88 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002521/0.4304, allocations: 1.167 MB / 0.5955 GB, free: 25.49 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.897e-05/0.4304, allocations: 9 kB / 0.5955 GB, free: 25.48 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.285e-05/0.4305, allocations: 30.19 kB / 0.5955 GB, free: 25.46 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.211e-05/0.4305, allocations: 23.12 kB / 0.5956 GB, free: 25.45 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002639/0.4332, allocations: 1.243 MB / 0.5968 GB, free: 25.1 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.006062/0.4392, allocations: 3.556 MB / 0.6002 GB, free: 23.12 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002234/0.4415, allocations: 1.523 MB / 0.6017 GB, free: 22.17 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001871/0.4434, allocations: 0.877 MB / 0.6026 GB, free: 21.86 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000101/0.4435, allocations: 15.48 kB / 0.6026 GB, free: 21.86 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.843e-05/0.4435, allocations: 53.17 kB / 0.6026 GB, free: 21.8 MB / 430.1 MB Notification: Performance of pre-optimization done (n=98): time 3.656e-06/0.4435, allocations: 7.922 kB / 0.6027 GB, free: 21.79 MB / 430.1 MB Notification: Performance of matching and sorting (n=98): time 0.03/0.4735, allocations: 8.529 MB / 0.611 GB, free: 20.34 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.948e-05/0.4736, allocations: 62.62 kB / 0.611 GB, free: 20.27 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001346/0.475, allocations: 0.8917 MB / 0.6119 GB, free: 19.89 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002449/0.4752, allocations: 45.11 kB / 0.612 GB, free: 19.85 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003253/0.4756, allocations: 0.4891 MB / 0.6124 GB, free: 19.45 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000344/0.4759, allocations: 349.4 kB / 0.6128 GB, free: 19.18 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001637/0.4761, allocations: 104.5 kB / 0.6129 GB, free: 19.12 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 8.878e-05/0.4762, allocations: 354.6 kB / 0.6132 GB, free: 18.8 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001816/0.478, allocations: 0.8223 MB / 0.614 GB, free: 18.53 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001854/0.4799, allocations: 0.953 MB / 0.6149 GB, free: 18.16 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02003/0.4999, allocations: 5.413 MB / 0.6202 GB, free: 15.5 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.007e-06/0.5, allocations: 0 / 0.6202 GB, free: 15.5 MB / 430.1 MB Notification: Performance of matching and sorting (n=151) (initialization): time 0.01377/0.5137, allocations: 5.222 MB / 0.6253 GB, free: 10.27 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.216e-05/0.5138, allocations: 4 kB / 0.6253 GB, free: 10.26 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.478e-05/0.5138, allocations: 4 kB / 0.6253 GB, free: 10.26 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005949/0.5198, allocations: 2.042 MB / 0.6273 GB, free: 8.211 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00116/0.521, allocations: 243.7 kB / 0.6276 GB, free: 7.973 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01934/0.5403, allocations: 9.321 MB / 0.6367 GB, free: 14.52 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001811/0.5422, allocations: 230.8 kB / 0.6369 GB, free: 14.29 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001114/0.5423, allocations: 43.98 kB / 0.6369 GB, free: 14.25 MB / 446.1 MB Warning: Assuming fixed start value for the following 1 variables: Generator.e1q:VARIABLE(start = Generator.e1q0 unit = "1" fixed = true ) "q-axis transient voltage" 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 (117): * Single equations (assignments): 116 * 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 {(24,11)} Notification: Performance of prepare postOptimizeDAE: time 0.0005233/0.5428, allocations: 237 kB / 0.6372 GB, free: 14.01 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002179/0.5431, allocations: 118.5 kB / 0.6373 GB, free: 13.89 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01519/0.5583, allocations: 4.959 MB / 0.6421 GB, free: 8.914 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.706e-05/0.5583, allocations: 15.94 kB / 0.6421 GB, free: 8.898 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.5583, allocations: 4 kB / 0.6421 GB, free: 8.895 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.571e-05/0.5584, allocations: 3.984 kB / 0.6421 GB, free: 8.891 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01769/0.576, allocations: 6.571 MB / 0.6485 GB, free: 2.18 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.625e-05/0.5761, allocations: 3.938 kB / 0.6486 GB, free: 2.176 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008234/0.5769, allocations: 147.8 kB / 0.6487 GB, free: 2.031 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006464/0.5834, allocations: 2.05 MB / 0.6507 GB, free: 15.98 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001804/0.5836, allocations: 16 kB / 0.6507 GB, free: 15.96 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01953/0.6031, allocations: 8.211 MB / 0.6587 GB, free: 7.609 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.424e-06/0.6032, allocations: 0 / 0.6587 GB, free: 7.609 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01772/0.6209, allocations: 6.005 MB / 0.6646 GB, free: 1.582 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004606/0.6214, allocations: 207.4 kB / 0.6648 GB, free: 1.359 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000181/0.6216, allocations: 20 kB / 0.6648 GB, free: 1.34 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001152/0.6227, allocations: 159.8 kB / 0.665 GB, free: 1.184 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007453/0.6235, allocations: 212.6 kB / 0.6652 GB, free: 0.9727 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.267e-05/0.6236, allocations: 27.92 kB / 0.6652 GB, free: 0.9453 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0007994/0.6244, allocations: 0.6008 MB / 0.6658 GB, free: 344 kB / 462.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.6244, allocations: 0 / 0.6658 GB, free: 344 kB / 462.1 MB Notification: Performance of remove unused functions: time 0.001453/0.6259, allocations: 435.6 kB / 0.6662 GB, free: 15.91 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (Generator.delta,Generator.w,Generator.e1q,Generator.e1d) * 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 (65): * Single equations (assignments): 64 * 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.0003077/0.6262, allocations: 131.1 kB / 0.6663 GB, free: 15.77 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.007648/0.6338, allocations: 2.767 MB / 0.669 GB, free: 12.99 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 3.937e-06/0.6339, allocations: 0 / 0.669 GB, free: 12.99 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005378/0.6393, allocations: 1.814 MB / 0.6708 GB, free: 11.16 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009909/0.6403, allocations: 84.42 kB / 0.6709 GB, free: 11.08 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00374/0.644, allocations: 2.544 MB / 0.6734 GB, free: 8.508 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005869/0.6446, allocations: 1.099 MB / 0.6744 GB, free: 7.383 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0003776/0.645, allocations: 86.78 kB / 0.6745 GB, free: 7.293 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000237/0.6453, allocations: 63.42 kB / 0.6746 GB, free: 7.23 MB / 478.1 MB Notification: Performance of SimCode: time 7.62e-07/0.6453, allocations: 3.938 kB / 0.6746 GB, free: 7.227 MB / 478.1 MB Notification: Performance of Templates: time 0.03516/0.6804, allocations: 20.44 MB / 0.6945 GB, free: 2.797 MB / 494.1 MB make -j1 -f OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation.makefile (rm -f OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation.sim & ./OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation.pipe 2>&1)