Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order3test2_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.Order3test2_perturbation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation") translateModel(OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008903/0.0008903, allocations: 175.3 kB / 15.78 MB, free: 6.352 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.326/1.326, allocations: 223.2 MB / 239.8 MB, free: 15.98 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.0007293/0.0007294, allocations: 98.97 kB / 290.9 MB, free: 4.559 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4771/0.4771, allocations: 78.62 MB / 420.7 MB, free: 36.54 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004325/0.0004325, allocations: 11.98 kB / 0.4888 GB, free: 7.211 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1392/0.1397, allocations: 69.36 MB / 0.5565 GB, free: 1.789 MB / 426.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation): time 0.006172/0.1459, allocations: 5.926 MB / 0.5623 GB, free: 11.83 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.003795/0.1497, allocations: 1.795 MB / 0.5641 GB, free: 10.03 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000914/0.1507, allocations: 15.94 kB / 0.5641 GB, free: 10.02 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000682/0.1514, allocations: 158.8 kB / 0.5642 GB, free: 9.859 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002306/0.1537, allocations: 0.5883 MB / 0.5648 GB, free: 9.27 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00159/0.1553, allocations: 0.5244 MB / 0.5653 GB, free: 8.754 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.002074/0.1574, allocations: 1.285 MB / 0.5666 GB, free: 7.465 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006855/0.1581, allocations: 261.7 kB / 0.5668 GB, free: 7.199 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009877/0.1591, allocations: 0.5016 MB / 0.5673 GB, free: 6.695 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001108/0.1602, allocations: 0.6377 MB / 0.5679 GB, free: 6.055 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000249/0.1605, allocations: 52 kB / 0.568 GB, free: 6.004 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005674/0.1611, allocations: 187.8 kB / 0.5682 GB, free: 5.82 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001976/0.1613, allocations: 214.9 kB / 0.5684 GB, free: 5.609 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003358/0.1616, allocations: 221 kB / 0.5686 GB, free: 5.387 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001186/0.1628, allocations: 1.095 MB / 0.5696 GB, free: 4.289 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.608e-06/0.1628, allocations: 4 kB / 0.5696 GB, free: 4.285 MB / 442.7 MB Notification: Performance of FrontEnd: time 3.536e-06/0.1628, allocations: 0 / 0.5696 GB, free: 4.285 MB / 442.7 MB Notification: Performance of Transformations before backend: time 1.451e-05/0.1629, allocations: 3.938 kB / 0.5697 GB, free: 4.281 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 195 * Number of variables: 195 Notification: Performance of Generate backend data structure: time 0.007985/0.1709, allocations: 2.401 MB / 0.572 GB, free: 1.824 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.403e-05/0.1709, allocations: 12.03 kB / 0.572 GB, free: 1.812 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005182/0.1761, allocations: 0.7866 MB / 0.5728 GB, free: 1.023 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001576/0.1777, allocations: 0.7266 MB / 0.5735 GB, free: 248 kB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.2355/0.4133, allocations: 268.9 kB / 0.5737 GB, free: 44.31 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004988/0.4138, allocations: 85.86 kB / 0.5738 GB, free: 44.31 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004425/0.4183, allocations: 1.16 MB / 0.575 GB, free: 44.26 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.702e-05/0.4184, allocations: 0 / 0.575 GB, free: 44.26 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000186/0.4186, allocations: 31.81 kB / 0.575 GB, free: 44.26 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.409e-05/0.4186, allocations: 22.69 kB / 0.575 GB, free: 44.26 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003097/0.4217, allocations: 1.235 MB / 0.5762 GB, free: 44.25 MB / 442.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.007522/0.4293, allocations: 3.524 MB / 0.5797 GB, free: 43.43 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002397/0.4317, allocations: 1.512 MB / 0.5811 GB, free: 42.84 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001857/0.4336, allocations: 0.8698 MB / 0.582 GB, free: 42.82 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001205/0.4337, allocations: 16.09 kB / 0.582 GB, free: 42.82 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.109e-05/0.4338, allocations: 42.69 kB / 0.582 GB, free: 42.78 MB / 442.7 MB Notification: Performance of pre-optimization done (n=97): time 3.166e-06/0.4338, allocations: 0 / 0.582 GB, free: 42.78 MB / 442.7 MB Notification: Performance of matching and sorting (n=97): time 0.02896/0.4628, allocations: 8.168 MB / 0.59 GB, free: 42.2 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.815e-05/0.4629, allocations: 64.88 kB / 0.5901 GB, free: 42.13 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00155/0.4644, allocations: 0.889 MB / 0.5909 GB, free: 41.98 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002346/0.4647, allocations: 51.27 kB / 0.591 GB, free: 41.94 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004587/0.4651, allocations: 0.4892 MB / 0.5915 GB, free: 41.78 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000433/0.4656, allocations: 346.8 kB / 0.5918 GB, free: 41.57 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001323/0.4657, allocations: 23.91 kB / 0.5918 GB, free: 41.57 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 9.229e-05/0.4658, allocations: 356.7 kB / 0.5922 GB, free: 41.25 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001773/0.4676, allocations: 0.8078 MB / 0.593 GB, free: 41.08 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001744/0.4694, allocations: 0.9364 MB / 0.5939 GB, free: 40.71 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001714/0.4711, allocations: 0.8644 MB / 0.5947 GB, free: 40.38 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.032e-06/0.4711, allocations: 3.938 kB / 0.5947 GB, free: 40.37 MB / 442.7 MB Notification: Performance of matching and sorting (n=147) (initialization): time 0.01439/0.4855, allocations: 5.208 MB / 0.5998 GB, free: 39.25 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.345e-05/0.4856, allocations: 9.969 kB / 0.5998 GB, free: 39.24 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.47e-05/0.4856, allocations: 3.031 kB / 0.5998 GB, free: 39.24 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00831/0.4939, allocations: 2.102 MB / 0.6019 GB, free: 38.9 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001835/0.4958, allocations: 232.8 kB / 0.6021 GB, free: 38.88 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02367/0.5195, allocations: 9.525 MB / 0.6114 GB, free: 34.79 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001688/0.5212, allocations: 225.1 kB / 0.6116 GB, free: 34.71 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002045/0.5214, allocations: 39.42 kB / 0.6116 GB, free: 34.7 MB / 442.7 MB Warning: Assuming fixed start value for the following 2 variables: order3_Inputs_Outputs1.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order3_Inputs_Outputs1.e1q:VARIABLE(start = order3_Inputs_Outputs1.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 (112): * Single equations (assignments): 111 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {25 11} Notification: Performance of prepare postOptimizeDAE: time 0.0005781/0.522, allocations: 251.6 kB / 0.6119 GB, free: 34.5 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002647/0.5223, allocations: 119.1 kB / 0.612 GB, free: 34.44 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0145/0.5368, allocations: 4.954 MB / 0.6168 GB, free: 33.41 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.569e-05/0.5368, allocations: 9 kB / 0.6168 GB, free: 33.41 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.83e-06/0.5369, allocations: 0 / 0.6168 GB, free: 33.41 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.535e-05/0.5369, allocations: 8.422 kB / 0.6169 GB, free: 33.41 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01784/0.5547, allocations: 6.553 MB / 0.6233 GB, free: 31.34 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.978e-05/0.5548, allocations: 2.547 kB / 0.6233 GB, free: 31.34 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008275/0.5556, allocations: 143.6 kB / 0.6234 GB, free: 31.32 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007247/0.5629, allocations: 2.048 MB / 0.6254 GB, free: 30.99 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002282/0.5632, allocations: 21.06 kB / 0.6254 GB, free: 30.98 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0194/0.5826, allocations: 8.212 MB / 0.6334 GB, free: 25.52 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.196e-06/0.5826, allocations: 0 / 0.6334 GB, free: 25.52 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01604/0.5987, allocations: 5.986 MB / 0.6393 GB, free: 19.52 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004765/0.5992, allocations: 219.2 kB / 0.6395 GB, free: 19.29 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003379/0.5995, allocations: 22.19 kB / 0.6395 GB, free: 19.27 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001368/0.6009, allocations: 155.9 kB / 0.6397 GB, free: 19.11 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007557/0.6017, allocations: 216.6 kB / 0.6399 GB, free: 18.9 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001013/0.6018, allocations: 24 kB / 0.6399 GB, free: 18.88 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0007426/0.6026, allocations: 0.593 MB / 0.6405 GB, free: 18.27 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.6026, allocations: 1.875 kB / 0.6405 GB, free: 18.27 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001427/0.604, allocations: 440.4 kB / 0.6409 GB, free: 17.84 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (order3_Inputs_Outputs1.delta,order3_Inputs_Outputs1.w,order3_Inputs_Outputs1.e1q) * 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 (64): * Single equations (assignments): 63 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {26 10} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002693/0.6043, allocations: 133.8 kB / 0.641 GB, free: 17.71 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.006897/0.6112, allocations: 2.768 MB / 0.6437 GB, free: 14.94 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/0.6112, allocations: 0 / 0.6437 GB, free: 14.94 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004885/0.6161, allocations: 1.795 MB / 0.6455 GB, free: 13.15 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001007/0.6171, allocations: 84.98 kB / 0.6455 GB, free: 13.07 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003411/0.6206, allocations: 2.401 MB / 0.6479 GB, free: 10.66 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000428/0.621, allocations: 1.099 MB / 0.649 GB, free: 9.531 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002881/0.6213, allocations: 67.42 kB / 0.649 GB, free: 9.469 MB / 442.7 MB Notification: Performance of SimCode: time 7.21e-07/0.6213, allocations: 5.031 kB / 0.649 GB, free: 9.465 MB / 442.7 MB Notification: Performance of Templates: time 0.02673/0.6481, allocations: 20.05 MB / 0.6686 GB, free: 5.523 MB / 458.7 MB make -j1 -f OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.makefile (rm -f OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.pipe >> ../files/OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.sim & ./OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.pipe 2>&1)