Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.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_perturbation,fileNamePrefix="OpenIPSL_release_OpenIPSL_Tests_Machines_PSAT_Order3test2_perturbation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation,fileNamePrefix="OpenIPSL_release_OpenIPSL_Tests_Machines_PSAT_Order3test2_perturbation",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.009062/0.009062, allocations: 167.7 kB / 15.13 MB, free: 6.02 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.496/1.496, allocations: 223.3 MB / 239.1 MB, free: 1.691 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.0007402/0.0007402, allocations: 97.19 kB / 290.3 MB, free: 13.88 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4732/0.4732, allocations: 78.62 MB / 420 MB, free: 44.18 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005315/0.0005317, allocations: 12 kB / 500 MB, free: 2.789 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5208/0.5213, allocations: 69.33 MB / 0.556 GB, free: 38.78 MB / 426.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation): time 0.007691/0.529, allocations: 5.917 MB / 0.5618 GB, free: 37.51 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.005164/0.5343, allocations: 1.798 MB / 0.5635 GB, free: 36.23 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001422/0.5357, allocations: 20.81 kB / 0.5635 GB, free: 36.22 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007019/0.5364, allocations: 159 kB / 0.5637 GB, free: 36.14 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002393/0.5388, allocations: 0.5909 MB / 0.5643 GB, free: 35.75 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001904/0.5408, allocations: 0.5261 MB / 0.5648 GB, free: 35.48 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.002818/0.5436, allocations: 1.278 MB / 0.566 GB, free: 34.82 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008064/0.5444, allocations: 268.2 kB / 0.5663 GB, free: 34.7 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001371/0.5458, allocations: 0.5025 MB / 0.5668 GB, free: 34.48 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001522/0.5473, allocations: 0.6383 MB / 0.5674 GB, free: 34.2 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004985/0.5478, allocations: 56.19 kB / 0.5674 GB, free: 34.19 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001144/0.549, allocations: 174.9 kB / 0.5676 GB, free: 34.16 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004293/0.5494, allocations: 223.1 kB / 0.5678 GB, free: 34.03 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000537/0.55, allocations: 224.4 kB / 0.568 GB, free: 33.88 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001574/0.5516, allocations: 1.098 MB / 0.5691 GB, free: 33.54 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.861e-06/0.5516, allocations: 0 / 0.5691 GB, free: 33.54 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.294e-06/0.5516, allocations: 0 / 0.5691 GB, free: 33.54 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.748e-05/0.5516, allocations: 0 / 0.5691 GB, free: 33.54 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: 195 * Number of variables: 195 Notification: Performance of Generate backend data structure: time 0.009987/0.5616, allocations: 2.402 MB / 0.5715 GB, free: 32.5 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.927e-05/0.5617, allocations: 11.56 kB / 0.5715 GB, free: 32.5 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003306/0.562, allocations: 127 kB / 0.5716 GB, free: 32.41 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006928/0.569, allocations: 0.7996 MB / 0.5724 GB, free: 32.24 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001241/0.5702, allocations: 0.7267 MB / 0.5731 GB, free: 31.73 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002445/0.5705, allocations: 271.2 kB / 0.5733 GB, free: 31.5 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000138/0.5706, allocations: 75.56 kB / 0.5734 GB, free: 31.48 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002226/0.5729, allocations: 1.164 MB / 0.5745 GB, free: 31.09 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.67e-05/0.5729, allocations: 0.5156 kB / 0.5745 GB, free: 31.09 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.189e-05/0.573, allocations: 30.44 kB / 0.5746 GB, free: 31.06 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.663e-05/0.573, allocations: 24.05 kB / 0.5746 GB, free: 31.06 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002425/0.5755, allocations: 1.234 MB / 0.5758 GB, free: 30.7 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.005444/0.5809, allocations: 3.529 MB / 0.5793 GB, free: 28.72 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001947/0.5829, allocations: 1.512 MB / 0.5807 GB, free: 27.77 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00157/0.5845, allocations: 0.8746 MB / 0.5816 GB, free: 27.46 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.569e-05/0.5846, allocations: 13.61 kB / 0.5816 GB, free: 27.46 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.922e-05/0.5846, allocations: 52.66 kB / 0.5816 GB, free: 27.41 MB / 426.7 MB Notification: Performance of pre-optimization done (n=97): time 3.377e-06/0.5846, allocations: 0 / 0.5816 GB, free: 27.41 MB / 426.7 MB Notification: Performance of matching and sorting (n=97): time 0.02652/0.6111, allocations: 8.163 MB / 0.5896 GB, free: 25.98 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.183e-05/0.6112, allocations: 66.81 kB / 0.5897 GB, free: 25.91 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001408/0.6126, allocations: 0.8923 MB / 0.5906 GB, free: 25.54 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002579/0.6129, allocations: 45.05 kB / 0.5906 GB, free: 25.49 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003014/0.6132, allocations: 499.2 kB / 0.5911 GB, free: 25.1 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003077/0.6135, allocations: 348.3 kB / 0.5914 GB, free: 24.82 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.972e-05/0.6136, allocations: 21.31 kB / 0.5914 GB, free: 24.81 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 7.738e-05/0.6137, allocations: 355.8 kB / 0.5918 GB, free: 24.48 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001753/0.6155, allocations: 0.8086 MB / 0.5926 GB, free: 24.21 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001809/0.6173, allocations: 0.9326 MB / 0.5935 GB, free: 23.85 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001759/0.6191, allocations: 0.8592 MB / 0.5943 GB, free: 23.52 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.831e-06/0.6191, allocations: 5.344 kB / 0.5943 GB, free: 23.51 MB / 426.7 MB Notification: Performance of matching and sorting (n=147) (initialization): time 0.01562/0.6347, allocations: 5.205 MB / 0.5994 GB, free: 22.39 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.895e-05/0.6348, allocations: 5.625 kB / 0.5994 GB, free: 22.39 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.51e-05/0.6348, allocations: 2.156 kB / 0.5994 GB, free: 22.39 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007456/0.6423, allocations: 2.114 MB / 0.6015 GB, free: 22.03 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001283/0.6436, allocations: 234 kB / 0.6017 GB, free: 22.01 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02349/0.6671, allocations: 9.528 MB / 0.611 GB, free: 16.99 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002097/0.6692, allocations: 224.3 kB / 0.6112 GB, free: 16.8 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001279/0.6694, allocations: 44.12 kB / 0.6112 GB, free: 16.76 MB / 426.7 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.0005694/0.67, allocations: 241.3 kB / 0.6115 GB, free: 16.52 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002064/0.6702, allocations: 119.1 kB / 0.6116 GB, free: 16.4 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01407/0.6843, allocations: 4.957 MB / 0.6164 GB, free: 11.94 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.858e-05/0.6843, allocations: 15.94 kB / 0.6164 GB, free: 11.93 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.021e-06/0.6843, allocations: 0 / 0.6164 GB, free: 11.93 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.903e-05/0.6844, allocations: 3.984 kB / 0.6164 GB, free: 11.92 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01518/0.6995, allocations: 6.555 MB / 0.6229 GB, free: 5.227 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-05/0.6996, allocations: 0 / 0.6229 GB, free: 5.227 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000747/0.7003, allocations: 143.8 kB / 0.623 GB, free: 5.086 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005745/0.7061, allocations: 2.058 MB / 0.625 GB, free: 3.023 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001472/0.7063, allocations: 16 kB / 0.625 GB, free: 3.008 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01761/0.7239, allocations: 8.218 MB / 0.633 GB, free: 10.65 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.737e-06/0.7239, allocations: 4 kB / 0.633 GB, free: 10.65 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01666/0.7406, allocations: 5.986 MB / 0.6389 GB, free: 4.641 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004325/0.7411, allocations: 203.5 kB / 0.6391 GB, free: 4.422 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000155/0.7412, allocations: 16 kB / 0.6391 GB, free: 4.406 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001131/0.7424, allocations: 155.9 kB / 0.6392 GB, free: 4.254 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006836/0.7431, allocations: 216.7 kB / 0.6395 GB, free: 4.043 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.294e-05/0.7432, allocations: 31.98 kB / 0.6395 GB, free: 4.012 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0007695/0.7439, allocations: 0.5891 MB / 0.6401 GB, free: 3.414 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.61e-07/0.7439, allocations: 0 / 0.6401 GB, free: 3.414 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001348/0.7453, allocations: 447.4 kB / 0.6405 GB, free: 2.977 MB / 442.7 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.01692/0.7622, allocations: 6.569 MB / 0.6469 GB, free: 12.37 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.007389/0.7697, allocations: 2.773 MB / 0.6496 GB, free: 9.59 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 5.109e-06/0.7697, allocations: 0 / 0.6496 GB, free: 9.59 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00508/0.7748, allocations: 1.805 MB / 0.6514 GB, free: 7.773 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009156/0.7757, allocations: 80.42 kB / 0.6514 GB, free: 7.695 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02639/0.8021, allocations: 11.59 MB / 0.6628 GB, free: 11.77 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006166/0.8028, allocations: 1.103 MB / 0.6638 GB, free: 10.64 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0004214/0.8032, allocations: 82.78 kB / 0.6639 GB, free: 10.55 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005482/0.8038, allocations: 447.2 kB / 0.6644 GB, free: 10.12 MB / 474.7 MB Notification: Performance of SimCode: time 6.31e-07/0.8038, allocations: 0 / 0.6644 GB, free: 10.12 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05074/0.8545, allocations: 29.89 MB / 0.6935 GB, free: 12.45 MB / 0.4948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001841/0.8548, allocations: 221 kB / 0.6938 GB, free: 12.21 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.878/3.733, allocations: 0 / 0.6938 GB, free: 12.21 MB / 0.4948 GB (rm -f OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.pipe >> ../files/OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_release_OpenIPSL_Tests_Machines_PSAT_Order3test2_perturbation_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_release_OpenIPSL_Tests_Machines_PSAT_Order3test2_perturbation.fmu > OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.pipe 2>&1)