Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.conf.json 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 4.0.0+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 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 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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) Running command: translateModel(OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation") translateModel(OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007593/0.007593, allocations: 102.3 kB / 15.73 MB, free: 5.582 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.357/1.357, allocations: 222.9 MB / 239.4 MB, free: 4.566 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001273/0.001274, allocations: 200.4 kB / 289.7 MB, free: 2.281 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5052/0.5052, allocations: 91.9 MB / 431.7 MB, free: 9.172 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001396/0.001396, allocations: 81.38 kB / 0.5727 GB, free: 33.67 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1301/0.1315, allocations: 71.28 MB / 0.6423 GB, free: 3.59 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation): time 0.007234/0.1388, allocations: 6.399 MB / 0.6486 GB, free: 13.16 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.003794/0.1426, allocations: 1.845 MB / 0.6504 GB, free: 11.31 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008814/0.1435, allocations: 19.88 kB / 0.6504 GB, free: 11.29 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007594/0.1443, allocations: 222.1 kB / 0.6506 GB, free: 11.07 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002094/0.1464, allocations: 0.7599 MB / 0.6514 GB, free: 10.31 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001342/0.1478, allocations: 0.6034 MB / 0.652 GB, free: 9.711 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.00177/0.1496, allocations: 1.402 MB / 0.6533 GB, free: 8.305 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004573/0.15, allocations: 324.2 kB / 0.6536 GB, free: 7.973 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006688/0.1507, allocations: 0.5912 MB / 0.6542 GB, free: 7.379 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006906/0.1514, allocations: 0.7155 MB / 0.6549 GB, free: 6.66 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001311/0.1515, allocations: 107.9 kB / 0.655 GB, free: 6.555 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000413/0.152, allocations: 243.9 kB / 0.6552 GB, free: 6.316 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002249/0.1522, allocations: 274.7 kB / 0.6555 GB, free: 6.047 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005296/0.1528, allocations: 0.6213 MB / 0.6561 GB, free: 5.422 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001601/0.1544, allocations: 1.51 MB / 0.6576 GB, free: 3.906 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.419e-06/0.1544, allocations: 0 / 0.6576 GB, free: 3.906 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.1544, allocations: 0 / 0.6576 GB, free: 3.906 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.289e-05/0.1544, allocations: 0 / 0.6576 GB, free: 3.906 MB / 462.1 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.007912/0.1623, allocations: 2.532 MB / 0.6601 GB, free: 1.32 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.142e-05/0.1624, allocations: 8.031 kB / 0.6601 GB, free: 1.312 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005145/0.1675, allocations: 0.7787 MB / 0.6608 GB, free: 0.5312 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001309/0.1688, allocations: 0.7645 MB / 0.6616 GB, free: 15.71 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003221/0.1692, allocations: 260.1 kB / 0.6618 GB, free: 15.42 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001496/0.1693, allocations: 76 kB / 0.6619 GB, free: 15.34 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002424/0.1718, allocations: 1.069 MB / 0.6629 GB, free: 14.27 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.784e-05/0.1718, allocations: 3.938 kB / 0.6629 GB, free: 14.26 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.634e-05/0.1719, allocations: 32 kB / 0.663 GB, free: 14.23 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.607e-05/0.1719, allocations: 24 kB / 0.663 GB, free: 14.21 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002628/0.1746, allocations: 1.116 MB / 0.6641 GB, free: 13.09 MB / 478.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.006115/0.1807, allocations: 3.42 MB / 0.6674 GB, free: 9.52 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002234/0.1829, allocations: 1.408 MB / 0.6688 GB, free: 7.992 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001693/0.1846, allocations: 0.7774 MB / 0.6696 GB, free: 7.211 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.307e-05/0.1847, allocations: 12.98 kB / 0.6696 GB, free: 7.199 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.236e-05/0.1848, allocations: 47.56 kB / 0.6696 GB, free: 7.145 MB / 478.1 MB Notification: Performance of pre-optimization done (n=96): time 2.776e-06/0.1848, allocations: 0 / 0.6696 GB, free: 7.145 MB / 478.1 MB Notification: Performance of matching and sorting (n=96): time 0.02794/0.2127, allocations: 6.75 MB / 0.6762 GB, free: 368 kB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.287e-05/0.2128, allocations: 60.41 kB / 0.6763 GB, free: 296 kB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001174/0.214, allocations: 0.8838 MB / 0.6771 GB, free: 15.39 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001259/0.2141, allocations: 49.64 kB / 0.6772 GB, free: 15.33 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003587/0.2145, allocations: 0.4928 MB / 0.6777 GB, free: 14.83 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003477/0.2149, allocations: 331.2 kB / 0.678 GB, free: 14.5 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004003/0.2153, allocations: 198.8 kB / 0.6782 GB, free: 14.3 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001249/0.2154, allocations: 345.9 kB / 0.6785 GB, free: 13.96 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001747/0.2172, allocations: 0.7131 MB / 0.6792 GB, free: 13.25 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001833/0.219, allocations: 0.8384 MB / 0.68 GB, free: 12.38 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02045/0.2395, allocations: 4.791 MB / 0.6847 GB, free: 7.551 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.244e-06/0.2395, allocations: 0 / 0.6847 GB, free: 7.551 MB / 494.1 MB Notification: Performance of matching and sorting (n=143) (initialization): time 0.01532/0.2548, allocations: 4.249 MB / 0.6888 GB, free: 3.285 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.007e-05/0.2549, allocations: 8.781 kB / 0.6888 GB, free: 3.277 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.576e-05/0.2549, allocations: 4 kB / 0.6889 GB, free: 3.273 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006793/0.2617, allocations: 1.858 MB / 0.6907 GB, free: 1.41 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00114/0.2629, allocations: 215.6 kB / 0.6909 GB, free: 1.199 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02311/0.286, allocations: 9.094 MB / 0.6998 GB, free: 7.957 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0015/0.2876, allocations: 170.9 kB / 0.6999 GB, free: 7.789 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001952/0.2878, allocations: 39.98 kB / 0.7 GB, free: 7.75 MB / 0.4981 GB 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 (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 prepare postOptimizeDAE: time 0.0006884/0.2885, allocations: 252 kB / 0.7002 GB, free: 7.496 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002635/0.2887, allocations: 118.5 kB / 0.7003 GB, free: 7.379 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01392/0.3027, allocations: 3.998 MB / 0.7042 GB, free: 3.363 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.319e-05/0.3027, allocations: 8 kB / 0.7042 GB, free: 3.355 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.212e-06/0.3027, allocations: 7.938 kB / 0.7042 GB, free: 3.348 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.443e-05/0.3027, allocations: 3.984 kB / 0.7042 GB, free: 3.344 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0159/0.3186, allocations: 5.614 MB / 0.7097 GB, free: 13.59 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.678e-05/0.3187, allocations: 3.984 kB / 0.7097 GB, free: 13.59 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007757/0.3195, allocations: 127.8 kB / 0.7098 GB, free: 13.46 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006182/0.3257, allocations: 1.745 MB / 0.7115 GB, free: 11.71 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003816/0.3261, allocations: 19.98 kB / 0.7116 GB, free: 11.7 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02005/0.3462, allocations: 8.068 MB / 0.7194 GB, free: 3.477 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/0.3462, allocations: 4 kB / 0.7194 GB, free: 3.473 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01615/0.3624, allocations: 4.968 MB / 0.7243 GB, free: 14.48 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003482/0.3627, allocations: 203.4 kB / 0.7245 GB, free: 14.26 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002251/0.363, allocations: 16 kB / 0.7245 GB, free: 14.25 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00116/0.3641, allocations: 119.9 kB / 0.7246 GB, free: 14.13 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006951/0.3649, allocations: 212.7 kB / 0.7248 GB, free: 13.92 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.302e-05/0.3649, allocations: 35.86 kB / 0.7249 GB, free: 13.89 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0008156/0.3658, allocations: 0.5887 MB / 0.7254 GB, free: 13.29 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3658, allocations: 0 / 0.7254 GB, free: 13.29 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.001269/0.3671, allocations: 431.5 kB / 0.7258 GB, free: 12.87 MB / 0.5294 GB 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 (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.0002834/0.3673, allocations: 127.2 kB / 0.726 GB, free: 12.73 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.007401/0.3748, allocations: 2.457 MB / 0.7284 GB, free: 10.26 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 4.007e-06/0.3748, allocations: 0 / 0.7284 GB, free: 10.26 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.005101/0.3799, allocations: 1.601 MB / 0.7299 GB, free: 8.645 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009268/0.3808, allocations: 95.69 kB / 0.73 GB, free: 8.551 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004016/0.3849, allocations: 1.933 MB / 0.7319 GB, free: 6.59 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007067/0.3856, allocations: 1.084 MB / 0.733 GB, free: 5.48 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0003909/0.386, allocations: 82.69 kB / 0.733 GB, free: 5.395 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002492/0.3863, allocations: 67.42 kB / 0.7331 GB, free: 5.328 MB / 0.5294 GB Notification: Performance of SimCode: time 1.052e-06/0.3863, allocations: 0 / 0.7331 GB, free: 5.328 MB / 0.5294 GB Notification: Performance of Templates: time 0.0396/0.4259, allocations: 23.58 MB / 0.7561 GB, free: 13.75 MB / 0.5606 GB make -j1 -f OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.makefile (rm -f OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.sim & ./OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.pipe 2>&1)