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/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/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/package.mo): time 0.08397/0.08397, allocations: 12.2 MB / 27.18 MB, free: 104 kB / 19.63 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007644/0.0007643, allocations: 108.5 kB / 30.68 MB, free: 6.395 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.369/1.369, allocations: 205.4 MB / 239.5 MB, free: 10.69 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.001107/0.001107, allocations: 196.3 kB / 290.6 MB, free: 8.102 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4207/0.4207, allocations: 78.53 MB / 420.1 MB, free: 6.523 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.0008512/0.0008513, allocations: 32.78 kB / 0.4895 GB, free: 38 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1123/0.1131, allocations: 69.24 MB / 0.5571 GB, free: 8.762 MB / 382.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation): time 0.00593/0.1191, allocations: 5.957 MB / 0.5629 GB, free: 2.777 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.004199/0.1233, allocations: 1.776 MB / 0.5646 GB, free: 0.9961 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001328/0.1247, allocations: 12 kB / 0.5646 GB, free: 0.9844 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009198/0.1257, allocations: 158.7 kB / 0.5648 GB, free: 0.8281 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002225/0.1279, allocations: 0.5981 MB / 0.5654 GB, free: 236 kB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001353/0.1293, allocations: 0.5104 MB / 0.5659 GB, free: 15.73 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001598/0.1309, allocations: 1.285 MB / 0.5671 GB, free: 14.44 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004322/0.1313, allocations: 261.7 kB / 0.5674 GB, free: 14.16 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006211/0.1319, allocations: 0.5093 MB / 0.5679 GB, free: 13.65 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007074/0.1327, allocations: 0.6377 MB / 0.5685 GB, free: 13.01 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001287/0.1328, allocations: 52 kB / 0.5685 GB, free: 12.96 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000435/0.1332, allocations: 175.9 kB / 0.5687 GB, free: 12.79 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001938/0.1334, allocations: 218.8 kB / 0.5689 GB, free: 12.57 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000187/0.1336, allocations: 225 kB / 0.5691 GB, free: 12.35 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00114/0.1348, allocations: 1.099 MB / 0.5702 GB, free: 11.25 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.214e-06/0.1348, allocations: 0 / 0.5702 GB, free: 11.25 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.064e-06/0.1348, allocations: 0 / 0.5702 GB, free: 11.25 MB / 398.1 MB Notification: Performance of Transformations before backend: time 2.296e-05/0.1348, allocations: 0 / 0.5702 GB, free: 11.25 MB / 398.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.007055/0.1419, allocations: 2.408 MB / 0.5726 GB, free: 8.785 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.079e-05/0.142, allocations: 11.98 kB / 0.5726 GB, free: 8.773 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004758/0.1467, allocations: 0.7866 MB / 0.5733 GB, free: 7.984 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001227/0.148, allocations: 0.7265 MB / 0.574 GB, free: 7.203 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002748/0.1483, allocations: 272.1 kB / 0.5743 GB, free: 6.898 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001395/0.1484, allocations: 80 kB / 0.5744 GB, free: 6.82 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00227/0.1507, allocations: 1.163 MB / 0.5755 GB, free: 5.652 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.731e-05/0.1507, allocations: 0 / 0.5755 GB, free: 5.652 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.573e-05/0.1508, allocations: 36 kB / 0.5756 GB, free: 5.617 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.675e-05/0.1508, allocations: 20 kB / 0.5756 GB, free: 5.598 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002443/0.1533, allocations: 1.234 MB / 0.5768 GB, free: 4.363 MB / 398.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.005732/0.159, allocations: 3.526 MB / 0.5802 GB, free: 0.6797 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002168/0.1612, allocations: 1.521 MB / 0.5817 GB, free: 15.04 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001608/0.1628, allocations: 0.8672 MB / 0.5826 GB, free: 14.17 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001179/0.163, allocations: 20.89 kB / 0.5826 GB, free: 14.15 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.73e-05/0.163, allocations: 43.56 kB / 0.5826 GB, free: 14.1 MB / 414.1 MB Notification: Performance of pre-optimization done (n=97): time 3.697e-06/0.163, allocations: 0 / 0.5826 GB, free: 14.1 MB / 414.1 MB Notification: Performance of matching and sorting (n=97): time 0.0238/0.1868, allocations: 8.168 MB / 0.5906 GB, free: 5.902 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.268e-05/0.1869, allocations: 60.41 kB / 0.5907 GB, free: 5.828 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001245/0.1882, allocations: 0.8924 MB / 0.5915 GB, free: 4.918 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001822/0.1884, allocations: 37.7 kB / 0.5916 GB, free: 4.875 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003908/0.1888, allocations: 0.493 MB / 0.592 GB, free: 4.375 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003618/0.1892, allocations: 346.9 kB / 0.5924 GB, free: 4.031 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.848e-05/0.1892, allocations: 24 kB / 0.5924 GB, free: 4.008 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001513/0.1894, allocations: 357.9 kB / 0.5927 GB, free: 3.652 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001624/0.191, allocations: 0.8029 MB / 0.5935 GB, free: 2.852 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001752/0.1928, allocations: 0.9438 MB / 0.5944 GB, free: 1.875 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001705/0.1945, allocations: 0.855 MB / 0.5953 GB, free: 1.02 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.612e-06/0.1945, allocations: 4 kB / 0.5953 GB, free: 1.016 MB / 414.1 MB Notification: Performance of matching and sorting (n=147) (initialization): time 0.01324/0.2078, allocations: 5.207 MB / 0.6004 GB, free: 11.79 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.99e-05/0.2078, allocations: 8 kB / 0.6004 GB, free: 11.79 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.222e-05/0.2079, allocations: 3.938 kB / 0.6004 GB, free: 11.78 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006052/0.2139, allocations: 2.112 MB / 0.6024 GB, free: 9.664 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001096/0.215, allocations: 231.7 kB / 0.6027 GB, free: 9.438 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01953/0.2346, allocations: 9.525 MB / 0.612 GB, free: 15.77 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001387/0.236, allocations: 222.9 kB / 0.6122 GB, free: 15.55 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001117/0.2361, allocations: 39.98 kB / 0.6122 GB, free: 15.52 MB / 446.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.e1q:VARIABLE(start = order3_Inputs_Outputs1.e1q0 unit = "1" fixed = true ) "q-axis transient voltage" 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 (112): * Single equations (assignments): 111 * 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 {25 11} Notification: Performance of prepare postOptimizeDAE: time 0.000472/0.2366, allocations: 245.6 kB / 0.6124 GB, free: 15.27 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001917/0.2368, allocations: 126.4 kB / 0.6126 GB, free: 15.14 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01254/0.2494, allocations: 4.948 MB / 0.6174 GB, free: 10.18 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.262e-05/0.2494, allocations: 12 kB / 0.6174 GB, free: 10.16 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/0.2494, allocations: 3.984 kB / 0.6174 GB, free: 10.16 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.688e-05/0.2494, allocations: 3.984 kB / 0.6174 GB, free: 10.16 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0143/0.2637, allocations: 6.559 MB / 0.6238 GB, free: 3.457 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.848e-06/0.2638, allocations: 0 / 0.6238 GB, free: 3.457 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007391/0.2645, allocations: 147.8 kB / 0.624 GB, free: 3.312 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005671/0.2702, allocations: 2.054 MB / 0.626 GB, free: 1.254 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001623/0.2704, allocations: 19.98 kB / 0.626 GB, free: 1.234 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01686/0.2873, allocations: 8.214 MB / 0.634 GB, free: 8.883 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.485e-06/0.2873, allocations: 0 / 0.634 GB, free: 8.883 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01495/0.3023, allocations: 5.982 MB / 0.6399 GB, free: 2.879 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004193/0.3027, allocations: 207.4 kB / 0.64 GB, free: 2.656 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000275/0.303, allocations: 23.89 kB / 0.6401 GB, free: 2.633 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001062/0.3041, allocations: 155.9 kB / 0.6402 GB, free: 2.48 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007655/0.3049, allocations: 224.6 kB / 0.6404 GB, free: 2.262 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001053/0.305, allocations: 20 kB / 0.6405 GB, free: 2.242 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0009833/0.306, allocations: 0.5969 MB / 0.641 GB, free: 1.637 MB / 462.1 MB Notification: Performance of sort global known variables: time 2.3e-07/0.306, allocations: 0 / 0.641 GB, free: 1.637 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001655/0.3077, allocations: 435.5 kB / 0.6415 GB, free: 1.211 MB / 462.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 (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.0003406/0.308, allocations: 127.2 kB / 0.6416 GB, free: 1.074 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.006783/0.3148, allocations: 2.767 MB / 0.6443 GB, free: 14.3 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 4.038e-06/0.3149, allocations: 0.5625 kB / 0.6443 GB, free: 14.3 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004793/0.3197, allocations: 1.805 MB / 0.646 GB, free: 12.48 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001262/0.321, allocations: 84.42 kB / 0.6461 GB, free: 12.4 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004458/0.3254, allocations: 2.36 MB / 0.6484 GB, free: 10.02 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007771/0.3262, allocations: 1.095 MB / 0.6495 GB, free: 8.895 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0004737/0.3267, allocations: 90.77 kB / 0.6496 GB, free: 8.801 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000255/0.327, allocations: 63.41 kB / 0.6496 GB, free: 8.738 MB / 478.1 MB Notification: Performance of SimCode: time 1.433e-06/0.327, allocations: 3.938 kB / 0.6496 GB, free: 8.734 MB / 478.1 MB Notification: Performance of Templates: time 0.2663/0.5933, allocations: 20.14 MB / 0.6693 GB, free: 93.85 MB / 478.1 MB make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: