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.007369/0.007369, allocations: 100.5 kB / 15.73 MB, free: 6.035 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.325/1.325, allocations: 222.9 MB / 239.4 MB, free: 4.523 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.001364/0.001364, allocations: 192.4 kB / 289.7 MB, free: 2.242 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4497/0.4497, allocations: 78.53 MB / 418.4 MB, free: 3.148 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001506/0.001506, allocations: 83.81 kB / 0.5536 GB, free: 0.9883 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3225/0.324, allocations: 68.16 MB / 0.6202 GB, free: 9.715 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order4test2): time 0.004877/0.3289, allocations: 5.773 MB / 0.6258 GB, free: 4.445 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002859/0.3318, allocations: 1.747 MB / 0.6275 GB, free: 2.695 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004684/0.3323, allocations: 12 kB / 0.6275 GB, free: 2.684 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004189/0.3328, allocations: 206.2 kB / 0.6277 GB, free: 2.48 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001275/0.3341, allocations: 0.6918 MB / 0.6284 GB, free: 1.789 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.0009595/0.335, allocations: 0.5657 MB / 0.629 GB, free: 1.23 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009409/0.336, allocations: 1.253 MB / 0.6302 GB, free: 15.97 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003945/0.3364, allocations: 275 kB / 0.6305 GB, free: 15.69 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005739/0.337, allocations: 0.529 MB / 0.631 GB, free: 15.16 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006725/0.3377, allocations: 0.6456 MB / 0.6316 GB, free: 14.51 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001187/0.3378, allocations: 88 kB / 0.6317 GB, free: 14.43 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003991/0.3382, allocations: 227.8 kB / 0.6319 GB, free: 14.2 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001978/0.3384, allocations: 238.9 kB / 0.6321 GB, free: 13.97 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004455/0.3389, allocations: 0.5359 MB / 0.6327 GB, free: 13.43 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001281/0.3401, allocations: 1.372 MB / 0.634 GB, free: 12.06 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.3402, allocations: 0 / 0.634 GB, free: 12.06 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.763e-06/0.3402, allocations: 0 / 0.634 GB, free: 12.06 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.638e-05/0.3402, allocations: 0 / 0.634 GB, free: 12.06 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: 168 * Number of variables: 168 Notification: Performance of Generate backend data structure: time 0.00692/0.3471, allocations: 2.341 MB / 0.6363 GB, free: 9.664 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.316e-05/0.3472, allocations: 12.03 kB / 0.6363 GB, free: 9.652 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004765/0.3519, allocations: 0.7595 MB / 0.637 GB, free: 8.891 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001251/0.3532, allocations: 0.7089 MB / 0.6377 GB, free: 8.137 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002651/0.3535, allocations: 248.2 kB / 0.638 GB, free: 7.859 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001383/0.3536, allocations: 79.89 kB / 0.638 GB, free: 7.781 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001806/0.3554, allocations: 0.9482 MB / 0.639 GB, free: 6.828 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.891e-05/0.3555, allocations: 7.875 kB / 0.639 GB, free: 6.82 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.07e-05/0.3556, allocations: 28 kB / 0.639 GB, free: 6.793 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.592e-05/0.3556, allocations: 19.98 kB / 0.639 GB, free: 6.773 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001922/0.3575, allocations: 0.9799 MB / 0.64 GB, free: 5.789 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.00501/0.3625, allocations: 3.155 MB / 0.6431 GB, free: 2.484 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001989/0.3645, allocations: 1.308 MB / 0.6443 GB, free: 1.055 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001307/0.3659, allocations: 0.711 MB / 0.645 GB, free: 352 kB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001079/0.366, allocations: 16.98 kB / 0.645 GB, free: 336 kB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.592e-05/0.366, allocations: 35.56 kB / 0.6451 GB, free: 292 kB / 446.1 MB Notification: Performance of pre-optimization done (n=83): time 2.866e-06/0.366, allocations: 4 kB / 0.6451 GB, free: 288 kB / 446.1 MB Notification: Performance of matching and sorting (n=83): time 0.02344/0.3895, allocations: 6.481 MB / 0.6514 GB, free: 9.762 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.433e-05/0.3896, allocations: 60.41 kB / 0.6515 GB, free: 9.691 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001379/0.3909, allocations: 0.7984 MB / 0.6523 GB, free: 8.887 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000132/0.3911, allocations: 37.7 kB / 0.6523 GB, free: 8.844 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003191/0.3914, allocations: 436.4 kB / 0.6527 GB, free: 8.41 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003023/0.3917, allocations: 299.6 kB / 0.653 GB, free: 8.113 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004276/0.3922, allocations: 190.8 kB / 0.6532 GB, free: 7.918 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001294/0.3923, allocations: 349.9 kB / 0.6535 GB, free: 7.57 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001355/0.3937, allocations: 0.6624 MB / 0.6542 GB, free: 6.91 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001434/0.3951, allocations: 0.7796 MB / 0.6549 GB, free: 6.098 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01687/0.412, allocations: 4.516 MB / 0.6593 GB, free: 1.547 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.404e-06/0.412, allocations: 0 / 0.6593 GB, free: 1.547 MB / 462.1 MB Notification: Performance of matching and sorting (n=135) (initialization): time 0.01237/0.4244, allocations: 4.082 MB / 0.6633 GB, free: 13.45 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.548e-05/0.4245, allocations: 4 kB / 0.6633 GB, free: 13.45 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.426e-05/0.4245, allocations: 4 kB / 0.6633 GB, free: 13.44 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005717/0.4302, allocations: 1.737 MB / 0.665 GB, free: 11.7 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009453/0.4312, allocations: 179.7 kB / 0.6652 GB, free: 11.52 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02027/0.4515, allocations: 9.046 MB / 0.674 GB, free: 2.324 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001282/0.4528, allocations: 151 kB / 0.6742 GB, free: 2.176 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001/0.4529, allocations: 39.98 kB / 0.6742 GB, free: 2.137 MB / 478.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.0004109/0.4533, allocations: 231.8 kB / 0.6744 GB, free: 1.902 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000176/0.4535, allocations: 102.7 kB / 0.6745 GB, free: 1.801 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01188/0.4654, allocations: 3.813 MB / 0.6782 GB, free: 13.97 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.122e-05/0.4654, allocations: 11.94 kB / 0.6783 GB, free: 13.96 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.668e-06/0.4654, allocations: 4 kB / 0.6783 GB, free: 13.95 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.407e-06/0.4654, allocations: 3.984 kB / 0.6783 GB, free: 13.95 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0134/0.4788, allocations: 5.372 MB / 0.6835 GB, free: 8.441 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.939e-06/0.4789, allocations: 0 / 0.6835 GB, free: 8.441 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000486/0.4794, allocations: 95.88 kB / 0.6836 GB, free: 8.348 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005565/0.4849, allocations: 1.737 MB / 0.6853 GB, free: 6.605 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.38e-05/0.485, allocations: 20 kB / 0.6853 GB, free: 6.586 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01675/0.5018, allocations: 8.048 MB / 0.6932 GB, free: 14.39 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.5018, allocations: 0 / 0.6932 GB, free: 14.39 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01295/0.5148, allocations: 4.744 MB / 0.6978 GB, free: 9.621 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002786/0.5151, allocations: 195.6 kB / 0.698 GB, free: 9.41 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001233/0.5152, allocations: 19.94 kB / 0.698 GB, free: 9.391 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000816/0.5161, allocations: 87.89 kB / 0.6981 GB, free: 9.305 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000573/0.5166, allocations: 204.7 kB / 0.6983 GB, free: 9.105 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.096e-05/0.5167, allocations: 24 kB / 0.6983 GB, free: 9.082 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0007559/0.5175, allocations: 0.5341 MB / 0.6988 GB, free: 8.551 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.9e-07/0.5175, allocations: 0 / 0.6988 GB, free: 8.551 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001122/0.5186, allocations: 407.5 kB / 0.6992 GB, free: 8.152 MB / 0.4981 GB 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.0002311/0.5189, allocations: 119.2 kB / 0.6993 GB, free: 8.027 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.005842/0.5247, allocations: 2.312 MB / 0.7016 GB, free: 5.703 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.5247, allocations: 0 / 0.7016 GB, free: 5.703 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.004059/0.5288, allocations: 1.515 MB / 0.7031 GB, free: 4.168 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000611/0.5294, allocations: 75.34 kB / 0.7031 GB, free: 4.094 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00281/0.5322, allocations: 1.773 MB / 0.7049 GB, free: 2.297 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005109/0.5328, allocations: 1.029 MB / 0.7059 GB, free: 1.242 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.000236/0.533, allocations: 90.19 kB / 0.706 GB, free: 1.152 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001773/0.5332, allocations: 59.42 kB / 0.706 GB, free: 1.094 MB / 0.4981 GB Notification: Performance of SimCode: time 9.22e-07/0.5332, allocations: 0 / 0.706 GB, free: 1.094 MB / 0.4981 GB Notification: Performance of Templates: time 0.03102/0.5642, allocations: 22.39 MB / 0.7279 GB, free: 10.7 MB / 0.5294 GB 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)