Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_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.0.1/package.mo", uses=false) Using package OpenIPSL with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/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_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation") translateModel(OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_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.001525/0.001525, allocations: 106.3 kB / 16.41 MB, free: 6.488 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.372/1.372, allocations: 222.9 MB / 240.1 MB, free: 4.387 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.001457/0.001457, allocations: 188.5 kB / 290.4 MB, free: 2.113 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.465/0.465, allocations: 78.54 MB / 419.1 MB, free: 3.188 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001678/0.001678, allocations: 72.39 kB / 0.5543 GB, free: 0.9688 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2961/0.2978, allocations: 68.18 MB / 0.6209 GB, free: 9.707 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation): time 0.005181/0.303, allocations: 6.379 MB / 0.6271 GB, free: 3.805 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002735/0.3058, allocations: 1.845 MB / 0.6289 GB, free: 1.953 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005866/0.3064, allocations: 15.94 kB / 0.6289 GB, free: 1.938 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004738/0.3069, allocations: 222 kB / 0.6291 GB, free: 1.719 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001476/0.3084, allocations: 0.7151 MB / 0.6298 GB, free: 1.004 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001105/0.3095, allocations: 0.5996 MB / 0.6304 GB, free: 420 kB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001306/0.3108, allocations: 1.398 MB / 0.6318 GB, free: 15.01 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004513/0.3113, allocations: 328.3 kB / 0.6321 GB, free: 14.68 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006854/0.312, allocations: 0.5912 MB / 0.6327 GB, free: 14.09 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007837/0.3128, allocations: 0.7232 MB / 0.6334 GB, free: 13.36 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001627/0.313, allocations: 103.9 kB / 0.6335 GB, free: 13.26 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004758/0.3134, allocations: 235.8 kB / 0.6337 GB, free: 13.03 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002221/0.3137, allocations: 278.8 kB / 0.634 GB, free: 12.75 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004822/0.3142, allocations: 0.6213 MB / 0.6346 GB, free: 12.13 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001382/0.3155, allocations: 1.5 MB / 0.636 GB, free: 10.63 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.492e-06/0.3156, allocations: 4 kB / 0.636 GB, free: 10.62 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.784e-06/0.3156, allocations: 0 / 0.636 GB, free: 10.62 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.639e-05/0.3156, allocations: 0 / 0.636 GB, free: 10.62 MB / 446.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.008076/0.3237, allocations: 2.54 MB / 0.6385 GB, free: 8.027 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.543e-05/0.3237, allocations: 8.031 kB / 0.6385 GB, free: 8.02 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005134/0.3289, allocations: 0.7749 MB / 0.6393 GB, free: 7.242 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001229/0.3301, allocations: 0.7722 MB / 0.64 GB, free: 6.414 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002843/0.3304, allocations: 256.2 kB / 0.6403 GB, free: 6.129 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002077/0.3306, allocations: 72 kB / 0.6404 GB, free: 6.059 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002421/0.3331, allocations: 1.081 MB / 0.6414 GB, free: 4.973 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.505e-05/0.3331, allocations: 7.875 kB / 0.6414 GB, free: 4.965 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001017/0.3332, allocations: 28 kB / 0.6414 GB, free: 4.938 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.659e-05/0.3332, allocations: 20 kB / 0.6415 GB, free: 4.918 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002585/0.3358, allocations: 1.117 MB / 0.6426 GB, free: 3.797 MB / 446.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.006165/0.342, allocations: 3.412 MB / 0.6459 GB, free: 236 kB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002291/0.3443, allocations: 1.411 MB / 0.6473 GB, free: 14.71 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001776/0.3461, allocations: 0.7851 MB / 0.648 GB, free: 13.92 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001209/0.3462, allocations: 16.97 kB / 0.648 GB, free: 13.9 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.819e-05/0.3463, allocations: 43.56 kB / 0.6481 GB, free: 13.85 MB / 462.1 MB Notification: Performance of pre-optimization done (n=96): time 3.627e-06/0.3463, allocations: 0 / 0.6481 GB, free: 13.85 MB / 462.1 MB Notification: Performance of matching and sorting (n=96): time 0.02831/0.3746, allocations: 6.75 MB / 0.6547 GB, free: 7.062 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.753e-05/0.3747, allocations: 60.41 kB / 0.6547 GB, free: 6.988 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001232/0.376, allocations: 0.876 MB / 0.6556 GB, free: 6.094 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001923/0.3762, allocations: 49.69 kB / 0.6556 GB, free: 6.039 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003764/0.3765, allocations: 0.4889 MB / 0.6561 GB, free: 5.543 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004536/0.377, allocations: 339.1 kB / 0.6564 GB, free: 5.207 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005123/0.3775, allocations: 194.8 kB / 0.6566 GB, free: 5.008 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001485/0.3777, allocations: 349.9 kB / 0.657 GB, free: 4.66 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001722/0.3794, allocations: 0.7131 MB / 0.6577 GB, free: 3.949 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001821/0.3812, allocations: 0.8423 MB / 0.6585 GB, free: 3.074 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01977/0.401, allocations: 4.783 MB / 0.6631 GB, free: 14.25 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.029e-05/0.4011, allocations: 0 / 0.6631 GB, free: 14.25 MB / 478.1 MB Notification: Performance of matching and sorting (n=143) (initialization): time 0.01501/0.4161, allocations: 4.261 MB / 0.6673 GB, free: 9.977 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.43e-05/0.4162, allocations: 4 kB / 0.6673 GB, free: 9.973 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.289e-05/0.4162, allocations: 8 kB / 0.6673 GB, free: 9.965 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006769/0.423, allocations: 1.866 MB / 0.6691 GB, free: 8.094 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001114/0.4241, allocations: 207.6 kB / 0.6693 GB, free: 7.891 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0226/0.4467, allocations: 9.073 MB / 0.6782 GB, free: 14.67 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001502/0.4482, allocations: 178.9 kB / 0.6784 GB, free: 14.49 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001551/0.4484, allocations: 39.98 kB / 0.6784 GB, free: 14.45 MB / 494.1 MB 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.0005256/0.4489, allocations: 237.6 kB / 0.6786 GB, free: 14.21 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002835/0.4492, allocations: 118.5 kB / 0.6788 GB, free: 14.09 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01425/0.4635, allocations: 4.006 MB / 0.6827 GB, free: 10.07 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-05/0.4635, allocations: 12 kB / 0.6827 GB, free: 10.06 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.4635, allocations: 3.938 kB / 0.6827 GB, free: 10.06 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.613e-05/0.4636, allocations: 7.969 kB / 0.6827 GB, free: 10.05 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0164/0.48, allocations: 5.614 MB / 0.6882 GB, free: 4.301 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.234e-06/0.48, allocations: 0 / 0.6882 GB, free: 4.301 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007344/0.4807, allocations: 127.9 kB / 0.6883 GB, free: 4.176 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006471/0.4872, allocations: 1.749 MB / 0.69 GB, free: 2.422 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001438/0.4874, allocations: 19.94 kB / 0.69 GB, free: 2.402 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02026/0.5077, allocations: 8.068 MB / 0.6979 GB, free: 10.19 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.713e-06/0.5077, allocations: 3.984 kB / 0.6979 GB, free: 10.18 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0164/0.5241, allocations: 4.964 MB / 0.7027 GB, free: 5.199 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003426/0.5245, allocations: 203.4 kB / 0.7029 GB, free: 4.98 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002443/0.5247, allocations: 16 kB / 0.703 GB, free: 4.965 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001155/0.5259, allocations: 107.9 kB / 0.7031 GB, free: 4.859 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007147/0.5266, allocations: 220.7 kB / 0.7033 GB, free: 4.641 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.047e-05/0.5267, allocations: 23.94 kB / 0.7033 GB, free: 4.617 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0008157/0.5276, allocations: 0.5927 MB / 0.7039 GB, free: 4.016 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.7e-07/0.5276, allocations: 4 kB / 0.7039 GB, free: 4.012 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001357/0.5289, allocations: 435.5 kB / 0.7043 GB, free: 3.586 MB / 0.4981 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.0003042/0.5292, allocations: 127.1 kB / 0.7044 GB, free: 3.449 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.007366/0.5366, allocations: 2.476 MB / 0.7068 GB, free: 0.9531 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.896e-06/0.5366, allocations: 4.125 kB / 0.7068 GB, free: 0.9492 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.005235/0.5419, allocations: 1.589 MB / 0.7084 GB, free: 15.35 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008298/0.5427, allocations: 90.45 kB / 0.7085 GB, free: 15.27 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003921/0.5467, allocations: 1.961 MB / 0.7104 GB, free: 13.26 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007087/0.5474, allocations: 1.084 MB / 0.7114 GB, free: 12.15 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003764/0.5478, allocations: 75.42 kB / 0.7115 GB, free: 12.08 MB / 0.5137 GB Notification: Performance of SimCode: time 6.91e-07/0.5478, allocations: 0 / 0.7115 GB, free: 12.08 MB / 0.5137 GB Notification: Performance of Templates: time 0.02965/0.5775, allocations: 20.01 MB / 0.7311 GB, free: 8.043 MB / 0.5294 GB make -j1 -f OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.makefile (rm -f OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.sim & ./OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.pipe 2>&1)