Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/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/Modelica 3.2.3+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 2.0.0/package.mo", uses=false) Using package OpenIPSL with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo) Running command: translateModel(OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation") translateModel(OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.09224/0.09224, allocations: 12.59 MB / 28.22 MB, free: 0.7656 MB / 19.63 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001083/0.001083, allocations: 111.4 kB / 31.83 MB, free: 3.906 MB / 26.18 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.386/1.386, allocations: 205.1 MB / 240.4 MB, free: 12.36 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001264/0.001264, allocations: 196.4 kB / 290.7 MB, free: 10.95 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4625/0.4625, allocations: 78.5 MB / 419.3 MB, free: 10.76 MB / 302.1 MB Notification: Modelica_Synchronous requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: OpenIPSL requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002815/0.002815, allocations: 135.8 kB / 0.5559 GB, free: 17.28 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1412/0.144, allocations: 68.12 MB / 0.6224 GB, free: 13.13 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation): time 0.007208/0.1513, allocations: 6.481 MB / 0.6287 GB, free: 6.613 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.004131/0.1554, allocations: 1.834 MB / 0.6305 GB, free: 4.773 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001003/0.1565, allocations: 11.94 kB / 0.6305 GB, free: 4.762 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006156/0.1571, allocations: 226 kB / 0.6307 GB, free: 4.539 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001899/0.159, allocations: 0.7609 MB / 0.6315 GB, free: 3.773 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00142/0.1605, allocations: 0.6186 MB / 0.6321 GB, free: 3.164 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001778/0.1623, allocations: 1.413 MB / 0.6335 GB, free: 1.746 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005797/0.1629, allocations: 328.3 kB / 0.6338 GB, free: 1.414 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001029/0.1639, allocations: 0.5951 MB / 0.6344 GB, free: 0.8164 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001097/0.165, allocations: 0.7388 MB / 0.6351 GB, free: 76 kB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003585/0.1654, allocations: 100 kB / 0.6352 GB, free: 15.97 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007152/0.1661, allocations: 235.9 kB / 0.6354 GB, free: 15.75 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003631/0.1665, allocations: 286.7 kB / 0.6357 GB, free: 15.46 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008504/0.1673, allocations: 0.6213 MB / 0.6363 GB, free: 14.84 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001846/0.1692, allocations: 1.528 MB / 0.6378 GB, free: 13.3 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.009e-06/0.1692, allocations: 0 / 0.6378 GB, free: 13.3 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.1692, allocations: 0 / 0.6378 GB, free: 13.3 MB / 462.1 MB Notification: Performance of Transformations before backend: time 5.673e-05/0.1693, allocations: 0 / 0.6378 GB, free: 13.3 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: 195 * Number of variables: 195 Notification: Performance of Generate backend data structure: time 0.009004/0.1783, allocations: 2.605 MB / 0.6403 GB, free: 10.64 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.62e-05/0.1783, allocations: 11.98 kB / 0.6403 GB, free: 10.63 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004991/0.1833, allocations: 0.7874 MB / 0.6411 GB, free: 9.84 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00147/0.1848, allocations: 0.7851 MB / 0.6419 GB, free: 9 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003114/0.1852, allocations: 256.2 kB / 0.6421 GB, free: 8.715 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001692/0.1853, allocations: 83.95 kB / 0.6422 GB, free: 8.633 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002459/0.1878, allocations: 1.077 MB / 0.6432 GB, free: 7.551 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.16e-05/0.1878, allocations: 3.938 kB / 0.6433 GB, free: 7.547 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.803e-05/0.1879, allocations: 36 kB / 0.6433 GB, free: 7.512 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.917e-05/0.188, allocations: 23.94 kB / 0.6433 GB, free: 7.488 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002623/0.1906, allocations: 1.117 MB / 0.6444 GB, free: 6.367 MB / 462.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.006741/0.1974, allocations: 3.445 MB / 0.6478 GB, free: 2.773 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00224/0.1996, allocations: 1.431 MB / 0.6492 GB, free: 1.223 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001696/0.2013, allocations: 0.7851 MB / 0.6499 GB, free: 448 kB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001276/0.2015, allocations: 24.92 kB / 0.65 GB, free: 424 kB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.444e-05/0.2015, allocations: 39.56 kB / 0.65 GB, free: 376 kB / 462.1 MB Notification: Performance of pre-optimization done (n=97): time 2.876e-06/0.2015, allocations: 0 / 0.65 GB, free: 376 kB / 462.1 MB Notification: Performance of matching and sorting (n=97): time 0.02521/0.2267, allocations: 6.614 MB / 0.6564 GB, free: 9.719 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.897e-05/0.2268, allocations: 60.41 kB / 0.6565 GB, free: 9.648 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001332/0.2282, allocations: 0.9002 MB / 0.6574 GB, free: 8.73 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000233/0.2284, allocations: 41.7 kB / 0.6574 GB, free: 8.684 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003709/0.2288, allocations: 0.4975 MB / 0.6579 GB, free: 8.18 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003825/0.2292, allocations: 356.8 kB / 0.6583 GB, free: 7.828 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003973/0.2296, allocations: 202.9 kB / 0.6584 GB, free: 7.621 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001411/0.2297, allocations: 349.9 kB / 0.6588 GB, free: 7.273 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00165/0.2314, allocations: 0.7247 MB / 0.6595 GB, free: 6.551 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001746/0.2332, allocations: 0.8501 MB / 0.6603 GB, free: 5.668 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01861/0.2518, allocations: 4.826 MB / 0.665 GB, free: 0.8047 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.456e-06/0.2518, allocations: 0 / 0.665 GB, free: 0.8047 MB / 478.1 MB Notification: Performance of matching and sorting (n=147) (initialization): time 0.01364/0.2655, allocations: 4.285 MB / 0.6692 GB, free: 12.5 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.861e-05/0.2656, allocations: 4 kB / 0.6692 GB, free: 12.5 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.669e-05/0.2656, allocations: 7.938 kB / 0.6692 GB, free: 12.49 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006246/0.2719, allocations: 1.803 MB / 0.671 GB, free: 10.68 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001151/0.273, allocations: 211.7 kB / 0.6712 GB, free: 10.48 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0217/0.2948, allocations: 9.326 MB / 0.6803 GB, free: 0.9961 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001645/0.2964, allocations: 179.2 kB / 0.6805 GB, free: 0.8203 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001236/0.2966, allocations: 39.98 kB / 0.6805 GB, free: 0.7812 MB / 494.1 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.delta:VARIABLE(flow=false start = order3_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 (111): * Single equations (assignments): 110 * 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 {(25,12)} Notification: Performance of prepare postOptimizeDAE: time 0.0005718/0.2972, allocations: 245 kB / 0.6807 GB, free: 0.5352 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003221/0.2975, allocations: 123.2 kB / 0.6809 GB, free: 424 kB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.3421/0.6396, allocations: 4.014 MB / 0.6848 GB, free: 54.36 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.022e-05/0.6396, allocations: 9.219 kB / 0.6848 GB, free: 54.36 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.752e-06/0.6397, allocations: 2.516 kB / 0.6848 GB, free: 54.36 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.86e-05/0.6397, allocations: 10.69 kB / 0.6848 GB, free: 54.36 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01641/0.6561, allocations: 5.618 MB / 0.6903 GB, free: 53.19 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.405e-05/0.6562, allocations: 0 / 0.6903 GB, free: 53.19 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008632/0.657, allocations: 127.1 kB / 0.6904 GB, free: 53.18 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006306/0.6633, allocations: 1.748 MB / 0.6921 GB, free: 52.91 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002298/0.6636, allocations: 17.31 kB / 0.6921 GB, free: 52.89 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01836/0.682, allocations: 8.088 MB / 0.7 GB, free: 49.07 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.066e-06/0.682, allocations: 0 / 0.7 GB, free: 49.07 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01505/0.6971, allocations: 4.974 MB / 0.7049 GB, free: 47.16 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004515/0.6976, allocations: 208.2 kB / 0.7051 GB, free: 46.98 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001541/0.6977, allocations: 16.25 kB / 0.7051 GB, free: 46.97 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009889/0.6987, allocations: 109.5 kB / 0.7052 GB, free: 46.93 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000785/0.6995, allocations: 221.7 kB / 0.7054 GB, free: 46.79 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.887e-05/0.6996, allocations: 24.88 kB / 0.7054 GB, free: 46.79 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0007872/0.7004, allocations: 0.6099 MB / 0.706 GB, free: 46.43 MB / 494.1 MB Notification: Performance of sort global known variables: time 4.01e-07/0.7004, allocations: 0 / 0.706 GB, free: 46.43 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.001291/0.7017, allocations: 443.3 kB / 0.7065 GB, free: 46.38 MB / 494.1 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 (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.000272/0.702, allocations: 131.4 kB / 0.7066 GB, free: 46.27 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.00647/0.7085, allocations: 2.498 MB / 0.709 GB, free: 45.01 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.436e-06/0.7085, allocations: 2.25 kB / 0.709 GB, free: 45.01 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004357/0.7129, allocations: 1.609 MB / 0.7106 GB, free: 44.16 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007431/0.7136, allocations: 90.2 kB / 0.7107 GB, free: 44.1 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003386/0.717, allocations: 2.037 MB / 0.7127 GB, free: 42.86 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004973/0.7175, allocations: 1.093 MB / 0.7137 GB, free: 42 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0003384/0.7179, allocations: 90.91 kB / 0.7138 GB, free: 41.95 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002186/0.7181, allocations: 63.3 kB / 0.7139 GB, free: 41.93 MB / 494.1 MB Notification: Performance of SimCode: time 1.102e-06/0.7181, allocations: 3.594 kB / 0.7139 GB, free: 41.93 MB / 494.1 MB Notification: Performance of Templates: time 0.02843/0.7466, allocations: 23.92 MB / 0.7372 GB, free: 18.09 MB / 494.1 MB make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.makefile (rm -f OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.sim & ./OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.pipe 2>&1)