Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation.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.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 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_perturbation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation") translateModel(OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001217/0.001217, allocations: 169.3 kB / 16.1 MB, free: 5.691 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.354/1.354, allocations: 223.3 MB / 240.1 MB, free: 11.7 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.0007677/0.0007679, allocations: 94.3 kB / 291.3 MB, free: 10.76 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5317/0.5317, allocations: 78.62 MB / 421 MB, free: 9.102 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000438/0.0004383, allocations: 11.94 kB / 0.4894 GB, free: 9.27 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3559/0.3563, allocations: 69.35 MB / 0.5571 GB, free: 18.8 MB / 378.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation): time 0.00534/0.3618, allocations: 6.35 MB / 0.5633 GB, free: 12.42 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.003741/0.3655, allocations: 1.9 MB / 0.5652 GB, free: 10.51 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006558/0.3662, allocations: 15.94 kB / 0.5652 GB, free: 10.5 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004301/0.3667, allocations: 170.8 kB / 0.5654 GB, free: 10.33 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001614/0.3683, allocations: 0.6294 MB / 0.566 GB, free: 9.695 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/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.001222/0.3695, allocations: 0.5755 MB / 0.5665 GB, free: 9.125 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.001484/0.371, allocations: 1.351 MB / 0.5679 GB, free: 7.77 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000483/0.3715, allocations: 297.2 kB / 0.5681 GB, free: 7.469 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007545/0.3723, allocations: 0.5209 MB / 0.5687 GB, free: 6.945 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005773/0.3729, allocations: 0.6646 MB / 0.5693 GB, free: 6.277 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001105/0.373, allocations: 52 kB / 0.5694 GB, free: 6.227 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004603/0.3734, allocations: 183.9 kB / 0.5695 GB, free: 6.047 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001745/0.3736, allocations: 226.8 kB / 0.5697 GB, free: 5.824 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004132/0.374, allocations: 0.5955 MB / 0.5703 GB, free: 5.219 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001/0.3751, allocations: 1.093 MB / 0.5714 GB, free: 4.125 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.337e-06/0.3751, allocations: 0 / 0.5714 GB, free: 4.125 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.926e-06/0.3751, allocations: 0 / 0.5714 GB, free: 4.125 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.91e-05/0.3751, allocations: 0 / 0.5714 GB, free: 4.125 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: 196 * Number of variables: 196 Notification: Performance of Generate backend data structure: time 0.006996/0.3821, allocations: 2.397 MB / 0.5737 GB, free: 1.676 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 9.322e-05/0.3822, allocations: 8.031 kB / 0.5737 GB, free: 1.668 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004681/0.3869, allocations: 0.7866 MB / 0.5745 GB, free: 0.8789 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001332/0.3883, allocations: 0.7685 MB / 0.5753 GB, free: 56 kB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003417/0.3886, allocations: 276.2 kB / 0.5755 GB, free: 15.75 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001656/0.3888, allocations: 76 kB / 0.5756 GB, free: 15.67 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002408/0.3912, allocations: 1.167 MB / 0.5767 GB, free: 14.5 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.112e-05/0.3912, allocations: 3.938 kB / 0.5767 GB, free: 14.5 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.544e-05/0.3913, allocations: 36 kB / 0.5768 GB, free: 14.46 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.745e-05/0.3914, allocations: 20 kB / 0.5768 GB, free: 14.44 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002606/0.394, allocations: 1.242 MB / 0.578 GB, free: 13.2 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.006365/0.4003, allocations: 3.534 MB / 0.5815 GB, free: 9.508 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002315/0.4027, allocations: 1.526 MB / 0.5829 GB, free: 7.871 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001756/0.4045, allocations: 0.8789 MB / 0.5838 GB, free: 6.984 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001294/0.4046, allocations: 9 kB / 0.5838 GB, free: 6.973 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.076e-05/0.4046, allocations: 43.56 kB / 0.5839 GB, free: 6.922 MB / 394.7 MB Notification: Performance of pre-optimization done (n=98): time 5.721e-06/0.4047, allocations: 11.92 kB / 0.5839 GB, free: 6.91 MB / 394.7 MB Notification: Performance of matching and sorting (n=98): time 0.02636/0.431, allocations: 8.219 MB / 0.5919 GB, free: 14.66 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.872e-05/0.4312, allocations: 60.41 kB / 0.592 GB, free: 14.59 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001338/0.4325, allocations: 0.8961 MB / 0.5928 GB, free: 13.67 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002408/0.4328, allocations: 41.7 kB / 0.5929 GB, free: 13.62 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004151/0.4332, allocations: 496.8 kB / 0.5933 GB, free: 13.13 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000429/0.4336, allocations: 350.9 kB / 0.5937 GB, free: 12.79 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001785/0.4338, allocations: 109.7 kB / 0.5938 GB, free: 12.67 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001653/0.434, allocations: 345.9 kB / 0.5941 GB, free: 12.33 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001747/0.4357, allocations: 0.8303 MB / 0.5949 GB, free: 11.5 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001832/0.4376, allocations: 0.9478 MB / 0.5958 GB, free: 10.52 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01881/0.4564, allocations: 5.415 MB / 0.6011 GB, free: 5.07 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.081e-05/0.4565, allocations: 0 / 0.6011 GB, free: 5.07 MB / 410.7 MB Notification: Performance of matching and sorting (n=151) (initialization): time 0.01397/0.4704, allocations: 5.234 MB / 0.6062 GB, free: 15.82 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.094e-05/0.4705, allocations: 4 kB / 0.6062 GB, free: 15.82 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.433e-05/0.4705, allocations: 8 kB / 0.6063 GB, free: 15.81 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0061/0.4766, allocations: 2.038 MB / 0.6082 GB, free: 13.77 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001236/0.4779, allocations: 239.7 kB / 0.6085 GB, free: 13.53 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01966/0.4976, allocations: 9.324 MB / 0.6176 GB, free: 4.066 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001587/0.4992, allocations: 230.8 kB / 0.6178 GB, free: 3.84 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001114/0.4993, allocations: 39.98 kB / 0.6178 GB, free: 3.801 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 (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.0004832/0.4998, allocations: 237.7 kB / 0.6181 GB, free: 3.559 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001802/0.5, allocations: 118.5 kB / 0.6182 GB, free: 3.441 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01324/0.5132, allocations: 4.959 MB / 0.623 GB, free: 14.46 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.562e-05/0.5133, allocations: 12 kB / 0.623 GB, free: 14.45 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.496e-06/0.5133, allocations: 0 / 0.623 GB, free: 14.45 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.963e-05/0.5133, allocations: 7.969 kB / 0.623 GB, free: 14.45 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01523/0.5286, allocations: 6.544 MB / 0.6294 GB, free: 7.762 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.318e-05/0.5286, allocations: 7.938 kB / 0.6294 GB, free: 7.754 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000745/0.5294, allocations: 151.8 kB / 0.6296 GB, free: 7.605 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006128/0.5355, allocations: 2.054 MB / 0.6316 GB, free: 5.547 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001663/0.5357, allocations: 16 kB / 0.6316 GB, free: 5.531 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0173/0.553, allocations: 8.213 MB / 0.6396 GB, free: 13.17 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/0.5531, allocations: 0 / 0.6396 GB, free: 13.17 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01603/0.5691, allocations: 5.993 MB / 0.6455 GB, free: 7.156 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004761/0.5696, allocations: 203.4 kB / 0.6457 GB, free: 6.938 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001615/0.5698, allocations: 16 kB / 0.6457 GB, free: 6.922 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001078/0.5709, allocations: 167.8 kB / 0.6458 GB, free: 6.758 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008379/0.5717, allocations: 216.6 kB / 0.6461 GB, free: 6.543 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.291e-05/0.5718, allocations: 20 kB / 0.6461 GB, free: 6.523 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0008865/0.5727, allocations: 0.593 MB / 0.6467 GB, free: 5.922 MB / 458.7 MB Notification: Performance of sort global known variables: time 2.5e-07/0.5727, allocations: 0 / 0.6467 GB, free: 5.922 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.00148/0.5742, allocations: 439.5 kB / 0.6471 GB, free: 5.492 MB / 458.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 (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.000329/0.5745, allocations: 131.1 kB / 0.6472 GB, free: 5.352 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.007831/0.5824, allocations: 2.78 MB / 0.6499 GB, free: 2.562 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 3.788e-06/0.5824, allocations: 0 / 0.6499 GB, free: 2.562 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004974/0.5874, allocations: 1.8 MB / 0.6517 GB, free: 0.75 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009215/0.5884, allocations: 90.66 kB / 0.6518 GB, free: 0.6641 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00406/0.5924, allocations: 2.599 MB / 0.6543 GB, free: 14.03 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006663/0.5931, allocations: 1.099 MB / 0.6554 GB, free: 12.91 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000306/0.5934, allocations: 63.42 kB / 0.6554 GB, free: 12.84 MB / 474.7 MB Notification: Performance of SimCode: time 1.142e-06/0.5934, allocations: 0 / 0.6554 GB, free: 12.84 MB / 474.7 MB Notification: Performance of Templates: time 0.02885/0.6223, allocations: 19.94 MB / 0.6749 GB, free: 8.883 MB / 490.7 MB make -j1 -f OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation.makefile (rm -f OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation.pipe >> ../files/OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation.sim & ./OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation.pipe 2>&1)