Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2_TG.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.Order3test2_TG,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2_TG") translateModel(OpenIPSL.Tests.Machines.PSAT.Order3test2_TG,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2_TG") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001225/0.001225, allocations: 89.81 kB / 15.36 MB, free: 0.7383 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.339/1.339, allocations: 223.3 MB / 239.4 MB, free: 5.547 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.001/0.001001, allocations: 188.5 kB / 290.6 MB, free: 2.211 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4566/0.4566, allocations: 78.55 MB / 420.3 MB, free: 4.234 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000326/0.000326, allocations: 12 kB / 0.4887 GB, free: 6.09 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1125/0.1129, allocations: 69.37 MB / 0.5564 GB, free: 0.6641 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order3test2_TG): time 0.2503/0.3632, allocations: 6.187 MB / 0.5624 GB, free: 36.2 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.005336/0.3686, allocations: 1.955 MB / 0.5644 GB, free: 35.41 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001559/0.3702, allocations: 15.03 kB / 0.5644 GB, free: 35.41 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009665/0.3712, allocations: 185 kB / 0.5645 GB, free: 35.34 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002424/0.3736, allocations: 0.6428 MB / 0.5652 GB, free: 35.04 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001717/0.3753, allocations: 0.6078 MB / 0.5658 GB, free: 34.94 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.002232/0.3776, allocations: 1.377 MB / 0.5671 GB, free: 34.61 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006858/0.3783, allocations: 282.4 kB / 0.5674 GB, free: 34.57 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001094/0.3794, allocations: 0.5181 MB / 0.5679 GB, free: 34.41 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001142/0.3806, allocations: 0.6622 MB / 0.5685 GB, free: 34.21 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003596/0.3809, allocations: 55.94 kB / 0.5686 GB, free: 34.21 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008805/0.3818, allocations: 185 kB / 0.5688 GB, free: 34.2 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003759/0.3822, allocations: 227.5 kB / 0.569 GB, free: 34.12 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009415/0.3832, allocations: 0.5704 MB / 0.5695 GB, free: 33.86 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001565/0.3847, allocations: 1.443 MB / 0.5709 GB, free: 33.5 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.851e-06/0.3848, allocations: 0 / 0.5709 GB, free: 33.5 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.874e-06/0.3848, allocations: 0 / 0.5709 GB, free: 33.5 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.908e-05/0.3848, allocations: 0 / 0.5709 GB, free: 33.5 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: 186 * Number of variables: 186 Notification: Performance of Generate backend data structure: time 0.008269/0.3931, allocations: 2.37 MB / 0.5733 GB, free: 32.66 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.823e-05/0.3932, allocations: 8.188 kB / 0.5733 GB, free: 32.66 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005251/0.3985, allocations: 0.7794 MB / 0.574 GB, free: 32.57 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001987/0.4005, allocations: 0.8096 MB / 0.5748 GB, free: 32.17 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003431/0.4008, allocations: 270.1 kB / 0.5751 GB, free: 31.98 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003271/0.4012, allocations: 83.47 kB / 0.5752 GB, free: 31.97 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002937/0.4041, allocations: 1.201 MB / 0.5763 GB, free: 31.88 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.485e-05/0.4042, allocations: 3.938 kB / 0.5763 GB, free: 31.88 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001175/0.4043, allocations: 32.59 kB / 0.5764 GB, free: 31.88 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.951e-05/0.4043, allocations: 15.94 kB / 0.5764 GB, free: 31.88 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002698/0.407, allocations: 1.171 MB / 0.5775 GB, free: 31.85 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.006807/0.4139, allocations: 3.523 MB / 0.581 GB, free: 30.84 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002229/0.4161, allocations: 1.517 MB / 0.5824 GB, free: 29.97 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001524/0.4177, allocations: 0.8233 MB / 0.5832 GB, free: 29.67 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001102/0.4178, allocations: 20.59 kB / 0.5833 GB, free: 29.66 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.643e-05/0.4179, allocations: 39.36 kB / 0.5833 GB, free: 29.61 MB / 430.1 MB Notification: Performance of pre-optimization done (n=89): time 3.537e-06/0.4179, allocations: 0 / 0.5833 GB, free: 29.61 MB / 430.1 MB Notification: Performance of matching and sorting (n=89): time 0.03016/0.448, allocations: 8.495 MB / 0.5916 GB, free: 28.17 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.945e-05/0.4482, allocations: 92.77 kB / 0.5917 GB, free: 28.07 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002128/0.4503, allocations: 0.9513 MB / 0.5926 GB, free: 27.68 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002952/0.4506, allocations: 40.27 kB / 0.5927 GB, free: 27.63 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004206/0.451, allocations: 481.6 kB / 0.5931 GB, free: 27.25 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005477/0.4516, allocations: 318.2 kB / 0.5934 GB, free: 27 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003076/0.4519, allocations: 98.41 kB / 0.5935 GB, free: 26.95 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001176/0.452, allocations: 348.3 kB / 0.5938 GB, free: 26.63 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001963/0.454, allocations: 0.7714 MB / 0.5946 GB, free: 26.37 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001994/0.456, allocations: 0.9011 MB / 0.5955 GB, free: 26 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02/0.476, allocations: 5.201 MB / 0.6006 GB, free: 24.64 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.214e-05/0.4761, allocations: 3.938 kB / 0.6006 GB, free: 24.63 MB / 430.1 MB Notification: Performance of matching and sorting (n=141) (initialization): time 0.01694/0.4931, allocations: 5.168 MB / 0.6056 GB, free: 23.49 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001326/0.4932, allocations: 158.1 kB / 0.6058 GB, free: 23.32 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.93e-05/0.4933, allocations: 2.031 kB / 0.6058 GB, free: 23.32 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00781/0.5011, allocations: 2.095 MB / 0.6078 GB, free: 22.97 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001117/0.5022, allocations: 196.7 kB / 0.608 GB, free: 22.95 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0222/0.5245, allocations: 9.583 MB / 0.6174 GB, free: 15.16 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001784/0.5263, allocations: 216.5 kB / 0.6176 GB, free: 14.95 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002086/0.5265, allocations: 43.92 kB / 0.6176 GB, free: 14.91 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.075e-05/0.5265, allocations: 6.156 kB / 0.6176 GB, free: 14.9 MB / 430.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01346/0.54, allocations: 5.011 MB / 0.6225 GB, free: 9.883 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.564e-05/0.54, allocations: 0 / 0.6225 GB, free: 9.883 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006/0.5461, allocations: 2.103 MB / 0.6246 GB, free: 7.777 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008602/0.5469, allocations: 187.8 kB / 0.6247 GB, free: 7.594 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02005/0.567, allocations: 9.555 MB / 0.6341 GB, free: 13.91 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001626/0.5687, allocations: 203.1 kB / 0.6343 GB, free: 13.71 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001874/0.5689, allocations: 43.98 kB / 0.6343 GB, free: 13.67 MB / 446.1 MB Warning: Assuming fixed start value for the following 3 variables: order3_Inputs_Outputs1.delta:VARIABLE(flow=false start = order3_Inputs_Outputs1.delta0 unit = "rad" fixed = true ) "Rotor angle" type: Real order3_Inputs_Outputs1.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real TGTypeII1.transferFunction1.x_scaled[1]:VARIABLE(fixed = true protected = true ) "Scaled vector x" type: Real [1] Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (105): * Single equations (assignments): 104 * 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.0007106/0.5696, allocations: 319.6 kB / 0.6346 GB, free: 13.35 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003388/0.5699, allocations: 118.5 kB / 0.6347 GB, free: 13.23 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01469/0.5846, allocations: 4.869 MB / 0.6395 GB, free: 8.348 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.221e-05/0.5847, allocations: 12.75 kB / 0.6395 GB, free: 8.336 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.591e-06/0.5847, allocations: 4 kB / 0.6395 GB, free: 8.332 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.119e-05/0.5847, allocations: 5.344 kB / 0.6395 GB, free: 8.328 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01745/0.6022, allocations: 6.457 MB / 0.6458 GB, free: 1.727 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.189e-05/0.6023, allocations: 0 / 0.6458 GB, free: 1.727 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006711/0.6029, allocations: 120.7 kB / 0.6459 GB, free: 1.609 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006483/0.6094, allocations: 2.055 MB / 0.6479 GB, free: 15.55 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001772/0.6096, allocations: 16 kB / 0.6479 GB, free: 15.54 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01942/0.6291, allocations: 8.212 MB / 0.656 GB, free: 7.191 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.553e-06/0.6291, allocations: 5.953 kB / 0.656 GB, free: 7.188 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01672/0.6458, allocations: 5.846 MB / 0.6617 GB, free: 1.316 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004944/0.6464, allocations: 207.5 kB / 0.6619 GB, free: 1.094 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003694/0.6468, allocations: 16.75 kB / 0.6619 GB, free: 1.078 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00133/0.6481, allocations: 147.9 kB / 0.662 GB, free: 0.9336 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006808/0.6488, allocations: 204.5 kB / 0.6622 GB, free: 0.7344 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001037/0.6489, allocations: 23.94 kB / 0.6622 GB, free: 0.7109 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001119/0.6501, allocations: 0.651 MB / 0.6629 GB, free: 52 kB / 462.1 MB Notification: Performance of sort global known variables: time 2.01e-07/0.6501, allocations: 0 / 0.6629 GB, free: 52 kB / 462.1 MB Notification: Performance of remove unused functions: time 0.002798/0.6529, allocations: 0.6944 MB / 0.6636 GB, free: 15.35 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (order3_Inputs_Outputs1.delta,order3_Inputs_Outputs1.w,order3_Inputs_Outputs1.e1q,TGTypeII1.transferFunction1.x_scaled[1]) * 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 (56): * Single equations (assignments): 55 * 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.0003631/0.6533, allocations: 123.8 kB / 0.6637 GB, free: 15.23 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.01294/0.6662, allocations: 4.643 MB / 0.6682 GB, free: 10.57 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 6.101e-06/0.6663, allocations: 4 kB / 0.6682 GB, free: 10.57 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005106/0.6714, allocations: 1.741 MB / 0.6699 GB, free: 8.816 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001257/0.6727, allocations: 93.98 kB / 0.67 GB, free: 8.723 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004641/0.6773, allocations: 2.568 MB / 0.6725 GB, free: 6.16 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007721/0.6781, allocations: 1.105 MB / 0.6736 GB, free: 5.027 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0005792/0.6787, allocations: 115.5 kB / 0.6737 GB, free: 4.914 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002394/0.679, allocations: 67.42 kB / 0.6738 GB, free: 4.848 MB / 478.1 MB Notification: Performance of SimCode: time 7.11e-07/0.679, allocations: 0 / 0.6738 GB, free: 4.848 MB / 478.1 MB Notification: Performance of Templates: time 0.04483/0.7238, allocations: 28.17 MB / 0.7013 GB, free: 8.852 MB / 0.4981 GB make -j1 -f OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2_TG.makefile Environment - environmentSimulation: (rm -f OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2_TG.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2_TG.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2_TG.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2_TG.sim & ./OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2_TG -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2_TG.pipe 2>&1) Environment - environmentSimulation: