Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/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/Modelica 3.2.3+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 2.0.0/package.mo", uses=false) Using package OpenIPSL with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo) Running command: translateModel(OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation") translateModel(OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.08146/0.08146, allocations: 12.2 MB / 28.08 MB, free: 1.348 MB / 19.63 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001039/0.001039, allocations: 125.2 kB / 31.6 MB, free: 4.57 MB / 26.18 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.495/1.495, allocations: 205.1 MB / 240.1 MB, free: 10.93 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001867/0.001867, allocations: 184.5 kB / 290.2 MB, free: 15.85 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4531/0.4531, allocations: 78.51 MB / 418.8 MB, free: 31.74 MB / 318.1 MB Notification: Modelica_Synchronous requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: OpenIPSL requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002418/0.002418, allocations: 137 kB / 499.1 MB, free: 0.5547 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3941/0.3965, allocations: 68.03 MB / 0.5538 GB, free: 37.69 MB / 414.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation): time 0.006481/0.403, allocations: 6.867 MB / 0.5605 GB, free: 32.67 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.003431/0.4065, allocations: 1.874 MB / 0.5623 GB, free: 31.32 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007607/0.4073, allocations: 15.56 kB / 0.5623 GB, free: 31.32 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000551/0.4079, allocations: 171.1 kB / 0.5625 GB, free: 31.25 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001522/0.4094, allocations: 0.638 MB / 0.5631 GB, free: 30.82 MB / 414.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/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.001127/0.4106, allocations: 0.5557 MB / 0.5637 GB, free: 30.52 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.001406/0.412, allocations: 1.425 MB / 0.5651 GB, free: 29.8 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000469/0.4125, allocations: 332.2 kB / 0.5654 GB, free: 29.64 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007485/0.4132, allocations: 0.5921 MB / 0.566 GB, free: 29.35 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006354/0.4139, allocations: 0.725 MB / 0.5667 GB, free: 28.99 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001611/0.414, allocations: 107 kB / 0.5668 GB, free: 28.98 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004827/0.4145, allocations: 237.7 kB / 0.567 GB, free: 28.94 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002028/0.4147, allocations: 283.7 kB / 0.5673 GB, free: 28.75 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004488/0.4152, allocations: 0.6349 MB / 0.5679 GB, free: 28.33 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001064/0.4163, allocations: 1.141 MB / 0.569 GB, free: 27.87 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.079e-06/0.4163, allocations: 0 / 0.569 GB, free: 27.87 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.184e-06/0.4163, allocations: 0 / 0.569 GB, free: 27.87 MB / 414.1 MB Notification: Performance of Transformations before backend: time 2.654e-05/0.4163, allocations: 0 / 0.569 GB, free: 27.87 MB / 414.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.007188/0.4235, allocations: 2.56 MB / 0.5715 GB, free: 26.69 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.636e-05/0.4236, allocations: 12.39 kB / 0.5715 GB, free: 26.69 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004558/0.4281, allocations: 0.7836 MB / 0.5723 GB, free: 26.52 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001054/0.4292, allocations: 0.7657 MB / 0.573 GB, free: 25.97 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002379/0.4295, allocations: 264 kB / 0.5733 GB, free: 25.75 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001464/0.4296, allocations: 83.78 kB / 0.5734 GB, free: 25.71 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002194/0.4318, allocations: 1.074 MB / 0.5744 GB, free: 25.34 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.159e-05/0.4319, allocations: 3.938 kB / 0.5744 GB, free: 25.33 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.191e-05/0.432, allocations: 36.03 kB / 0.5744 GB, free: 25.3 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.666e-05/0.432, allocations: 18.56 kB / 0.5745 GB, free: 25.3 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00223/0.4342, allocations: 1.124 MB / 0.5756 GB, free: 24.96 MB / 414.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.006105/0.4403, allocations: 3.472 MB / 0.579 GB, free: 22.97 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002085/0.4424, allocations: 1.433 MB / 0.5804 GB, free: 22.03 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001593/0.444, allocations: 0.7804 MB / 0.5811 GB, free: 21.75 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001196/0.4442, allocations: 14.94 kB / 0.5811 GB, free: 21.74 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.764e-05/0.4442, allocations: 49.66 kB / 0.5812 GB, free: 21.69 MB / 414.1 MB Notification: Performance of pre-optimization done (n=98): time 3.767e-06/0.4442, allocations: 0 / 0.5812 GB, free: 21.69 MB / 414.1 MB Notification: Performance of matching and sorting (n=98): time 0.02635/0.4706, allocations: 6.608 MB / 0.5876 GB, free: 19.96 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.824e-05/0.4707, allocations: 70.62 kB / 0.5877 GB, free: 19.89 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001261/0.4719, allocations: 0.8877 MB / 0.5886 GB, free: 19.39 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002606/0.4722, allocations: 41.45 kB / 0.5886 GB, free: 19.34 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002935/0.4725, allocations: 0.4944 MB / 0.5891 GB, free: 18.9 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003468/0.4729, allocations: 347.8 kB / 0.5894 GB, free: 18.6 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004064/0.4733, allocations: 205.5 kB / 0.5896 GB, free: 18.47 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 8.248e-05/0.4734, allocations: 348.6 kB / 0.5899 GB, free: 18.13 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001559/0.4749, allocations: 0.7345 MB / 0.5907 GB, free: 17.77 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001626/0.4766, allocations: 0.864 MB / 0.5915 GB, free: 17.28 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01819/0.4948, allocations: 4.861 MB / 0.5963 GB, free: 14.89 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.049e-05/0.4948, allocations: 5.219 kB / 0.5963 GB, free: 14.89 MB / 414.1 MB Notification: Performance of matching and sorting (n=151) (initialization): time 0.01237/0.5072, allocations: 4.279 MB / 0.6004 GB, free: 10.63 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.366e-05/0.5073, allocations: 4 kB / 0.6004 GB, free: 10.63 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.349e-05/0.5073, allocations: 4 kB / 0.6004 GB, free: 10.62 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005219/0.5125, allocations: 1.731 MB / 0.6021 GB, free: 8.891 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001191/0.5138, allocations: 231.7 kB / 0.6024 GB, free: 8.664 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01804/0.5318, allocations: 9.084 MB / 0.6112 GB, free: 15.44 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001874/0.5337, allocations: 178.9 kB / 0.6114 GB, free: 15.26 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001451/0.5339, allocations: 39.98 kB / 0.6114 GB, free: 15.22 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.0005892/0.5345, allocations: 242.4 kB / 0.6117 GB, free: 14.98 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002653/0.5348, allocations: 122.4 kB / 0.6118 GB, free: 14.86 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01255/0.5473, allocations: 4.014 MB / 0.6157 GB, free: 10.82 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.182e-05/0.5474, allocations: 8 kB / 0.6157 GB, free: 10.81 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.508e-06/0.5474, allocations: 0 / 0.6157 GB, free: 10.81 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.829e-05/0.5474, allocations: 7.984 kB / 0.6157 GB, free: 10.8 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01481/0.5622, allocations: 5.617 MB / 0.6212 GB, free: 5.051 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.734e-05/0.5623, allocations: 0 / 0.6212 GB, free: 5.051 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008484/0.5632, allocations: 135.8 kB / 0.6213 GB, free: 4.918 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005675/0.5689, allocations: 1.742 MB / 0.623 GB, free: 3.172 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000271/0.5692, allocations: 16 kB / 0.6231 GB, free: 3.156 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01773/0.5869, allocations: 8.061 MB / 0.6309 GB, free: 10.95 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.528e-06/0.587, allocations: 0 / 0.6309 GB, free: 10.95 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01455/0.6015, allocations: 4.958 MB / 0.6358 GB, free: 5.969 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004855/0.602, allocations: 203.4 kB / 0.636 GB, free: 5.75 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002072/0.6023, allocations: 16 kB / 0.636 GB, free: 5.734 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001022/0.6033, allocations: 107.9 kB / 0.6361 GB, free: 5.629 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007417/0.604, allocations: 220.7 kB / 0.6363 GB, free: 5.41 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.736e-05/0.6041, allocations: 20 kB / 0.6363 GB, free: 5.391 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0007552/0.6049, allocations: 0.6008 MB / 0.6369 GB, free: 4.781 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.6049, allocations: 0 / 0.6369 GB, free: 4.781 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001379/0.6063, allocations: 443.4 kB / 0.6373 GB, free: 4.348 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 (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.0003022/0.6066, allocations: 127.7 kB / 0.6374 GB, free: 4.215 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.007082/0.6137, allocations: 2.513 MB / 0.6399 GB, free: 1.691 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 6.081e-06/0.6137, allocations: 0 / 0.6399 GB, free: 1.691 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004754/0.6185, allocations: 1.613 MB / 0.6415 GB, free: 68 kB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001038/0.6196, allocations: 88.44 kB / 0.6416 GB, free: 15.98 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004254/0.6238, allocations: 2.525 MB / 0.644 GB, free: 13.42 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006423/0.6245, allocations: 1.099 MB / 0.6451 GB, free: 12.3 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003861/0.6249, allocations: 75.42 kB / 0.6452 GB, free: 12.22 MB / 462.1 MB Notification: Performance of SimCode: time 9.61e-07/0.6249, allocations: 0 / 0.6452 GB, free: 12.22 MB / 462.1 MB Notification: Performance of Templates: time 0.02596/0.6509, allocations: 20.08 MB / 0.6648 GB, free: 8.129 MB / 478.1 MB make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation.makefile (rm -f OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation.sim & ./OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation.pipe 2>&1)