Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2.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.Order4test2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2") translateModel(OpenIPSL.Tests.Machines.PSAT.Order4test2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001513/0.001513, 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.377/1.377, allocations: 222.9 MB / 239.2 MB, free: 4.652 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.001336/0.001336, allocations: 196.4 kB / 289.6 MB, free: 2.359 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4644/0.4644, allocations: 78.52 MB / 418.2 MB, free: 3.262 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001417/0.001418, allocations: 87.88 kB / 497.4 MB, free: 6.453 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1351/0.1366, allocations: 68.18 MB / 0.5524 GB, free: 2.238 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order4test2): time 0.2452/0.3818, allocations: 5.798 MB / 0.558 GB, free: 36.41 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003088/0.385, allocations: 1.738 MB / 0.5597 GB, free: 35.89 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005109/0.3855, allocations: 8.562 kB / 0.5597 GB, free: 35.89 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004907/0.386, allocations: 201.2 kB / 0.5599 GB, free: 35.89 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001594/0.3877, allocations: 0.6875 MB / 0.5606 GB, free: 35.75 MB / 430.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/Electrical/Machines/PSAT/Order4.mo:25:3-30:9:writable] Warning: In relation Generator.xq <> Generator.x1q, <> on Real numbers is only allowed inside functions. Notification: Performance of NFTyping.typeClassSections: time 0.001148/0.3888, allocations: 0.562 MB / 0.5611 GB, free: 35.68 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.00122/0.3901, allocations: 1.241 MB / 0.5623 GB, free: 35.61 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000385/0.3905, allocations: 273.7 kB / 0.5626 GB, free: 35.56 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006072/0.3911, allocations: 0.5275 MB / 0.5631 GB, free: 35.43 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005518/0.3916, allocations: 0.6404 MB / 0.5637 GB, free: 35.26 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001168/0.3918, allocations: 87.75 kB / 0.5638 GB, free: 35.26 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004249/0.3922, allocations: 226.8 kB / 0.564 GB, free: 35.25 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001572/0.3924, allocations: 240.1 kB / 0.5643 GB, free: 35.18 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003527/0.3927, allocations: 0.5422 MB / 0.5648 GB, free: 34.98 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001276/0.394, allocations: 1.351 MB / 0.5661 GB, free: 34.64 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.05e-06/0.394, allocations: 1.656 kB / 0.5661 GB, free: 34.64 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.394, allocations: 0 / 0.5661 GB, free: 34.64 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.107e-05/0.3941, allocations: 0 / 0.5661 GB, free: 34.64 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: 168 * Number of variables: 168 Notification: Performance of Generate backend data structure: time 0.0074/0.4015, allocations: 2.345 MB / 0.5684 GB, free: 33.82 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.33e-05/0.4015, allocations: 11.03 kB / 0.5684 GB, free: 33.82 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004855/0.4064, allocations: 0.7656 MB / 0.5692 GB, free: 33.74 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001233/0.4076, allocations: 0.6985 MB / 0.5699 GB, free: 33.38 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002387/0.4079, allocations: 250.3 kB / 0.5701 GB, free: 33.19 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001365/0.408, allocations: 67.91 kB / 0.5702 GB, free: 33.18 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001824/0.4099, allocations: 0.9597 MB / 0.5711 GB, free: 33.13 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.856e-05/0.4099, allocations: 8.375 kB / 0.5711 GB, free: 33.12 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.393e-05/0.41, allocations: 30.06 kB / 0.5711 GB, free: 33.12 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.527e-05/0.41, allocations: 18.19 kB / 0.5712 GB, free: 33.12 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001954/0.412, allocations: 0.9776 MB / 0.5721 GB, free: 33.11 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.004999/0.417, allocations: 3.175 MB / 0.5752 GB, free: 32.15 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001764/0.4188, allocations: 1.309 MB / 0.5765 GB, free: 31.55 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001237/0.42, allocations: 0.7081 MB / 0.5772 GB, free: 31.41 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.287e-05/0.4201, allocations: 14.69 kB / 0.5772 GB, free: 31.41 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.761e-05/0.4201, allocations: 41.09 kB / 0.5772 GB, free: 31.36 MB / 430.1 MB Notification: Performance of pre-optimization done (n=83): time 2.244e-06/0.4202, allocations: 0 / 0.5772 GB, free: 31.36 MB / 430.1 MB Notification: Performance of matching and sorting (n=83): time 0.02471/0.4449, allocations: 6.478 MB / 0.5836 GB, free: 30.16 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.152e-05/0.445, allocations: 64.89 kB / 0.5836 GB, free: 30.09 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001126/0.4461, allocations: 0.7886 MB / 0.5844 GB, free: 29.76 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002252/0.4463, allocations: 40.98 kB / 0.5844 GB, free: 29.72 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002583/0.4466, allocations: 438.1 kB / 0.5848 GB, free: 29.37 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003153/0.4469, allocations: 308.2 kB / 0.5851 GB, free: 29.13 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003502/0.4473, allocations: 189.5 kB / 0.5853 GB, free: 29.04 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 7.744e-05/0.4474, allocations: 353.9 kB / 0.5857 GB, free: 28.71 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00144/0.4488, allocations: 0.6554 MB / 0.5863 GB, free: 28.47 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001539/0.4504, allocations: 0.7853 MB / 0.5871 GB, free: 28.12 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0198/0.4702, allocations: 4.53 MB / 0.5915 GB, free: 26.86 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.174e-05/0.4702, allocations: 1.406 kB / 0.5915 GB, free: 26.86 MB / 430.1 MB Notification: Performance of matching and sorting (n=135) (initialization): time 0.01509/0.4853, allocations: 4.073 MB / 0.5955 GB, free: 25.89 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.249e-05/0.4854, allocations: 7.422 kB / 0.5955 GB, free: 25.89 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.78e-05/0.4854, allocations: 2.375 kB / 0.5955 GB, free: 25.89 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006674/0.4921, allocations: 1.74 MB / 0.5972 GB, free: 25.58 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001085/0.4932, allocations: 187.8 kB / 0.5974 GB, free: 25.56 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02257/0.5158, allocations: 9.057 MB / 0.6062 GB, free: 21.25 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001721/0.5176, allocations: 151 kB / 0.6063 GB, free: 21.19 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002794/0.5179, allocations: 40.72 kB / 0.6064 GB, free: 21.18 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 (101): * Single equations (assignments): 100 * 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.0006473/0.5186, allocations: 228.3 kB / 0.6066 GB, free: 20.99 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003515/0.5189, allocations: 104.6 kB / 0.6067 GB, free: 20.93 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01266/0.5316, allocations: 3.813 MB / 0.6104 GB, free: 19.1 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.745e-05/0.5317, allocations: 20.55 kB / 0.6104 GB, free: 19.09 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.608e-06/0.5317, allocations: 0 / 0.6104 GB, free: 19.09 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.89e-05/0.5317, allocations: 3.984 kB / 0.6104 GB, free: 19.08 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01472/0.5464, allocations: 5.376 MB / 0.6157 GB, free: 13.86 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.718e-05/0.5465, allocations: 0 / 0.6157 GB, free: 13.86 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005828/0.5471, allocations: 95.88 kB / 0.6158 GB, free: 13.77 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005454/0.5526, allocations: 1.744 MB / 0.6175 GB, free: 12.02 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001987/0.5528, allocations: 21.69 kB / 0.6175 GB, free: 12 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0169/0.5697, allocations: 8.058 MB / 0.6254 GB, free: 3.805 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.015e-06/0.5698, allocations: 4 kB / 0.6254 GB, free: 3.801 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0139/0.5837, allocations: 4.739 MB / 0.63 GB, free: 15.04 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004542/0.5842, allocations: 187.6 kB / 0.6302 GB, free: 14.83 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003282/0.5845, allocations: 16 kB / 0.6302 GB, free: 14.82 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001051/0.5856, allocations: 92.52 kB / 0.6303 GB, free: 14.73 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006582/0.5863, allocations: 205.3 kB / 0.6305 GB, free: 14.53 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.531e-05/0.5863, allocations: 27.94 kB / 0.6305 GB, free: 14.5 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0006867/0.587, allocations: 0.5264 MB / 0.631 GB, free: 13.98 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.587, allocations: 0 / 0.631 GB, free: 13.98 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001447/0.5885, allocations: 411.5 kB / 0.6314 GB, free: 13.57 MB / 446.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 (50): * Single equations (assignments): 49 * 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.0003/0.5888, allocations: 127.2 kB / 0.6315 GB, free: 13.44 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.007171/0.596, allocations: 2.328 MB / 0.6338 GB, free: 11.11 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.268e-06/0.596, allocations: 0 / 0.6338 GB, free: 11.11 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004812/0.6008, allocations: 1.516 MB / 0.6353 GB, free: 9.582 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000857/0.6017, allocations: 78.03 kB / 0.6354 GB, free: 9.508 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004003/0.6058, allocations: 1.813 MB / 0.6371 GB, free: 7.695 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006982/0.6065, allocations: 1.029 MB / 0.6382 GB, free: 6.641 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0004059/0.6069, allocations: 81.64 kB / 0.6382 GB, free: 6.562 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000206/0.6071, allocations: 63.42 kB / 0.6383 GB, free: 6.5 MB / 446.1 MB Notification: Performance of SimCode: time 1.823e-06/0.6071, allocations: 0 / 0.6383 GB, free: 6.5 MB / 446.1 MB Notification: Performance of Templates: time 0.03665/0.6438, allocations: 22.2 MB / 0.66 GB, free: 0.5039 MB / 462.1 MB make -j1 -f OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2.makefile (rm -f OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2.sim & ./OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2.pipe 2>&1)