Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order2test2_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.Order2test2_perturbation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation") translateModel(OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00117/0.00117, allocations: 172.4 kB / 15.77 MB, free: 6.324 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.436/1.436, allocations: 223.2 MB / 239.8 MB, free: 8 kB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008136/0.0008136, allocations: 95.8 kB / 290.9 MB, free: 4.547 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.525/0.525, allocations: 78.62 MB / 420.7 MB, free: 36.41 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003732/0.0003733, allocations: 15.98 kB / 0.4888 GB, free: 7.25 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1281/0.1285, allocations: 69.37 MB / 0.5565 GB, free: 1.816 MB / 426.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation): time 0.005798/0.1343, allocations: 5.856 MB / 0.5622 GB, free: 11.93 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.00342/0.1378, allocations: 1.791 MB / 0.564 GB, free: 10.14 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008755/0.1387, allocations: 12 kB / 0.564 GB, free: 10.12 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000613/0.1393, allocations: 154.8 kB / 0.5642 GB, free: 9.973 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001847/0.1412, allocations: 0.5965 MB / 0.5647 GB, free: 9.379 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001259/0.1424, allocations: 0.5135 MB / 0.5652 GB, free: 8.871 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.001526/0.144, allocations: 1.269 MB / 0.5665 GB, free: 7.598 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004285/0.1444, allocations: 261.7 kB / 0.5667 GB, free: 7.328 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000627/0.145, allocations: 0.4977 MB / 0.5672 GB, free: 6.828 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007296/0.1458, allocations: 0.626 MB / 0.5678 GB, free: 6.199 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001448/0.1459, allocations: 52 kB / 0.5679 GB, free: 6.148 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004313/0.1464, allocations: 183.8 kB / 0.5681 GB, free: 5.969 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001739/0.1466, allocations: 210.9 kB / 0.5683 GB, free: 5.762 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001866/0.1468, allocations: 217 kB / 0.5685 GB, free: 5.543 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001045/0.1478, allocations: 1.091 MB / 0.5695 GB, free: 4.449 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/0.1478, allocations: 0 / 0.5695 GB, free: 4.449 MB / 442.7 MB Notification: Performance of FrontEnd: time 4.428e-06/0.1478, allocations: 0 / 0.5695 GB, free: 4.449 MB / 442.7 MB Notification: Performance of Transformations before backend: time 1.866e-05/0.1479, allocations: 3.938 kB / 0.5695 GB, free: 4.445 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: 194 * Number of variables: 194 Notification: Performance of Generate backend data structure: time 0.007476/0.1553, allocations: 2.381 MB / 0.5719 GB, free: 2.008 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.218e-05/0.1554, allocations: 12.03 kB / 0.5719 GB, free: 1.996 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004879/0.1603, allocations: 0.7866 MB / 0.5726 GB, free: 1.207 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001205/0.1615, allocations: 0.7186 MB / 0.5733 GB, free: 444 kB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003097/0.1618, allocations: 272.2 kB / 0.5736 GB, free: 136 kB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001399/0.162, allocations: 79.94 kB / 0.5737 GB, free: 56 kB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2088/0.3708, allocations: 1.155 MB / 0.5748 GB, free: 44.23 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.632e-05/0.3708, allocations: 0 / 0.5748 GB, free: 44.23 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.937e-05/0.3709, allocations: 29.28 kB / 0.5748 GB, free: 44.23 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.761e-05/0.3709, allocations: 20.64 kB / 0.5748 GB, free: 44.23 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002481/0.3734, allocations: 1.237 MB / 0.5761 GB, free: 44.23 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.005411/0.3788, allocations: 3.497 MB / 0.5795 GB, free: 43.41 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001992/0.3808, allocations: 1.499 MB / 0.5809 GB, free: 42.82 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001633/0.3825, allocations: 0.8684 MB / 0.5818 GB, free: 42.81 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.876e-05/0.3826, allocations: 16.45 kB / 0.5818 GB, free: 42.81 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.122e-05/0.3826, allocations: 47.89 kB / 0.5818 GB, free: 42.77 MB / 442.7 MB Notification: Performance of pre-optimization done (n=96): time 3.486e-06/0.3827, allocations: 0 / 0.5818 GB, free: 42.77 MB / 442.7 MB Notification: Performance of matching and sorting (n=96): time 0.02845/0.4111, allocations: 8.33 MB / 0.59 GB, free: 42.17 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.835e-05/0.4112, allocations: 62.03 kB / 0.59 GB, free: 42.11 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001076/0.4123, allocations: 0.8714 MB / 0.5909 GB, free: 41.96 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001968/0.4125, allocations: 42.33 kB / 0.5909 GB, free: 41.93 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000402/0.4129, allocations: 496.7 kB / 0.5914 GB, free: 41.76 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000308/0.4132, allocations: 349.5 kB / 0.5917 GB, free: 41.54 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.517e-05/0.4133, allocations: 21.31 kB / 0.5918 GB, free: 41.54 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 7.865e-05/0.4134, allocations: 352.9 kB / 0.5921 GB, free: 41.23 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001718/0.4151, allocations: 0.8024 MB / 0.5929 GB, free: 41.17 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001645/0.4168, allocations: 0.9268 MB / 0.5938 GB, free: 40.8 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001616/0.4184, allocations: 0.8521 MB / 0.5946 GB, free: 40.47 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.889e-06/0.4184, allocations: 3.188 kB / 0.5946 GB, free: 40.47 MB / 442.7 MB Notification: Performance of matching and sorting (n=143) (initialization): time 0.01348/0.4319, allocations: 5.142 MB / 0.5996 GB, free: 39.37 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.403e-05/0.4319, allocations: 6.531 kB / 0.5996 GB, free: 39.37 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.284e-05/0.432, allocations: 5.094 kB / 0.5996 GB, free: 39.37 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006144/0.4381, allocations: 2.181 MB / 0.6018 GB, free: 39.03 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001018/0.4392, allocations: 222.8 kB / 0.602 GB, free: 39.01 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0193/0.4585, allocations: 9.342 MB / 0.6111 GB, free: 34.98 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001482/0.46, allocations: 219.8 kB / 0.6113 GB, free: 34.91 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001062/0.4601, allocations: 41.12 kB / 0.6114 GB, free: 34.9 MB / 442.7 MB Warning: Assuming fixed start value for the following 2 variables: order2_Inputs_Outputs1.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order2_Inputs_Outputs1.delta:VARIABLE(flow=false start = order2_Inputs_Outputs1.delta0 unit = "rad" fixed = true ) "Rotor angle" 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 (108): * Single equations (assignments): 107 * 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 prepare postOptimizeDAE: time 0.0004487/0.4605, allocations: 245.1 kB / 0.6116 GB, free: 34.7 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001864/0.4607, allocations: 120.8 kB / 0.6117 GB, free: 34.64 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01413/0.4749, allocations: 4.942 MB / 0.6165 GB, free: 33.61 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.519e-05/0.4749, allocations: 9.75 kB / 0.6165 GB, free: 33.61 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.316e-06/0.4749, allocations: 0.7188 kB / 0.6165 GB, free: 33.61 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.186e-05/0.475, allocations: 4.078 kB / 0.6165 GB, free: 33.61 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01685/0.4918, allocations: 6.56 MB / 0.623 GB, free: 31.54 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-05/0.4919, allocations: 0.7031 kB / 0.623 GB, free: 31.54 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000771/0.4926, allocations: 146.4 kB / 0.6231 GB, free: 31.52 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006586/0.4992, allocations: 2.045 MB / 0.6251 GB, free: 31.18 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001944/0.4995, allocations: 17.89 kB / 0.6251 GB, free: 31.17 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01678/0.5163, allocations: 8.212 MB / 0.6331 GB, free: 25.84 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.794e-06/0.5163, allocations: 0 / 0.6331 GB, free: 25.84 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01517/0.5315, allocations: 5.993 MB / 0.639 GB, free: 19.83 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004185/0.5319, allocations: 203.5 kB / 0.6392 GB, free: 19.61 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002078/0.5322, allocations: 19.98 kB / 0.6392 GB, free: 19.59 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001449/0.5336, allocations: 159.9 kB / 0.6393 GB, free: 19.44 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006253/0.5343, allocations: 213.9 kB / 0.6396 GB, free: 19.23 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.508e-05/0.5343, allocations: 24 kB / 0.6396 GB, free: 19.2 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0006183/0.535, allocations: 0.5809 MB / 0.6401 GB, free: 18.61 MB / 442.7 MB Notification: Performance of sort global known variables: time 2.1e-07/0.535, allocations: 0 / 0.6401 GB, free: 18.61 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001265/0.5362, allocations: 435.4 kB / 0.6406 GB, free: 18.19 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (order2_Inputs_Outputs1.delta,order2_Inputs_Outputs1.w) * 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 (63): * Single equations (assignments): 62 * 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.0002462/0.5365, allocations: 134.8 kB / 0.6407 GB, free: 18.05 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.006549/0.5431, allocations: 2.761 MB / 0.6434 GB, free: 15.29 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.986e-06/0.5431, allocations: 4.188 kB / 0.6434 GB, free: 15.29 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004698/0.5478, allocations: 1.787 MB / 0.6451 GB, free: 13.5 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007439/0.5486, allocations: 84.42 kB / 0.6452 GB, free: 13.42 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00294/0.5515, allocations: 2.315 MB / 0.6475 GB, free: 11.09 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003864/0.5519, allocations: 1.084 MB / 0.6485 GB, free: 9.98 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000288/0.5522, allocations: 67.41 kB / 0.6486 GB, free: 9.918 MB / 442.7 MB Notification: Performance of SimCode: time 9.81e-07/0.5522, allocations: 0 / 0.6486 GB, free: 9.918 MB / 442.7 MB Notification: Performance of Templates: time 0.02158/0.5738, allocations: 19.83 MB / 0.668 GB, free: 6.211 MB / 458.7 MB make -j1 -f OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.makefile (rm -f OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.pipe >> ../files/OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.sim & ./OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.pipe 2>&1)