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.001503/0.001503, allocations: 112.6 kB / 16.37 MB, free: 6 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.313/1.313, allocations: 222.9 MB / 240 MB, free: 4.555 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.00115/0.00115, allocations: 196.4 kB / 290.3 MB, free: 2.277 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4589/0.4589, allocations: 91.89 MB / 432.4 MB, free: 9.184 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001529/0.00153, allocations: 79.88 kB / 0.5033 GB, free: 6.984 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2679/0.2695, allocations: 71.26 MB / 0.5729 GB, free: 37.18 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation): time 0.004814/0.2743, allocations: 6.462 MB / 0.5792 GB, free: 33.29 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002414/0.2768, allocations: 1.867 MB / 0.581 GB, free: 31.98 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003154/0.2771, allocations: 12.72 kB / 0.581 GB, free: 31.97 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003569/0.2774, allocations: 236.1 kB / 0.5812 GB, free: 31.84 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001118/0.2786, allocations: 0.7066 MB / 0.5819 GB, free: 31.38 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008681/0.2795, allocations: 0.6152 MB / 0.5825 GB, free: 31.07 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008471/0.2803, allocations: 1.417 MB / 0.5839 GB, free: 30.36 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000353/0.2807, allocations: 331.8 kB / 0.5842 GB, free: 30.22 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004018/0.2811, allocations: 0.5856 MB / 0.5848 GB, free: 29.93 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004976/0.2816, allocations: 0.7313 MB / 0.5855 GB, free: 29.57 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001125/0.2817, allocations: 105 kB / 0.5856 GB, free: 29.57 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003076/0.282, allocations: 242.5 kB / 0.5859 GB, free: 29.52 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001461/0.2822, allocations: 279.9 kB / 0.5861 GB, free: 29.34 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003195/0.2825, allocations: 0.6229 MB / 0.5867 GB, free: 28.91 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009029/0.2834, allocations: 1.528 MB / 0.5882 GB, free: 28.21 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.2834, allocations: 0 / 0.5882 GB, free: 28.21 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.2834, allocations: 1.188 kB / 0.5882 GB, free: 28.21 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.81e-05/0.2835, allocations: 0 / 0.5882 GB, free: 28.21 MB / 430.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.006475/0.2899, allocations: 2.561 MB / 0.5907 GB, free: 27.03 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.804e-05/0.29, allocations: 7.969 kB / 0.5907 GB, free: 27.03 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004458/0.2944, allocations: 0.7713 MB / 0.5915 GB, free: 26.88 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009195/0.2954, allocations: 0.7802 MB / 0.5922 GB, free: 26.31 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002/0.2956, allocations: 265.3 kB / 0.5925 GB, free: 26.09 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001349/0.2957, allocations: 75.22 kB / 0.5926 GB, free: 26.06 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001829/0.2976, allocations: 1.076 MB / 0.5936 GB, free: 25.68 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.593e-05/0.2976, allocations: 5.531 kB / 0.5936 GB, free: 25.67 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.754e-05/0.2977, allocations: 36.44 kB / 0.5937 GB, free: 25.64 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.508e-05/0.2977, allocations: 19.19 kB / 0.5937 GB, free: 25.64 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002072/0.2998, allocations: 1.121 MB / 0.5948 GB, free: 25.3 MB / 430.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.004606/0.3044, allocations: 3.445 MB / 0.5981 GB, free: 23.33 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001717/0.3061, allocations: 1.424 MB / 0.5995 GB, free: 22.39 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00133/0.3074, allocations: 0.7889 MB / 0.6003 GB, free: 22.09 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001062/0.3076, allocations: 14.55 kB / 0.6003 GB, free: 22.09 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.076e-05/0.3076, allocations: 43.16 kB / 0.6004 GB, free: 22.04 MB / 430.1 MB Notification: Performance of pre-optimization done (n=97): time 2.314e-06/0.3076, allocations: 0 / 0.6004 GB, free: 22.04 MB / 430.1 MB Notification: Performance of matching and sorting (n=97): time 0.02286/0.3305, allocations: 6.607 MB / 0.6068 GB, free: 20.79 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.732e-05/0.3305, allocations: 62.56 kB / 0.6069 GB, free: 20.72 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001306/0.3319, allocations: 0.9012 MB / 0.6078 GB, free: 20.34 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001151/0.332, allocations: 41.52 kB / 0.6078 GB, free: 20.3 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002949/0.3323, allocations: 498.6 kB / 0.6083 GB, free: 19.91 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003323/0.3326, allocations: 350.2 kB / 0.6086 GB, free: 19.63 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004117/0.3331, allocations: 201.6 kB / 0.6088 GB, free: 19.54 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 7.79e-05/0.3331, allocations: 349.6 kB / 0.6091 GB, free: 19.21 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001621/0.3348, allocations: 0.7205 MB / 0.6098 GB, free: 18.96 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00201/0.3368, allocations: 0.8508 MB / 0.6107 GB, free: 18.6 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01786/0.3547, allocations: 4.832 MB / 0.6154 GB, free: 17.02 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.337e-06/0.3547, allocations: 1.531 kB / 0.6154 GB, free: 17.02 MB / 430.1 MB Notification: Performance of matching and sorting (n=147) (initialization): time 0.01208/0.3668, allocations: 4.271 MB / 0.6195 GB, free: 14.21 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.754e-05/0.3668, allocations: 8 kB / 0.6196 GB, free: 14.21 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.242e-05/0.3669, allocations: 3.938 kB / 0.6196 GB, free: 14.2 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005288/0.3722, allocations: 1.811 MB / 0.6213 GB, free: 12.39 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009985/0.3732, allocations: 211.7 kB / 0.6215 GB, free: 12.18 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01806/0.3913, allocations: 9.319 MB / 0.6306 GB, free: 2.719 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001486/0.3928, allocations: 171 kB / 0.6308 GB, free: 2.551 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002109/0.393, allocations: 43.98 kB / 0.6308 GB, free: 2.508 MB / 430.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.0005489/0.3936, allocations: 249.3 kB / 0.6311 GB, free: 2.258 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002894/0.3939, allocations: 118.5 kB / 0.6312 GB, free: 2.141 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01148/0.4053, allocations: 4.014 MB / 0.6351 GB, free: 14.11 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.618e-05/0.4054, allocations: 12 kB / 0.6351 GB, free: 14.09 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.611e-06/0.4054, allocations: 3.984 kB / 0.6351 GB, free: 14.09 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.752e-05/0.4054, allocations: 3.984 kB / 0.6351 GB, free: 14.09 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01428/0.4197, allocations: 5.614 MB / 0.6406 GB, free: 8.34 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.223e-05/0.4198, allocations: 0 / 0.6406 GB, free: 8.34 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007393/0.4205, allocations: 127.8 kB / 0.6407 GB, free: 8.215 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006033/0.4266, allocations: 1.756 MB / 0.6424 GB, free: 6.453 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002244/0.4268, allocations: 16 kB / 0.6425 GB, free: 6.438 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01938/0.4462, allocations: 8.057 MB / 0.6503 GB, free: 14.23 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.508e-06/0.4462, allocations: 7.938 kB / 0.6503 GB, free: 14.22 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01512/0.4614, allocations: 4.964 MB / 0.6552 GB, free: 9.234 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004752/0.4619, allocations: 207.4 kB / 0.6554 GB, free: 9.012 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003585/0.4623, allocations: 19.94 kB / 0.6554 GB, free: 8.992 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001209/0.4635, allocations: 115.8 kB / 0.6555 GB, free: 8.879 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007906/0.4643, allocations: 216.7 kB / 0.6557 GB, free: 8.664 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001239/0.4644, allocations: 24 kB / 0.6557 GB, free: 8.641 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001005/0.4654, allocations: 0.6008 MB / 0.6563 GB, free: 8.031 MB / 462.1 MB Notification: Performance of sort global known variables: time 2.51e-07/0.4654, allocations: 0 / 0.6563 GB, free: 8.031 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.00155/0.467, allocations: 443.4 kB / 0.6568 GB, free: 7.598 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 (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.0002956/0.4673, allocations: 135.2 kB / 0.6569 GB, free: 7.457 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.006604/0.4739, allocations: 2.5 MB / 0.6593 GB, free: 4.941 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/0.4739, allocations: 0.5625 kB / 0.6593 GB, free: 4.941 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004424/0.4784, allocations: 1.598 MB / 0.6609 GB, free: 3.344 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008793/0.4793, allocations: 84.42 kB / 0.661 GB, free: 3.258 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003712/0.483, allocations: 1.997 MB / 0.6629 GB, free: 1.238 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006123/0.4836, allocations: 1.095 MB / 0.664 GB, free: 116 kB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0003275/0.484, allocations: 90.75 kB / 0.6641 GB, free: 20 kB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002384/0.4842, allocations: 71.42 kB / 0.6641 GB, free: 15.95 MB / 478.1 MB Notification: Performance of SimCode: time 8.62e-07/0.4842, allocations: 0 / 0.6641 GB, free: 15.95 MB / 478.1 MB Notification: Performance of Templates: time 0.03415/0.5184, allocations: 23.71 MB / 0.6873 GB, free: 8.273 MB / 494.1 MB 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 -s gbode -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.pipe 2>&1)