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.001707/0.001707, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.459/1.459, allocations: 222.9 MB / 239.2 MB, free: 4.574 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.001351/0.001351, allocations: 192.5 kB / 289.5 MB, free: 2.305 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5113/0.5113, allocations: 91.9 MB / 431.6 MB, free: 9.227 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001595/0.001595, allocations: 75.88 kB / 0.5019 GB, free: 7.711 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3839/0.3855, allocations: 71.27 MB / 0.5715 GB, free: 36.68 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation): time 0.006977/0.3925, allocations: 6.494 MB / 0.5778 GB, free: 32.93 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.004001/0.3966, allocations: 1.902 MB / 0.5797 GB, free: 31.64 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001129/0.3977, allocations: 11.22 kB / 0.5797 GB, free: 31.64 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007051/0.3984, allocations: 227.2 kB / 0.5799 GB, free: 31.52 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00198/0.4005, allocations: 0.7225 MB / 0.5806 GB, free: 31.04 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001352/0.4019, allocations: 0.6252 MB / 0.5812 GB, free: 30.72 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001574/0.4035, allocations: 1.412 MB / 0.5826 GB, free: 30.02 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004885/0.404, allocations: 331.2 kB / 0.5829 GB, free: 29.88 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006641/0.4047, allocations: 0.5901 MB / 0.5835 GB, free: 29.58 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006153/0.4053, allocations: 0.7295 MB / 0.5842 GB, free: 29.22 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001363/0.4054, allocations: 101.8 kB / 0.5843 GB, free: 29.22 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005025/0.4059, allocations: 237.4 kB / 0.5845 GB, free: 29.18 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001766/0.4061, allocations: 282 kB / 0.5848 GB, free: 28.99 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003914/0.4065, allocations: 0.6255 MB / 0.5854 GB, free: 28.57 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001305/0.4078, allocations: 1.5 MB / 0.5869 GB, free: 27.87 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.58e-06/0.4079, allocations: 4 kB / 0.5869 GB, free: 27.87 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.154e-06/0.4079, allocations: 0 / 0.5869 GB, free: 27.87 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.316e-05/0.4079, allocations: 0 / 0.5869 GB, free: 27.87 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.007842/0.4157, allocations: 2.554 MB / 0.5894 GB, free: 26.69 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.794e-05/0.4158, allocations: 9.375 kB / 0.5894 GB, free: 26.69 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004909/0.4207, allocations: 0.7863 MB / 0.5901 GB, free: 26.52 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0012/0.4219, allocations: 0.7704 MB / 0.5909 GB, free: 25.96 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002718/0.4222, allocations: 264.9 kB / 0.5911 GB, free: 25.74 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001538/0.4224, allocations: 76.19 kB / 0.5912 GB, free: 25.71 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002271/0.4247, allocations: 1.078 MB / 0.5923 GB, free: 25.33 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.896e-05/0.4247, allocations: 5.125 kB / 0.5923 GB, free: 25.32 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.756e-05/0.4248, allocations: 34.78 kB / 0.5923 GB, free: 25.3 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.352e-05/0.4248, allocations: 17.94 kB / 0.5923 GB, free: 25.3 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002432/0.4273, allocations: 1.123 MB / 0.5934 GB, free: 24.96 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.005735/0.433, allocations: 3.508 MB / 0.5968 GB, free: 22.97 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002067/0.4351, allocations: 1.422 MB / 0.5982 GB, free: 22.03 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001665/0.4368, allocations: 0.7861 MB / 0.599 GB, free: 21.74 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.498e-05/0.4369, allocations: 14.23 kB / 0.599 GB, free: 21.73 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.482e-05/0.4369, allocations: 43.34 kB / 0.599 GB, free: 21.68 MB / 430.1 MB Notification: Performance of pre-optimization done (n=98): time 3.016e-06/0.4369, allocations: 1.125 kB / 0.599 GB, free: 21.68 MB / 430.1 MB Notification: Performance of matching and sorting (n=98): time 0.02771/0.4646, allocations: 6.873 MB / 0.6058 GB, free: 20.42 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.643e-05/0.4647, allocations: 61.59 kB / 0.6058 GB, free: 20.36 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001354/0.4661, allocations: 0.8933 MB / 0.6067 GB, free: 19.98 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002207/0.4663, allocations: 49.3 kB / 0.6067 GB, free: 19.93 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003051/0.4666, allocations: 0.4893 MB / 0.6072 GB, free: 19.54 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003078/0.4669, allocations: 348.2 kB / 0.6075 GB, free: 19.26 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003871/0.4673, allocations: 203.4 kB / 0.6077 GB, free: 19.16 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 8.67e-05/0.4674, allocations: 351.1 kB / 0.6081 GB, free: 18.84 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001678/0.4691, allocations: 0.7265 MB / 0.6088 GB, free: 18.59 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001758/0.4709, allocations: 0.8609 MB / 0.6096 GB, free: 18.22 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01911/0.49, allocations: 4.866 MB / 0.6144 GB, free: 16.66 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.464e-06/0.49, allocations: 1.312 kB / 0.6144 GB, free: 16.66 MB / 430.1 MB Notification: Performance of matching and sorting (n=151) (initialization): time 0.01317/0.5032, allocations: 4.28 MB / 0.6186 GB, free: 13.89 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.965e-05/0.5033, allocations: 11.98 kB / 0.6186 GB, free: 13.88 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.227e-05/0.5033, allocations: 0 / 0.6186 GB, free: 13.88 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005662/0.509, allocations: 1.722 MB / 0.6203 GB, free: 12.15 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00114/0.5102, allocations: 227.7 kB / 0.6205 GB, free: 11.93 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01818/0.5283, allocations: 9.072 MB / 0.6293 GB, free: 2.719 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001603/0.53, allocations: 174.9 kB / 0.6295 GB, free: 2.547 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.596e-05/0.5301, allocations: 47.92 kB / 0.6295 GB, free: 2.5 MB / 430.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.0004233/0.5305, allocations: 253.6 kB / 0.6298 GB, free: 2.242 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001829/0.5307, allocations: 122.4 kB / 0.6299 GB, free: 2.121 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01273/0.5434, allocations: 4.002 MB / 0.6338 GB, free: 14.1 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.571e-05/0.5435, allocations: 16 kB / 0.6338 GB, free: 14.08 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.406e-06/0.5435, allocations: 0 / 0.6338 GB, free: 14.08 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.91e-05/0.5435, allocations: 3.984 kB / 0.6338 GB, free: 14.08 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01542/0.5589, allocations: 5.633 MB / 0.6393 GB, free: 8.305 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-05/0.559, allocations: 3.984 kB / 0.6393 GB, free: 8.301 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007507/0.5598, allocations: 127.9 kB / 0.6395 GB, free: 8.176 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006087/0.5659, allocations: 1.741 MB / 0.6412 GB, free: 6.43 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001731/0.566, allocations: 23.98 kB / 0.6412 GB, free: 6.406 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01989/0.5859, allocations: 8.061 MB / 0.6491 GB, free: 14.2 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.953e-06/0.586, allocations: 0 / 0.6491 GB, free: 14.2 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01641/0.6024, allocations: 4.962 MB / 0.6539 GB, free: 9.215 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004116/0.6028, allocations: 203.4 kB / 0.6541 GB, free: 8.996 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001871/0.603, allocations: 20 kB / 0.6541 GB, free: 8.977 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001065/0.6041, allocations: 107.9 kB / 0.6542 GB, free: 8.871 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006499/0.6048, allocations: 212.7 kB / 0.6544 GB, free: 8.66 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.103e-05/0.6049, allocations: 35.98 kB / 0.6545 GB, free: 8.625 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0007129/0.6056, allocations: 0.5891 MB / 0.655 GB, free: 8.027 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.6056, allocations: 0 / 0.655 GB, free: 8.027 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001127/0.6067, allocations: 447.4 kB / 0.6555 GB, free: 7.59 MB / 462.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.0002433/0.607, allocations: 131.1 kB / 0.6556 GB, free: 7.449 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.007242/0.6142, allocations: 2.506 MB / 0.658 GB, free: 4.938 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.367e-06/0.6142, allocations: 0 / 0.658 GB, free: 4.938 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005099/0.6194, allocations: 1.609 MB / 0.6596 GB, free: 3.316 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008641/0.6202, allocations: 92.36 kB / 0.6597 GB, free: 3.227 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003774/0.624, allocations: 2.075 MB / 0.6617 GB, free: 1.125 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006336/0.6247, allocations: 1.099 MB / 0.6628 GB, free: 0 / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0003899/0.6251, allocations: 86.77 kB / 0.6629 GB, free: 15.91 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002254/0.6253, allocations: 75.41 kB / 0.6629 GB, free: 15.84 MB / 478.1 MB Notification: Performance of SimCode: time 6.01e-07/0.6253, allocations: 0 / 0.6629 GB, free: 15.84 MB / 478.1 MB Notification: Performance of Templates: time 0.03862/0.6639, allocations: 23.41 MB / 0.6858 GB, free: 8.441 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)