Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order3test2_TG.conf.json 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/Modelica 4.0.0+maint.om/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/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.Order3test2_TG,fileNamePrefix="OpenIPSL_release_OpenIPSL_Tests_Machines_PSAT_Order3test2_TG",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.Order3test2_TG,fileNamePrefix="OpenIPSL_release_OpenIPSL_Tests_Machines_PSAT_Order3test2_TG",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00086/0.0008601, allocations: 175.9 kB / 15.42 MB, free: 6.215 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.26/1.26, allocations: 222.8 MB / 239 MB, free: 1.824 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007085/0.0007087, allocations: 97.95 kB / 289.8 MB, free: 14.31 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4323/0.4323, allocations: 78.42 MB / 418.9 MB, free: 44.25 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003725/0.0003725, allocations: 8 kB / 498.5 MB, free: 3.805 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3285/0.3289, allocations: 68.74 MB / 0.554 GB, free: 39.73 MB / 426.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order3test2_TG): time 0.006651/0.3356, allocations: 6.654 MB / 0.5605 GB, free: 37.15 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.003305/0.339, allocations: 1.985 MB / 0.5624 GB, free: 36.35 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005237/0.3395, allocations: 17.03 kB / 0.5624 GB, free: 36.34 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005873/0.3401, allocations: 181.2 kB / 0.5626 GB, free: 36.28 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001393/0.3415, allocations: 0.6509 MB / 0.5632 GB, free: 35.97 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001301/0.3428, allocations: 0.6157 MB / 0.5638 GB, free: 35.85 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.001585/0.3444, allocations: 1.379 MB / 0.5652 GB, free: 35.52 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004208/0.3449, allocations: 280.5 kB / 0.5654 GB, free: 35.45 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007745/0.3456, allocations: 0.5238 MB / 0.566 GB, free: 35.29 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006904/0.3463, allocations: 0.6582 MB / 0.5666 GB, free: 35.06 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000133/0.3465, allocations: 52.47 kB / 0.5666 GB, free: 35.06 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004927/0.347, allocations: 193.6 kB / 0.5668 GB, free: 35.01 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001757/0.3472, allocations: 227.9 kB / 0.567 GB, free: 34.88 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003772/0.3476, allocations: 0.5495 MB / 0.5676 GB, free: 34.52 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001106/0.3487, allocations: 1.439 MB / 0.569 GB, free: 33.97 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.3487, allocations: 0 / 0.569 GB, free: 33.97 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.463e-06/0.3487, allocations: 0 / 0.569 GB, free: 33.97 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.6e-05/0.3487, allocations: 0 / 0.569 GB, free: 33.97 MB / 426.7 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.006771/0.3555, allocations: 2.302 MB / 0.5712 GB, free: 32.95 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.396e-05/0.3555, allocations: 11.34 kB / 0.5712 GB, free: 32.95 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000198/0.3558, allocations: 126.3 kB / 0.5714 GB, free: 32.86 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004848/0.3606, allocations: 0.7753 MB / 0.5721 GB, free: 32.71 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001217/0.3618, allocations: 0.8153 MB / 0.5729 GB, free: 32.15 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002066/0.3621, allocations: 265.7 kB / 0.5732 GB, free: 31.92 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001297/0.3622, allocations: 76.5 kB / 0.5733 GB, free: 31.89 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00181/0.364, allocations: 1.131 MB / 0.5744 GB, free: 31.46 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.348e-05/0.3641, allocations: 0 / 0.5744 GB, free: 31.46 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.147e-05/0.3641, allocations: 33.69 kB / 0.5744 GB, free: 31.43 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.2e-05/0.3642, allocations: 16.97 kB / 0.5744 GB, free: 31.43 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001941/0.3661, allocations: 1.067 MB / 0.5754 GB, free: 31.09 MB / 426.7 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.004731/0.3709, allocations: 3.452 MB / 0.5788 GB, free: 29.13 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001728/0.3726, allocations: 1.424 MB / 0.5802 GB, free: 28.2 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001201/0.3738, allocations: 0.7438 MB / 0.5809 GB, free: 27.9 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001098/0.3739, allocations: 24.02 kB / 0.581 GB, free: 27.89 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.543e-05/0.374, allocations: 38.53 kB / 0.581 GB, free: 27.85 MB / 426.7 MB Notification: Performance of pre-optimization done (n=89): time 2.906e-06/0.374, allocations: 0 / 0.581 GB, free: 27.85 MB / 426.7 MB Notification: Performance of matching and sorting (n=89): time 0.02353/0.3975, allocations: 6.856 MB / 0.5877 GB, free: 26.59 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.044e-05/0.3976, allocations: 91.39 kB / 0.5878 GB, free: 26.5 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001339/0.399, allocations: 0.9474 MB / 0.5887 GB, free: 26.11 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002424/0.3992, allocations: 40.73 kB / 0.5887 GB, free: 26.06 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003208/0.3995, allocations: 480.7 kB / 0.5892 GB, free: 25.68 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003602/0.3999, allocations: 321.7 kB / 0.5895 GB, free: 25.43 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000176/0.4001, allocations: 105.9 kB / 0.5896 GB, free: 25.38 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 8.529e-05/0.4002, allocations: 351.4 kB / 0.5899 GB, free: 25.05 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00144/0.4016, allocations: 0.6944 MB / 0.5906 GB, free: 24.8 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00138/0.403, allocations: 0.8226 MB / 0.5914 GB, free: 24.43 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01739/0.4204, allocations: 4.687 MB / 0.596 GB, free: 23.12 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.157e-06/0.4205, allocations: 5.406 kB / 0.596 GB, free: 23.12 MB / 426.7 MB Notification: Performance of matching and sorting (n=141) (initialization): time 0.01368/0.4342, allocations: 4.241 MB / 0.6001 GB, free: 22.09 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.152e-05/0.4343, allocations: 154 kB / 0.6003 GB, free: 21.92 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.237e-05/0.4343, allocations: 3.484 kB / 0.6003 GB, free: 21.92 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006402/0.4407, allocations: 1.791 MB / 0.602 GB, free: 21.54 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009561/0.4417, allocations: 186.8 kB / 0.6022 GB, free: 21.49 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01868/0.4604, allocations: 8.585 MB / 0.6106 GB, free: 16.11 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001506/0.4619, allocations: 177.7 kB / 0.6108 GB, free: 16.01 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.664e-05/0.4621, allocations: 33.75 kB / 0.6108 GB, free: 16 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.088e-05/0.4621, allocations: 4.875 kB / 0.6108 GB, free: 16 MB / 426.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01169/0.4738, allocations: 4.1 MB / 0.6148 GB, free: 12.88 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.074e-05/0.4738, allocations: 4 kB / 0.6148 GB, free: 12.87 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005407/0.4793, allocations: 1.784 MB / 0.6166 GB, free: 11.08 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009344/0.4802, allocations: 183.7 kB / 0.6167 GB, free: 10.9 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01704/0.4973, allocations: 8.577 MB / 0.6251 GB, free: 2.188 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001498/0.4988, allocations: 167.1 kB / 0.6253 GB, free: 2.023 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.394e-05/0.4989, allocations: 35.98 kB / 0.6253 GB, free: 1.988 MB / 426.7 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.0005312/0.4994, allocations: 322.8 kB / 0.6256 GB, free: 1.66 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001767/0.4996, allocations: 118.4 kB / 0.6257 GB, free: 1.543 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.012/0.5116, allocations: 3.951 MB / 0.6296 GB, free: 13.57 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.681e-05/0.5117, allocations: 8 kB / 0.6296 GB, free: 13.57 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.128e-06/0.5117, allocations: 0 / 0.6296 GB, free: 13.57 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.736e-05/0.5117, allocations: 3.984 kB / 0.6296 GB, free: 13.56 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01428/0.526, allocations: 5.539 MB / 0.635 GB, free: 7.883 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.431e-05/0.5261, allocations: 4 kB / 0.635 GB, free: 7.879 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006517/0.5267, allocations: 99.88 kB / 0.6351 GB, free: 7.781 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005599/0.5323, allocations: 1.746 MB / 0.6368 GB, free: 6.035 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001517/0.5325, allocations: 20 kB / 0.6368 GB, free: 6.016 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01601/0.5485, allocations: 7.343 MB / 0.644 GB, free: 14.54 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.066e-06/0.5486, allocations: 4 kB / 0.644 GB, free: 14.53 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01415/0.5627, allocations: 4.841 MB / 0.6487 GB, free: 9.664 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004233/0.5632, allocations: 211.5 kB / 0.6489 GB, free: 9.438 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001727/0.5634, allocations: 16 kB / 0.649 GB, free: 9.422 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001046/0.5644, allocations: 107.9 kB / 0.6491 GB, free: 9.316 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005934/0.565, allocations: 200.4 kB / 0.6492 GB, free: 9.121 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.523e-05/0.5651, allocations: 27.94 kB / 0.6493 GB, free: 9.094 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0008969/0.566, allocations: 0.651 MB / 0.6499 GB, free: 8.434 MB / 458.7 MB Notification: Performance of sort global known variables: time 2.014e-06/0.566, allocations: 0 / 0.6499 GB, free: 8.434 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.001846/0.5679, allocations: 0.6982 MB / 0.6506 GB, free: 7.734 MB / 458.7 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.01456/0.5825, allocations: 5.421 MB / 0.6559 GB, free: 2.281 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.01108/0.5936, allocations: 4.093 MB / 0.6599 GB, free: 14.17 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 5.15e-06/0.5936, allocations: 0.5 kB / 0.6599 GB, free: 14.17 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004368/0.598, allocations: 1.505 MB / 0.6613 GB, free: 12.65 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009111/0.5989, allocations: 100.3 kB / 0.6614 GB, free: 12.55 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03702/0.636, allocations: 16.24 MB / 0.6773 GB, free: 11.92 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006145/0.6366, allocations: 1.101 MB / 0.6784 GB, free: 10.79 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0005539/0.6372, allocations: 118.8 kB / 0.6785 GB, free: 10.67 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005004/0.6377, allocations: 423.3 kB / 0.6789 GB, free: 10.26 MB / 490.7 MB Notification: Performance of SimCode: time 7.32e-07/0.6377, allocations: 0 / 0.6789 GB, free: 10.26 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05477/0.6925, allocations: 37.33 MB / 0.7154 GB, free: 5.137 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001684/0.6927, allocations: 226.6 kB / 0.7156 GB, free: 4.875 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.967/3.66, allocations: 0 / 0.7156 GB, free: 4.875 MB / 0.5105 GB (rm -f OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order3test2_TG.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order3test2_TG.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order3test2_TG.pipe >> ../files/OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order3test2_TG.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_release_OpenIPSL_Tests_Machines_PSAT_Order3test2_TG_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_release_OpenIPSL_Tests_Machines_PSAT_Order3test2_TG.fmu > OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order3test2_TG.pipe 2>&1)