Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2_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.Order3test2_perturbation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation") translateModel(OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005365/0.005365, allocations: 101.6 kB / 15.73 MB, free: 6.477 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.329/1.329, allocations: 222.9 MB / 239.4 MB, free: 4.539 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.001301/0.001301, allocations: 187.5 kB / 289.7 MB, free: 2.266 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5726/0.5726, allocations: 91.9 MB / 431.8 MB, free: 9.172 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002678/0.002678, allocations: 83.28 kB / 0.5727 GB, free: 33.84 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1392/0.1419, allocations: 71.28 MB / 0.6423 GB, free: 3.699 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation): time 0.007343/0.1493, allocations: 6.474 MB / 0.6487 GB, free: 13.19 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.003927/0.1532, allocations: 1.857 MB / 0.6505 GB, free: 11.33 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009817/0.1543, allocations: 19.94 kB / 0.6505 GB, free: 11.31 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006948/0.155, allocations: 226 kB / 0.6507 GB, free: 11.09 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002099/0.1571, allocations: 0.7598 MB / 0.6515 GB, free: 10.33 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001403/0.1585, allocations: 0.6074 MB / 0.652 GB, free: 9.727 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.001703/0.1602, allocations: 1.417 MB / 0.6534 GB, free: 8.305 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005205/0.1608, allocations: 332.3 kB / 0.6537 GB, free: 7.969 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008093/0.1616, allocations: 0.5912 MB / 0.6543 GB, free: 7.375 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007354/0.1623, allocations: 0.7349 MB / 0.655 GB, free: 6.637 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001339/0.1625, allocations: 104 kB / 0.6551 GB, free: 6.535 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004008/0.1629, allocations: 243.9 kB / 0.6554 GB, free: 6.297 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002248/0.1631, allocations: 278.8 kB / 0.6556 GB, free: 6.023 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005019/0.1636, allocations: 0.629 MB / 0.6563 GB, free: 5.391 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001404/0.165, allocations: 1.518 MB / 0.6577 GB, free: 3.867 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.1651, allocations: 0 / 0.6577 GB, free: 3.867 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.1651, allocations: 0 / 0.6577 GB, free: 3.867 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.318e-05/0.1651, allocations: 0 / 0.6577 GB, free: 3.867 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.007857/0.1729, allocations: 2.564 MB / 0.6602 GB, free: 1.25 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.236e-05/0.173, allocations: 8.031 kB / 0.6602 GB, free: 1.242 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004982/0.178, allocations: 0.7749 MB / 0.661 GB, free: 476 kB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001312/0.1793, allocations: 0.7803 MB / 0.6618 GB, free: 15.62 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002899/0.1796, allocations: 256.2 kB / 0.662 GB, free: 15.34 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001503/0.1798, allocations: 80 kB / 0.6621 GB, free: 15.26 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00239/0.1822, allocations: 1.073 MB / 0.6631 GB, free: 14.18 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.903e-05/0.1822, allocations: 7.938 kB / 0.6631 GB, free: 14.17 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.792e-05/0.1823, allocations: 32 kB / 0.6632 GB, free: 14.14 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.915e-05/0.1824, allocations: 20 kB / 0.6632 GB, free: 14.12 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002467/0.1848, allocations: 1.124 MB / 0.6643 GB, free: 13 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.005741/0.1906, allocations: 3.432 MB / 0.6676 GB, free: 9.41 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002215/0.1928, allocations: 1.423 MB / 0.669 GB, free: 7.867 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001738/0.1946, allocations: 0.7812 MB / 0.6698 GB, free: 7.082 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.797e-05/0.1947, allocations: 24.98 kB / 0.6698 GB, free: 7.059 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.837e-05/0.1947, allocations: 43.55 kB / 0.6699 GB, free: 7.008 MB / 478.1 MB Notification: Performance of pre-optimization done (n=97): time 3.376e-06/0.1947, allocations: 0 / 0.6699 GB, free: 7.008 MB / 478.1 MB Notification: Performance of matching and sorting (n=97): time 0.02645/0.2212, allocations: 6.606 MB / 0.6763 GB, free: 376 kB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.143e-05/0.2213, allocations: 60.41 kB / 0.6764 GB, free: 304 kB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001434/0.2227, allocations: 0.9002 MB / 0.6772 GB, free: 15.38 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000315/0.2231, allocations: 45.7 kB / 0.6773 GB, free: 15.33 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003667/0.2234, allocations: 0.489 MB / 0.6778 GB, free: 14.83 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003655/0.2238, allocations: 347 kB / 0.6781 GB, free: 14.49 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003876/0.2242, allocations: 202.8 kB / 0.6783 GB, free: 14.28 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001491/0.2244, allocations: 349.9 kB / 0.6786 GB, free: 13.93 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001712/0.2261, allocations: 0.7209 MB / 0.6793 GB, free: 13.21 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001805/0.2279, allocations: 0.854 MB / 0.6802 GB, free: 12.33 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01938/0.2473, allocations: 4.826 MB / 0.6849 GB, free: 7.469 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.816e-06/0.2473, allocations: 4 kB / 0.6849 GB, free: 7.465 MB / 494.1 MB Notification: Performance of matching and sorting (n=147) (initialization): time 0.01445/0.2618, allocations: 4.269 MB / 0.6891 GB, free: 3.18 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.706e-05/0.2618, allocations: 4 kB / 0.6891 GB, free: 3.176 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.387e-05/0.2619, allocations: 7.938 kB / 0.6891 GB, free: 3.168 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006749/0.2686, allocations: 1.807 MB / 0.6908 GB, free: 1.355 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00118/0.2698, allocations: 219.7 kB / 0.691 GB, free: 1.141 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02357/0.2934, allocations: 9.317 MB / 0.7001 GB, free: 7.668 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001774/0.2952, allocations: 182.9 kB / 0.7003 GB, free: 7.488 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002444/0.2955, allocations: 39.98 kB / 0.7003 GB, free: 7.449 MB / 0.4981 GB 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.0006425/0.2962, allocations: 239.6 kB / 0.7006 GB, free: 7.207 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003005/0.2965, allocations: 126.4 kB / 0.7007 GB, free: 7.082 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01409/0.3106, allocations: 4.014 MB / 0.7046 GB, free: 3.051 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.97e-05/0.3106, allocations: 12 kB / 0.7046 GB, free: 3.039 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/0.3106, allocations: 0 / 0.7046 GB, free: 3.039 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.026e-05/0.3107, allocations: 3.984 kB / 0.7046 GB, free: 3.035 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01653/0.3272, allocations: 5.621 MB / 0.7101 GB, free: 13.28 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.949e-06/0.3272, allocations: 0 / 0.7101 GB, free: 13.28 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007948/0.328, allocations: 135.8 kB / 0.7103 GB, free: 13.14 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006366/0.3344, allocations: 1.737 MB / 0.7119 GB, free: 11.4 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001708/0.3346, allocations: 19.98 kB / 0.712 GB, free: 11.38 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02086/0.3555, allocations: 8.072 MB / 0.7199 GB, free: 3.164 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.56e-06/0.3556, allocations: 0 / 0.7199 GB, free: 3.164 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0163/0.3719, allocations: 4.964 MB / 0.7247 GB, free: 14.18 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003923/0.3723, allocations: 207.4 kB / 0.7249 GB, free: 13.95 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002744/0.3726, allocations: 16 kB / 0.7249 GB, free: 13.94 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001181/0.3738, allocations: 115.8 kB / 0.725 GB, free: 13.82 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007463/0.3745, allocations: 224.6 kB / 0.7252 GB, free: 13.61 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.676e-05/0.3746, allocations: 20 kB / 0.7253 GB, free: 13.59 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0008218/0.3755, allocations: 0.6008 MB / 0.7258 GB, free: 12.98 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.61e-07/0.3755, allocations: 0 / 0.7258 GB, free: 12.98 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.00131/0.3768, allocations: 443.4 kB / 0.7263 GB, free: 12.54 MB / 0.5294 GB 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.0002821/0.3771, allocations: 127.2 kB / 0.7264 GB, free: 12.41 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.007498/0.3846, allocations: 2.499 MB / 0.7288 GB, free: 9.895 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.986e-06/0.3846, allocations: 0 / 0.7288 GB, free: 9.895 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.004952/0.3896, allocations: 1.589 MB / 0.7304 GB, free: 8.293 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008223/0.3904, allocations: 88.36 kB / 0.7305 GB, free: 8.203 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004024/0.3944, allocations: 2.008 MB / 0.7324 GB, free: 6.168 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007042/0.3952, allocations: 1.099 MB / 0.7335 GB, free: 5.043 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0003721/0.3955, allocations: 90.77 kB / 0.7336 GB, free: 4.949 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00026/0.3958, allocations: 75.41 kB / 0.7337 GB, free: 4.875 MB / 0.5294 GB Notification: Performance of SimCode: time 5.01e-07/0.3958, allocations: 0 / 0.7337 GB, free: 4.875 MB / 0.5294 GB Notification: Performance of Templates: time 0.03491/0.4307, allocations: 23.9 MB / 0.757 GB, free: 12.98 MB / 0.5606 GB make -j1 -f OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.makefile (rm -f OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.sim & ./OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.pipe 2>&1)