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.009432/0.009432, allocations: 169.1 kB / 15.13 MB, free: 6.031 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.38/1.38, allocations: 223.3 MB / 239.1 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.0008807/0.0008807, allocations: 99.61 kB / 290.3 MB, free: 4.484 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4448/0.4448, allocations: 78.61 MB / 420 MB, free: 36.43 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003868/0.0003869, allocations: 12 kB / 499.9 MB, free: 7.227 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1392/0.1396, allocations: 69.36 MB / 0.5559 GB, free: 1.797 MB / 426.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation): time 0.005575/0.1453, allocations: 5.856 MB / 0.5616 GB, free: 11.91 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.003529/0.1488, allocations: 1.795 MB / 0.5634 GB, free: 10.12 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006358/0.1495, allocations: 12 kB / 0.5634 GB, free: 10.11 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004064/0.1499, allocations: 154.8 kB / 0.5635 GB, free: 9.953 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001485/0.1514, allocations: 0.5974 MB / 0.5641 GB, free: 9.355 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001079/0.1525, allocations: 0.5089 MB / 0.5646 GB, free: 8.855 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.001245/0.1537, allocations: 1.269 MB / 0.5659 GB, free: 7.582 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003937/0.1541, allocations: 265.6 kB / 0.5661 GB, free: 7.309 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006075/0.1548, allocations: 0.5016 MB / 0.5666 GB, free: 6.805 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006895/0.1555, allocations: 0.6338 MB / 0.5672 GB, free: 6.168 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001242/0.1556, allocations: 52 kB / 0.5673 GB, free: 6.117 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000416/0.156, allocations: 171.9 kB / 0.5674 GB, free: 5.949 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001646/0.1562, allocations: 214.9 kB / 0.5676 GB, free: 5.738 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001771/0.1564, allocations: 225 kB / 0.5679 GB, free: 5.512 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009462/0.1573, allocations: 1.087 MB / 0.5689 GB, free: 4.422 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.1573, allocations: 0 / 0.5689 GB, free: 4.422 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.833e-06/0.1574, allocations: 0 / 0.5689 GB, free: 4.422 MB / 442.7 MB Notification: Performance of Transformations before backend: time 1.471e-05/0.1574, allocations: 0 / 0.5689 GB, free: 4.422 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.007584/0.165, allocations: 2.385 MB / 0.5712 GB, free: 1.98 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.701e-05/0.165, allocations: 8.031 kB / 0.5713 GB, free: 1.973 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004915/0.1699, allocations: 0.7827 MB / 0.572 GB, free: 1.188 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001197/0.1712, allocations: 0.7186 MB / 0.5727 GB, free: 424 kB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002757/0.1715, allocations: 268.2 kB / 0.573 GB, free: 120 kB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001409/0.1716, allocations: 80 kB / 0.5731 GB, free: 40 kB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2539/0.4255, allocations: 1.155 MB / 0.5742 GB, free: 44.5 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.85e-05/0.4256, allocations: 1.75 kB / 0.5742 GB, free: 44.5 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.93e-05/0.4257, allocations: 32.41 kB / 0.5742 GB, free: 44.5 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.473e-05/0.4258, allocations: 19.53 kB / 0.5742 GB, free: 44.5 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002807/0.4286, allocations: 1.23 MB / 0.5754 GB, free: 44.49 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.005697/0.4343, allocations: 3.507 MB / 0.5789 GB, free: 43.68 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002047/0.4363, allocations: 1.499 MB / 0.5803 GB, free: 43.09 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001683/0.438, allocations: 0.8657 MB / 0.5812 GB, free: 43.08 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.832e-05/0.4382, allocations: 20.36 kB / 0.5812 GB, free: 43.08 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.985e-05/0.4382, allocations: 40.38 kB / 0.5812 GB, free: 43.04 MB / 442.7 MB Notification: Performance of pre-optimization done (n=96): time 3.437e-06/0.4382, allocations: 1.875 kB / 0.5812 GB, free: 43.04 MB / 442.7 MB Notification: Performance of matching and sorting (n=96): time 0.02842/0.4666, allocations: 8.332 MB / 0.5894 GB, free: 42.45 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.635e-05/0.4667, allocations: 61.59 kB / 0.5894 GB, free: 42.39 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001286/0.468, allocations: 0.8747 MB / 0.5903 GB, free: 42.24 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002097/0.4682, allocations: 41.92 kB / 0.5903 GB, free: 42.21 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004705/0.4687, allocations: 498.7 kB / 0.5908 GB, free: 42.04 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003458/0.4691, allocations: 341.2 kB / 0.5911 GB, free: 41.83 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.944e-05/0.4692, allocations: 20.81 kB / 0.5911 GB, free: 41.83 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001004/0.4693, allocations: 348.3 kB / 0.5915 GB, free: 41.52 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001763/0.471, allocations: 0.8029 MB / 0.5923 GB, free: 41.45 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001651/0.4727, allocations: 0.9288 MB / 0.5932 GB, free: 41.08 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0016/0.4743, allocations: 0.8577 MB / 0.594 GB, free: 40.75 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.99e-06/0.4743, allocations: 0 / 0.594 GB, free: 40.75 MB / 442.7 MB Notification: Performance of matching and sorting (n=143) (initialization): time 0.0138/0.4881, allocations: 5.15 MB / 0.599 GB, free: 39.64 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.649e-05/0.4882, allocations: 3.188 kB / 0.599 GB, free: 39.64 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.537e-05/0.4882, allocations: 3.125 kB / 0.599 GB, free: 39.64 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006324/0.4945, allocations: 2.182 MB / 0.6012 GB, free: 39.3 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001115/0.4957, allocations: 218.5 kB / 0.6014 GB, free: 39.29 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0191/0.5148, allocations: 9.344 MB / 0.6105 GB, free: 35.25 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001615/0.5165, allocations: 230 kB / 0.6107 GB, free: 35.18 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001044/0.5166, allocations: 38.48 kB / 0.6108 GB, free: 35.17 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.0004706/0.517, allocations: 237.8 kB / 0.611 GB, free: 34.98 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001945/0.5172, allocations: 119.1 kB / 0.6111 GB, free: 34.91 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01461/0.5319, allocations: 4.938 MB / 0.6159 GB, free: 33.89 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.238e-05/0.5319, allocations: 14.3 kB / 0.6159 GB, free: 33.89 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.5319, allocations: 1.25 kB / 0.6159 GB, free: 33.89 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.468e-05/0.532, allocations: 3.562 kB / 0.6159 GB, free: 33.89 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01703/0.549, allocations: 6.555 MB / 0.6223 GB, free: 31.82 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.798e-05/0.5491, allocations: 1.172 kB / 0.6223 GB, free: 31.82 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008415/0.5499, allocations: 146.4 kB / 0.6225 GB, free: 31.8 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006716/0.5567, allocations: 2.058 MB / 0.6245 GB, free: 31.45 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002331/0.5569, allocations: 17.38 kB / 0.6245 GB, free: 31.44 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0165/0.5734, allocations: 8.217 MB / 0.6325 GB, free: 26.14 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.916e-06/0.5735, allocations: 0 / 0.6325 GB, free: 26.14 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01492/0.5884, allocations: 5.984 MB / 0.6384 GB, free: 20.14 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003625/0.5888, allocations: 199.5 kB / 0.6386 GB, free: 19.93 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001478/0.589, allocations: 19.94 kB / 0.6386 GB, free: 19.91 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00102/0.59, allocations: 159.9 kB / 0.6387 GB, free: 19.75 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006601/0.5907, allocations: 220.6 kB / 0.6389 GB, free: 19.53 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.799e-05/0.5907, allocations: 24.75 kB / 0.639 GB, free: 19.51 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0006504/0.5914, allocations: 0.5809 MB / 0.6395 GB, free: 18.92 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5914, allocations: 0 / 0.6395 GB, free: 18.92 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001257/0.5927, allocations: 435.4 kB / 0.64 GB, free: 18.49 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.0002667/0.5929, allocations: 130.1 kB / 0.6401 GB, free: 18.36 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.006384/0.5993, allocations: 2.76 MB / 0.6428 GB, free: 15.61 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.287e-06/0.5994, allocations: 0 / 0.6428 GB, free: 15.61 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004522/0.6039, allocations: 1.793 MB / 0.6445 GB, free: 13.82 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008191/0.6047, allocations: 84.97 kB / 0.6446 GB, free: 13.73 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002986/0.6077, allocations: 2.283 MB / 0.6468 GB, free: 11.45 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003985/0.6081, allocations: 1.084 MB / 0.6479 GB, free: 10.33 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0003277/0.6085, allocations: 89.55 kB / 0.648 GB, free: 10.24 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000198/0.6087, allocations: 59.42 kB / 0.648 GB, free: 10.19 MB / 442.7 MB Notification: Performance of SimCode: time 8.22e-07/0.6087, allocations: 0 / 0.648 GB, free: 10.19 MB / 442.7 MB Notification: Performance of Templates: time 0.0268/0.6355, allocations: 19.82 MB / 0.6674 GB, free: 6.535 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)