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/Complex 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/ModelicaServices 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 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/Complex 4.0.0+maint.om/package.mo): time 0.00158/0.00158, allocations: 182.1 kB / 15.98 MB, free: 5.77 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.246/1.246, allocations: 222.9 MB / 239.7 MB, free: 10.99 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009363/0.0009364, allocations: 117.9 kB / 289.9 MB, free: 10.93 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.477/0.477, allocations: 78.52 MB / 418.5 MB, free: 8.516 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001147/0.001147, allocations: 63.91 kB / 497.5 MB, free: 10.28 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2685/0.2696, allocations: 68.15 MB / 0.5524 GB, free: 19.88 MB / 378.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order4test2): time 0.00453/0.2742, allocations: 6.144 MB / 0.5584 GB, free: 13.7 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.002229/0.2764, allocations: 1.786 MB / 0.5601 GB, free: 11.91 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003159/0.2768, allocations: 15.94 kB / 0.5602 GB, free: 11.9 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003449/0.2771, allocations: 155 kB / 0.5603 GB, free: 11.75 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001076/0.2782, allocations: 0.6217 MB / 0.5609 GB, free: 11.13 MB / 378.7 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.0008279/0.2791, allocations: 0.5242 MB / 0.5614 GB, free: 10.61 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007023/0.2798, allocations: 1.21 MB / 0.5626 GB, free: 9.398 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002652/0.28, allocations: 247.6 kB / 0.5628 GB, free: 9.145 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003409/0.2804, allocations: 497.7 kB / 0.5633 GB, free: 8.656 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004086/0.2808, allocations: 0.6104 MB / 0.5639 GB, free: 8.043 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 8.606e-05/0.2809, allocations: 60 kB / 0.564 GB, free: 7.984 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002837/0.2812, allocations: 187.8 kB / 0.5642 GB, free: 7.801 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000123/0.2813, allocations: 214.9 kB / 0.5644 GB, free: 7.59 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000286/0.2816, allocations: 0.5163 MB / 0.5649 GB, free: 7.07 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007261/0.2823, allocations: 1.31 MB / 0.5661 GB, free: 5.758 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.538e-06/0.2824, allocations: 4 kB / 0.5661 GB, free: 5.754 MB / 378.7 MB Notification: Performance of FrontEnd: time 9.62e-07/0.2824, allocations: 4 kB / 0.5662 GB, free: 5.75 MB / 378.7 MB Notification: Performance of Transformations before backend: time 9.899e-06/0.2824, allocations: 0 / 0.5662 GB, free: 5.75 MB / 378.7 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.006395/0.2888, allocations: 2.341 MB / 0.5684 GB, free: 3.355 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.465e-05/0.2888, allocations: 12.03 kB / 0.5684 GB, free: 3.344 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004238/0.2931, allocations: 0.7594 MB / 0.5692 GB, free: 2.582 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007974/0.2939, allocations: 0.7011 MB / 0.5699 GB, free: 1.84 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002009/0.2941, allocations: 256.2 kB / 0.5701 GB, free: 1.551 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001135/0.2942, allocations: 67.91 kB / 0.5702 GB, free: 1.484 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001709/0.2959, allocations: 0.9599 MB / 0.5711 GB, free: 0.5195 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.995e-05/0.296, allocations: 3.938 kB / 0.5711 GB, free: 0.5156 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.596e-05/0.296, allocations: 24 kB / 0.5711 GB, free: 0.4922 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.928e-05/0.2961, allocations: 19.94 kB / 0.5712 GB, free: 484 kB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001984/0.2981, allocations: 0.9838 MB / 0.5721 GB, free: 15.48 MB / 394.7 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.004779/0.3028, allocations: 3.174 MB / 0.5752 GB, free: 12.16 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001963/0.3048, allocations: 1.31 MB / 0.5765 GB, free: 10.73 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001382/0.3062, allocations: 0.7109 MB / 0.5772 GB, free: 10.01 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.607e-05/0.3063, allocations: 9 kB / 0.5772 GB, free: 10 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.424e-05/0.3064, allocations: 39.56 kB / 0.5772 GB, free: 9.953 MB / 394.7 MB Notification: Performance of pre-optimization done (n=83): time 2.515e-06/0.3064, allocations: 0 / 0.5772 GB, free: 9.953 MB / 394.7 MB Notification: Performance of matching and sorting (n=83): time 0.02556/0.3319, allocations: 6.488 MB / 0.5836 GB, free: 3.434 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.694e-05/0.332, allocations: 60.41 kB / 0.5836 GB, free: 3.363 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009171/0.3329, allocations: 0.7945 MB / 0.5844 GB, free: 2.562 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001147/0.3331, allocations: 37.7 kB / 0.5845 GB, free: 2.52 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002716/0.3333, allocations: 436.4 kB / 0.5849 GB, free: 2.086 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002941/0.3336, allocations: 307.6 kB / 0.5852 GB, free: 1.781 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003429/0.334, allocations: 182.9 kB / 0.5853 GB, free: 1.598 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001053/0.3341, allocations: 349.9 kB / 0.5857 GB, free: 1.25 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001386/0.3355, allocations: 0.6585 MB / 0.5863 GB, free: 0.5898 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001456/0.337, allocations: 0.7874 MB / 0.5871 GB, free: 15.77 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01739/0.3544, allocations: 4.519 MB / 0.5915 GB, free: 11.21 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.585e-06/0.3544, allocations: 0 / 0.5915 GB, free: 11.21 MB / 410.7 MB Notification: Performance of matching and sorting (n=135) (initialization): time 0.01296/0.3674, allocations: 4.078 MB / 0.5955 GB, free: 7.121 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.903e-05/0.3674, allocations: 8 kB / 0.5955 GB, free: 7.113 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.249e-05/0.3675, allocations: 4 kB / 0.5955 GB, free: 7.109 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005927/0.3734, allocations: 1.733 MB / 0.5972 GB, free: 5.371 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009666/0.3744, allocations: 183.7 kB / 0.5974 GB, free: 5.191 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01983/0.3942, allocations: 8.334 MB / 0.6055 GB, free: 12.72 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001379/0.3956, allocations: 155 kB / 0.6056 GB, free: 12.57 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000162/0.3958, allocations: 39.98 kB / 0.6057 GB, free: 12.53 MB / 426.7 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.000432/0.3963, allocations: 222.5 kB / 0.6059 GB, free: 12.3 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002108/0.3965, allocations: 106.6 kB / 0.606 GB, free: 12.2 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01256/0.4091, allocations: 3.817 MB / 0.6097 GB, free: 8.363 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.427e-05/0.4091, allocations: 12 kB / 0.6097 GB, free: 8.352 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/0.4091, allocations: 0 / 0.6097 GB, free: 8.352 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.783e-05/0.4091, allocations: 3.984 kB / 0.6097 GB, free: 8.348 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01446/0.4236, allocations: 5.376 MB / 0.615 GB, free: 2.836 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.168e-05/0.4237, allocations: 0 / 0.615 GB, free: 2.836 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005677/0.4242, allocations: 91.83 kB / 0.6151 GB, free: 2.746 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005878/0.4301, allocations: 1.749 MB / 0.6168 GB, free: 0.9922 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001354/0.4303, allocations: 16 kB / 0.6168 GB, free: 0.9766 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01715/0.4475, allocations: 7.343 MB / 0.624 GB, free: 9.492 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.236e-06/0.4475, allocations: 8 kB / 0.624 GB, free: 9.484 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.08584/0.5333, allocations: 31.13 MB / 0.6544 GB, free: 10.02 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00021/0.5336, allocations: 191.7 kB / 0.6546 GB, free: 9.812 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001107/0.5337, allocations: 16 kB / 0.6546 GB, free: 9.797 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008887/0.5346, allocations: 91.89 kB / 0.6547 GB, free: 9.707 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005861/0.5352, allocations: 192.7 kB / 0.6548 GB, free: 9.516 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.506e-05/0.5353, allocations: 23.98 kB / 0.6549 GB, free: 9.492 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0005625/0.5358, allocations: 0.5303 MB / 0.6554 GB, free: 8.969 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5358, allocations: 0 / 0.6554 GB, free: 8.969 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.001333/0.5372, allocations: 0.562 MB / 0.6559 GB, free: 8.406 MB / 474.7 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.0002201/0.5374, allocations: 127.2 kB / 0.6561 GB, free: 8.27 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.006018/0.5434, allocations: 2.263 MB / 0.6583 GB, free: 6 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 3.987e-06/0.5435, allocations: 64 / 0.6583 GB, free: 6 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004442/0.5479, allocations: 1.474 MB / 0.6597 GB, free: 4.508 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006551/0.5486, allocations: 85.8 kB / 0.6598 GB, free: 4.426 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006621/0.5552, allocations: 3.395 MB / 0.6631 GB, free: 0.9844 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005351/0.5558, allocations: 1.071 MB / 0.6641 GB, free: 15.88 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0002937/0.5561, allocations: 82.3 kB / 0.6642 GB, free: 15.8 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001856/0.5563, allocations: 59.36 kB / 0.6643 GB, free: 15.74 MB / 490.7 MB Notification: Performance of SimCode: time 5.31e-07/0.5563, allocations: 0 / 0.6643 GB, free: 15.74 MB / 490.7 MB Notification: Performance of Templates: time 0.2297/0.786, allocations: 29.31 MB / 0.6929 GB, free: 112.1 MB / 490.7 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)