Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order4test2_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: "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Machines_PSAT_Order4test2_perturbation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Machines_PSAT_Order4test2_perturbation",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00114/0.00114, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.35/1.35, allocations: 222.9 MB / 238.9 MB, free: 4.68 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.001265/0.001265, allocations: 188.5 kB / 289.1 MB, free: 2.418 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4995/0.4995, allocations: 91.91 MB / 431.2 MB, free: 9.426 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001557/0.001557, allocations: 79.88 kB / 0.5013 GB, free: 8.051 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3777/0.3793, allocations: 71.26 MB / 0.5709 GB, free: 36.51 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation): time 0.005766/0.3851, allocations: 6.848 MB / 0.5776 GB, free: 32.53 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003447/0.3886, allocations: 1.944 MB / 0.5795 GB, free: 31.25 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006403/0.3893, allocations: 14.12 kB / 0.5795 GB, free: 31.25 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000515/0.3898, allocations: 169 kB / 0.5797 GB, free: 31.18 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001436/0.3913, allocations: 0.6458 MB / 0.5803 GB, free: 30.76 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001092/0.3924, allocations: 0.5735 MB / 0.5809 GB, free: 30.45 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001038/0.3934, allocations: 1.356 MB / 0.5822 GB, free: 29.79 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003491/0.3938, allocations: 289.6 kB / 0.5825 GB, free: 29.66 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005281/0.3943, allocations: 0.5512 MB / 0.583 GB, free: 29.39 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005482/0.3949, allocations: 0.6992 MB / 0.5837 GB, free: 29.06 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001198/0.395, allocations: 68.31 kB / 0.5837 GB, free: 29.06 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003649/0.3954, allocations: 199.4 kB / 0.5839 GB, free: 29.02 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000159/0.3955, allocations: 244.5 kB / 0.5842 GB, free: 28.87 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003856/0.3959, allocations: 0.5899 MB / 0.5847 GB, free: 28.48 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009578/0.3969, allocations: 1.456 MB / 0.5862 GB, free: 27.81 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.3969, allocations: 0 / 0.5862 GB, free: 27.81 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.052e-06/0.3969, allocations: 0 / 0.5862 GB, free: 27.81 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.478e-05/0.3969, allocations: 0 / 0.5862 GB, free: 27.81 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: 196 * Number of variables: 196 Notification: Performance of Generate backend data structure: time 0.007321/0.4043, allocations: 2.561 MB / 0.5887 GB, free: 26.63 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.356e-05/0.4043, allocations: 9.031 kB / 0.5887 GB, free: 26.63 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001425/0.4045, allocations: 128.9 kB / 0.5888 GB, free: 26.54 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004747/0.4092, allocations: 0.7858 MB / 0.5896 GB, free: 26.38 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009782/0.4102, allocations: 0.7659 MB / 0.5903 GB, free: 25.82 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002425/0.4105, allocations: 256.2 kB / 0.5906 GB, free: 25.6 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001492/0.4106, allocations: 80.72 kB / 0.5906 GB, free: 25.57 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002177/0.4128, allocations: 1.081 MB / 0.5917 GB, free: 25.18 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.662e-05/0.4128, allocations: 1.188 kB / 0.5917 GB, free: 25.18 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.247e-05/0.4129, allocations: 29.94 kB / 0.5917 GB, free: 25.16 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.986e-05/0.4129, allocations: 18.38 kB / 0.5917 GB, free: 25.16 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00239/0.4153, allocations: 1.126 MB / 0.5928 GB, free: 24.82 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.005797/0.4211, allocations: 3.503 MB / 0.5963 GB, free: 22.83 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002018/0.4232, allocations: 1.43 MB / 0.5977 GB, free: 21.89 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001607/0.4248, allocations: 0.7946 MB / 0.5984 GB, free: 21.59 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001201/0.4249, allocations: 12.38 kB / 0.5984 GB, free: 21.59 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.227e-05/0.425, allocations: 43.56 kB / 0.5985 GB, free: 21.54 MB / 430.1 MB Notification: Performance of pre-optimization done (n=98): time 3.166e-06/0.425, allocations: 3.984 kB / 0.5985 GB, free: 21.54 MB / 430.1 MB Notification: Performance of matching and sorting (n=98): time 0.02757/0.4525, allocations: 6.878 MB / 0.6052 GB, free: 20.27 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.408e-05/0.4526, allocations: 62.06 kB / 0.6053 GB, free: 20.2 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001286/0.4539, allocations: 0.8894 MB / 0.6061 GB, free: 19.83 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001314/0.4541, allocations: 41.17 kB / 0.6062 GB, free: 19.79 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003161/0.4544, allocations: 0.4907 MB / 0.6066 GB, free: 19.39 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003025/0.4547, allocations: 347.5 kB / 0.607 GB, free: 19.12 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003707/0.4551, allocations: 210.9 kB / 0.6072 GB, free: 19.01 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 7.337e-05/0.4552, allocations: 351.2 kB / 0.6075 GB, free: 18.68 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00159/0.4568, allocations: 0.7301 MB / 0.6082 GB, free: 18.43 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001707/0.4585, allocations: 0.8577 MB / 0.6091 GB, free: 18.07 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01838/0.4769, allocations: 4.84 MB / 0.6138 GB, free: 16.74 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.205e-06/0.4769, allocations: 1.656 kB / 0.6138 GB, free: 16.74 MB / 430.1 MB Notification: Performance of matching and sorting (n=151) (initialization): time 0.01306/0.49, allocations: 4.285 MB / 0.618 GB, free: 14.15 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.683e-05/0.49, allocations: 8 kB / 0.618 GB, free: 14.14 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.113e-05/0.49, allocations: 0 / 0.618 GB, free: 14.14 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005183/0.4952, allocations: 1.726 MB / 0.6197 GB, free: 12.41 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001036/0.4963, allocations: 227.7 kB / 0.6199 GB, free: 12.19 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01644/0.5127, allocations: 8.352 MB / 0.628 GB, free: 3.707 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001475/0.5142, allocations: 178.9 kB / 0.6282 GB, free: 3.531 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.557e-05/0.5143, allocations: 39.98 kB / 0.6283 GB, free: 3.492 MB / 430.1 MB Warning: Assuming fixed start value for the following 1 variables: Generator.e1q:VARIABLE(start = Generator.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 (117): * Single equations (assignments): 116 * 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 {(24,11)} Notification: Performance of prepare postOptimizeDAE: time 0.0004446/0.5148, allocations: 238.4 kB / 0.6285 GB, free: 3.25 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001722/0.515, allocations: 122.5 kB / 0.6286 GB, free: 3.129 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0115/0.5265, allocations: 4.014 MB / 0.6325 GB, free: 15.09 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.034e-05/0.5265, allocations: 8 kB / 0.6325 GB, free: 15.08 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.5265, allocations: 4 kB / 0.6325 GB, free: 15.08 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.194e-05/0.5265, allocations: 3.984 kB / 0.6325 GB, free: 15.07 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01489/0.5414, allocations: 5.625 MB / 0.638 GB, free: 9.312 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.859e-06/0.5414, allocations: 0 / 0.638 GB, free: 9.312 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000663/0.5421, allocations: 131.8 kB / 0.6382 GB, free: 9.184 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005511/0.5476, allocations: 1.737 MB / 0.6398 GB, free: 7.441 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.508e-05/0.5477, allocations: 31.88 kB / 0.6399 GB, free: 7.41 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01686/0.5646, allocations: 7.336 MB / 0.647 GB, free: 15.93 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.478e-06/0.5646, allocations: 4 kB / 0.647 GB, free: 15.93 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01452/0.5792, allocations: 4.966 MB / 0.6519 GB, free: 10.94 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004005/0.5796, allocations: 199.4 kB / 0.6521 GB, free: 10.73 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001673/0.5798, allocations: 19.94 kB / 0.6521 GB, free: 10.71 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000952/0.5807, allocations: 119.9 kB / 0.6522 GB, free: 10.59 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006808/0.5814, allocations: 208.6 kB / 0.6524 GB, free: 10.38 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.661e-05/0.5815, allocations: 24 kB / 0.6524 GB, free: 10.36 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0007614/0.5823, allocations: 0.5969 MB / 0.653 GB, free: 9.754 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.512e-06/0.5823, allocations: 0 / 0.653 GB, free: 9.754 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001216/0.5835, allocations: 447.4 kB / 0.6535 GB, free: 9.316 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (Generator.delta,Generator.w,Generator.e1q,Generator.e1d) * 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 (65): * Single equations (assignments): 64 * 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.0149/0.5984, allocations: 5.541 MB / 0.6589 GB, free: 3.742 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.006696/0.6051, allocations: 2.433 MB / 0.6612 GB, free: 1.297 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.777e-06/0.6051, allocations: 0 / 0.6612 GB, free: 1.297 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004611/0.6098, allocations: 1.553 MB / 0.6628 GB, free: 15.72 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009306/0.6107, allocations: 92.41 kB / 0.6628 GB, free: 15.63 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03944/0.6502, allocations: 16.39 MB / 0.6788 GB, free: 14.85 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007789/0.651, allocations: 1.103 MB / 0.6799 GB, free: 13.72 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0004105/0.6514, allocations: 86.78 kB / 0.68 GB, free: 13.63 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006525/0.6521, allocations: 439.3 kB / 0.6804 GB, free: 13.2 MB / 494.1 MB Notification: Performance of SimCode: time 6.51e-07/0.6521, allocations: 0 / 0.6804 GB, free: 13.2 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05502/0.7071, allocations: 30.53 MB / 0.7102 GB, free: 14.84 MB / 0.5137 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002381/0.7074, allocations: 246.6 kB / 0.7105 GB, free: 14.57 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.66/3.368, allocations: 0 / 0.7105 GB, free: 14.57 MB / 0.5137 GB (rm -f OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Tests_Machines_PSAT_Order4test2_perturbation_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Tests_Machines_PSAT_Order4test2_perturbation.fmu > OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation.pipe 2>&1)