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.0008007/0.0008007, allocations: 91.84 kB / 15.06 MB, free: 1.098 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.296/1.296, allocations: 223.2 MB / 239 MB, free: 5.449 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.001071/0.001071, allocations: 176.5 kB / 290.3 MB, free: 2.133 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4858/0.4858, allocations: 79.48 MB / 420.8 MB, free: 3.863 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003754/0.0003756, allocations: 8 kB / 0.4892 GB, free: 5.492 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4005/0.4009, allocations: 69.51 MB / 0.5571 GB, free: 37.77 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation): time 0.005101/0.4061, allocations: 5.969 MB / 0.5629 GB, free: 37.38 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.00373/0.4098, allocations: 1.841 MB / 0.5647 GB, free: 36.95 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008878/0.4107, allocations: 12.5 kB / 0.5647 GB, free: 36.95 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004727/0.4112, allocations: 157.9 kB / 0.5649 GB, free: 36.88 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001524/0.4128, allocations: 0.5911 MB / 0.5655 GB, free: 36.61 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001141/0.4139, allocations: 0.5197 MB / 0.566 GB, free: 36.54 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.00131/0.4152, allocations: 1.291 MB / 0.5672 GB, free: 36.21 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004461/0.4157, allocations: 264.3 kB / 0.5675 GB, free: 36.16 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007227/0.4164, allocations: 0.5013 MB / 0.568 GB, free: 36.02 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006971/0.4171, allocations: 0.6486 MB / 0.5686 GB, free: 35.83 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001162/0.4173, allocations: 50.22 kB / 0.5687 GB, free: 35.83 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004398/0.4177, allocations: 174.8 kB / 0.5688 GB, free: 35.83 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001524/0.4179, allocations: 219.3 kB / 0.569 GB, free: 35.76 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001875/0.4181, allocations: 225.6 kB / 0.5692 GB, free: 35.68 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009754/0.419, allocations: 1.102 MB / 0.5703 GB, free: 35.47 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.4191, allocations: 0 / 0.5703 GB, free: 35.47 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.4191, allocations: 1.281 kB / 0.5703 GB, free: 35.47 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.519e-05/0.4191, allocations: 0 / 0.5703 GB, free: 35.47 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.006513/0.4256, allocations: 2.401 MB / 0.5727 GB, free: 34.61 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.339e-05/0.4257, allocations: 8.75 kB / 0.5727 GB, free: 34.61 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003313/0.426, allocations: 131.9 kB / 0.5728 GB, free: 34.55 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00446/0.4305, allocations: 0.7962 MB / 0.5736 GB, free: 34.41 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001207/0.4317, allocations: 0.7202 MB / 0.5743 GB, free: 33.9 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002278/0.4319, allocations: 271.5 kB / 0.5745 GB, free: 33.68 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000124/0.4321, allocations: 77.06 kB / 0.5746 GB, free: 33.65 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002026/0.4341, allocations: 1.163 MB / 0.5757 GB, free: 33.26 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.877e-05/0.4341, allocations: 0 / 0.5757 GB, free: 33.26 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.074e-05/0.4342, allocations: 35.12 kB / 0.5758 GB, free: 33.23 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.799e-05/0.4343, allocations: 24.27 kB / 0.5758 GB, free: 33.23 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002193/0.4365, allocations: 1.235 MB / 0.577 GB, free: 32.87 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.005595/0.4421, allocations: 3.566 MB / 0.5805 GB, free: 30.88 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001763/0.4438, allocations: 1.516 MB / 0.582 GB, free: 29.94 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001374/0.4452, allocations: 0.8715 MB / 0.5828 GB, free: 29.64 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001201/0.4454, allocations: 19.88 kB / 0.5828 GB, free: 29.62 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.432e-05/0.4454, allocations: 49.55 kB / 0.5829 GB, free: 29.57 MB / 430.1 MB Notification: Performance of pre-optimization done (n=98): time 3.176e-06/0.4454, allocations: 0 / 0.5829 GB, free: 29.57 MB / 430.1 MB Notification: Performance of matching and sorting (n=98): time 0.02528/0.4707, allocations: 8.487 MB / 0.5912 GB, free: 28.14 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.255e-05/0.4708, allocations: 66.69 kB / 0.5912 GB, free: 28.07 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001857/0.4727, allocations: 0.8815 MB / 0.5921 GB, free: 27.7 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002464/0.4729, allocations: 45.22 kB / 0.5921 GB, free: 27.65 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000388/0.4733, allocations: 499.6 kB / 0.5926 GB, free: 27.26 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004992/0.4738, allocations: 349.5 kB / 0.593 GB, free: 26.98 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000157/0.474, allocations: 20.81 kB / 0.593 GB, free: 26.97 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001162/0.4741, allocations: 354.8 kB / 0.5933 GB, free: 26.64 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001877/0.476, allocations: 0.8152 MB / 0.5941 GB, free: 26.38 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001998/0.478, allocations: 0.9454 MB / 0.595 GB, free: 26 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001901/0.4799, allocations: 0.873 MB / 0.5959 GB, free: 25.66 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.618e-06/0.48, allocations: 1.375 kB / 0.5959 GB, free: 25.66 MB / 430.1 MB Notification: Performance of matching and sorting (n=151) (initialization): time 0.01469/0.4947, allocations: 5.247 MB / 0.601 GB, free: 24.51 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.981e-05/0.4947, allocations: 6.438 kB / 0.601 GB, free: 24.51 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.564e-05/0.4948, allocations: 2.031 kB / 0.601 GB, free: 24.51 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006718/0.5015, allocations: 2.095 MB / 0.6031 GB, free: 24.16 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001262/0.5028, allocations: 229.9 kB / 0.6033 GB, free: 24.14 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02124/0.5241, allocations: 9.515 MB / 0.6126 GB, free: 19.27 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001622/0.5257, allocations: 224.8 kB / 0.6128 GB, free: 19.08 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002546/0.526, allocations: 41.92 kB / 0.6128 GB, free: 19.05 MB / 430.1 MB Warning: Assuming fixed start value for the following 1 variables: Generator.e1d:VARIABLE(start = Generator.e1d0 unit = "1" fixed = true ) "d-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 (115): * Single equations (assignments): 114 * 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 {24 13} Notification: Performance of prepare postOptimizeDAE: time 0.0006877/0.5267, allocations: 241.8 kB / 0.6131 GB, free: 18.8 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003144/0.527, allocations: 122.5 kB / 0.6132 GB, free: 18.68 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01172/0.5387, allocations: 4.955 MB / 0.618 GB, free: 14.14 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.412e-05/0.5388, allocations: 8 kB / 0.618 GB, free: 14.13 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.531e-06/0.5388, allocations: 0 / 0.618 GB, free: 14.13 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.121e-05/0.5388, allocations: 7.938 kB / 0.618 GB, free: 14.12 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01376/0.5526, allocations: 6.571 MB / 0.6245 GB, free: 7.41 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.419e-05/0.5527, allocations: 5 kB / 0.6245 GB, free: 7.406 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007108/0.5534, allocations: 143.8 kB / 0.6246 GB, free: 7.266 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005154/0.5586, allocations: 2.044 MB / 0.6266 GB, free: 5.219 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001423/0.5587, allocations: 23.98 kB / 0.6266 GB, free: 5.195 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01621/0.5749, allocations: 8.193 MB / 0.6346 GB, free: 12.86 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.394e-06/0.575, allocations: 0 / 0.6346 GB, free: 12.86 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01541/0.5904, allocations: 5.991 MB / 0.6405 GB, free: 6.844 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000488/0.591, allocations: 207.4 kB / 0.6407 GB, free: 6.621 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003795/0.5914, allocations: 17.25 kB / 0.6407 GB, free: 6.605 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001204/0.5926, allocations: 159.9 kB / 0.6408 GB, free: 6.449 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008077/0.5934, allocations: 212.6 kB / 0.641 GB, free: 6.242 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001268/0.5935, allocations: 28 kB / 0.6411 GB, free: 6.215 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.000954/0.5945, allocations: 0.5891 MB / 0.6416 GB, free: 5.617 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.5945, allocations: 0 / 0.6416 GB, free: 5.617 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001813/0.5963, allocations: 447.4 kB / 0.6421 GB, free: 5.18 MB / 446.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 (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.0155/0.6119, allocations: 6.562 MB / 0.6485 GB, free: 14.58 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.007277/0.6192, allocations: 2.784 MB / 0.6512 GB, free: 11.79 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 5.16e-06/0.6192, allocations: 0 / 0.6512 GB, free: 11.79 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004888/0.6241, allocations: 1.802 MB / 0.6529 GB, free: 9.98 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001184/0.6253, allocations: 85.73 kB / 0.653 GB, free: 9.898 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02625/0.6516, allocations: 11.66 MB / 0.6644 GB, free: 13.93 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008176/0.6525, allocations: 1.099 MB / 0.6655 GB, free: 12.8 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0005497/0.653, allocations: 90.39 kB / 0.6656 GB, free: 12.71 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00071/0.6538, allocations: 445.2 kB / 0.666 GB, free: 12.28 MB / 478.1 MB Notification: Performance of SimCode: time 6.21e-07/0.6538, allocations: 0 / 0.666 GB, free: 12.28 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0575/0.7113, allocations: 29.78 MB / 0.6951 GB, free: 14.9 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001989/0.7116, allocations: 223.8 kB / 0.6953 GB, free: 14.66 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.626/3.338, allocations: 0 / 0.6953 GB, free: 14.66 MB / 0.4981 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/linux/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) Environment - environmentSimulation: