Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_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.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,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order4test2") translateModel(OpenIPSL.Tests.Machines.PSAT.Order4test2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_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.001587/0.001587, allocations: 101.1 kB / 16.27 MB, free: 6.414 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.425/1.425, allocations: 222.9 MB / 239.9 MB, free: 4.621 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.001625/0.001625, allocations: 192.4 kB / 290.2 MB, free: 2.332 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5489/0.5489, allocations: 92.62 MB / 433 MB, free: 8.594 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0023/0.0023, allocations: 79.88 kB / 0.5034 GB, free: 6.918 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3797/0.3821, allocations: 71.39 MB / 0.5731 GB, free: 36.57 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order4test2): time 0.00545/0.3875, allocations: 5.814 MB / 0.5788 GB, free: 33.05 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003512/0.3911, allocations: 1.77 MB / 0.5805 GB, free: 31.81 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007397/0.3919, allocations: 11.56 kB / 0.5805 GB, free: 31.81 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005239/0.3924, allocations: 208.7 kB / 0.5807 GB, free: 31.7 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001505/0.394, allocations: 0.6794 MB / 0.5814 GB, free: 31.25 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001102/0.3951, allocations: 0.5722 MB / 0.5819 GB, free: 30.95 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001018/0.3961, allocations: 1.248 MB / 0.5831 GB, free: 30.32 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000363/0.3965, allocations: 277.8 kB / 0.5834 GB, free: 30.21 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005197/0.397, allocations: 0.5292 MB / 0.5839 GB, free: 29.95 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005396/0.3976, allocations: 0.6429 MB / 0.5845 GB, free: 29.63 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001166/0.3977, allocations: 84.94 kB / 0.5846 GB, free: 29.63 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003859/0.3981, allocations: 221.9 kB / 0.5848 GB, free: 29.59 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001587/0.3983, allocations: 245.2 kB / 0.5851 GB, free: 29.43 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003281/0.3986, allocations: 0.5523 MB / 0.5856 GB, free: 29.05 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009836/0.3996, allocations: 1.332 MB / 0.5869 GB, free: 28.44 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.3996, allocations: 2.75 kB / 0.5869 GB, free: 28.44 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.001e-06/0.3996, allocations: 3 kB / 0.5869 GB, free: 28.44 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.437e-05/0.3996, allocations: 0 / 0.5869 GB, free: 28.44 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.007448/0.4071, allocations: 2.348 MB / 0.5892 GB, free: 27.36 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.639e-05/0.4072, allocations: 9.125 kB / 0.5892 GB, free: 27.36 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004866/0.412, allocations: 0.7615 MB / 0.59 GB, free: 27.21 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001406/0.4135, allocations: 0.7036 MB / 0.5906 GB, free: 26.71 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002836/0.4138, allocations: 246.1 kB / 0.5909 GB, free: 26.5 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001661/0.4139, allocations: 69.09 kB / 0.5909 GB, free: 26.47 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002169/0.4161, allocations: 0.9629 MB / 0.5919 GB, free: 26.11 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.041e-05/0.4162, allocations: 3.938 kB / 0.5919 GB, free: 26.11 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.592e-05/0.4163, allocations: 33.72 kB / 0.5919 GB, free: 26.08 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.523e-05/0.4163, allocations: 19.75 kB / 0.5919 GB, free: 26.08 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002135/0.4184, allocations: 0.9697 MB / 0.5929 GB, free: 25.77 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.006136/0.4246, allocations: 3.209 MB / 0.596 GB, free: 23.92 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002048/0.4266, allocations: 1.309 MB / 0.5973 GB, free: 23.01 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001539/0.4282, allocations: 0.7095 MB / 0.598 GB, free: 22.74 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.5e-05/0.4283, allocations: 10.56 kB / 0.598 GB, free: 22.74 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.26e-05/0.4283, allocations: 42.59 kB / 0.598 GB, free: 22.69 MB / 430.1 MB Notification: Performance of pre-optimization done (n=83): time 3.086e-06/0.4283, allocations: 0 / 0.598 GB, free: 22.69 MB / 430.1 MB Notification: Performance of matching and sorting (n=83): time 0.02747/0.4558, allocations: 6.477 MB / 0.6044 GB, free: 21.49 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.093e-05/0.4559, allocations: 61.08 kB / 0.6044 GB, free: 21.43 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001282/0.4572, allocations: 0.7931 MB / 0.6052 GB, free: 21.09 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000239/0.4575, allocations: 40.98 kB / 0.6052 GB, free: 21.05 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002779/0.4577, allocations: 440.4 kB / 0.6057 GB, free: 20.7 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003972/0.4582, allocations: 298.6 kB / 0.6059 GB, free: 20.46 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003904/0.4586, allocations: 188.7 kB / 0.6061 GB, free: 20.37 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 8.751e-05/0.4586, allocations: 349.1 kB / 0.6065 GB, free: 20.04 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001583/0.4602, allocations: 0.6591 MB / 0.6071 GB, free: 19.8 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001606/0.4619, allocations: 0.786 MB / 0.6079 GB, free: 19.46 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0189/0.4808, allocations: 4.524 MB / 0.6123 GB, free: 18.19 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.048e-05/0.4808, allocations: 0 / 0.6123 GB, free: 18.19 MB / 430.1 MB Notification: Performance of matching and sorting (n=135) (initialization): time 0.01368/0.4945, allocations: 4.079 MB / 0.6163 GB, free: 16.34 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.446e-05/0.4946, allocations: 4.969 kB / 0.6163 GB, free: 16.34 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.625e-05/0.4946, allocations: 2.375 kB / 0.6163 GB, free: 16.34 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006075/0.5007, allocations: 1.737 MB / 0.618 GB, free: 15.33 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009504/0.5017, allocations: 187.7 kB / 0.6182 GB, free: 15.14 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01924/0.5209, allocations: 9.068 MB / 0.627 GB, free: 5.934 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00153/0.5225, allocations: 147.1 kB / 0.6272 GB, free: 5.789 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001026/0.5226, allocations: 35.98 kB / 0.6272 GB, free: 5.754 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.0004344/0.5231, allocations: 236.7 kB / 0.6274 GB, free: 5.516 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001851/0.5233, allocations: 102.7 kB / 0.6275 GB, free: 5.414 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01176/0.535, allocations: 3.809 MB / 0.6312 GB, free: 1.59 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.859e-05/0.5351, allocations: 15.88 kB / 0.6312 GB, free: 1.574 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/0.5351, allocations: 0 / 0.6312 GB, free: 1.574 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.276e-05/0.5351, allocations: 3.984 kB / 0.6312 GB, free: 1.57 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0155/0.5506, allocations: 5.352 MB / 0.6365 GB, free: 12.07 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.304e-05/0.5507, allocations: 0 / 0.6365 GB, free: 12.07 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006192/0.5513, allocations: 91.88 kB / 0.6366 GB, free: 11.98 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006417/0.5578, allocations: 1.745 MB / 0.6383 GB, free: 10.23 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001908/0.558, allocations: 12 kB / 0.6383 GB, free: 10.22 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02056/0.5786, allocations: 8.072 MB / 0.6462 GB, free: 2 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.454e-06/0.5786, allocations: 0 / 0.6462 GB, free: 2 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01575/0.5943, allocations: 4.7 MB / 0.6508 GB, free: 13.27 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000451/0.5948, allocations: 183.6 kB / 0.6509 GB, free: 13.07 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002278/0.5951, allocations: 19.98 kB / 0.6509 GB, free: 13.05 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009972/0.5961, allocations: 91.91 kB / 0.651 GB, free: 12.96 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006567/0.5968, allocations: 204.6 kB / 0.6512 GB, free: 12.77 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.78e-05/0.5968, allocations: 20 kB / 0.6512 GB, free: 12.75 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0007563/0.5976, allocations: 0.5303 MB / 0.6518 GB, free: 12.22 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5976, allocations: 0 / 0.6518 GB, free: 12.22 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001382/0.599, allocations: 407.5 kB / 0.6522 GB, free: 11.82 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 (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.0002969/0.5993, allocations: 131.2 kB / 0.6523 GB, free: 11.68 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.007258/0.6066, allocations: 2.317 MB / 0.6545 GB, free: 9.348 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.178e-06/0.6066, allocations: 0.5625 kB / 0.6545 GB, free: 9.348 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005077/0.6117, allocations: 1.518 MB / 0.656 GB, free: 7.82 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009011/0.6126, allocations: 81 kB / 0.6561 GB, free: 7.742 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003716/0.6164, allocations: 1.854 MB / 0.6579 GB, free: 5.859 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007382/0.6171, allocations: 1.029 MB / 0.6589 GB, free: 4.805 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002936/0.6174, allocations: 63.42 kB / 0.659 GB, free: 4.746 MB / 462.1 MB Notification: Performance of SimCode: time 7.91e-07/0.6174, allocations: 0 / 0.659 GB, free: 4.746 MB / 462.1 MB Notification: Performance of Templates: time 0.028/0.6454, allocations: 17.78 MB / 0.6763 GB, free: 2.945 MB / 478.1 MB make -j1 -f OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order4test2.makefile (rm -f OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order4test2.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order4test2.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order4test2.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order4test2.sim & ./OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order4test2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order4test2.pipe 2>&1)