Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2_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.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: "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Machines_PSAT_Order3test2_perturbation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Machines_PSAT_Order3test2_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.0008627/0.0008627, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.303/1.303, allocations: 223.2 MB / 238.9 MB, free: 5.668 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.00106/0.00106, allocations: 189 kB / 290.2 MB, free: 2.359 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4302/0.4302, allocations: 78.53 MB / 419.8 MB, free: 4.328 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003675/0.0003675, allocations: 12 kB / 499.7 MB, free: 6.312 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1268/0.1271, allocations: 69.37 MB / 0.5558 GB, free: 0.8984 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation): time 0.2077/0.3349, allocations: 5.614 MB / 0.5613 GB, free: 37.18 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003322/0.3383, allocations: 1.844 MB / 0.5631 GB, free: 36.91 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007905/0.3391, allocations: 11.56 kB / 0.5631 GB, free: 36.91 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004668/0.3396, allocations: 153.2 kB / 0.5632 GB, free: 36.85 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001602/0.3412, allocations: 0.6565 MB / 0.5639 GB, free: 36.77 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001082/0.3423, allocations: 0.509 MB / 0.5644 GB, free: 36.75 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001253/0.3435, allocations: 0.9199 MB / 0.5653 GB, free: 36.7 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003582/0.3439, allocations: 261.4 kB / 0.5655 GB, free: 36.67 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005339/0.3445, allocations: 0.5062 MB / 0.566 GB, free: 36.52 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005321/0.345, allocations: 0.6238 MB / 0.5666 GB, free: 36.35 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001018/0.3451, allocations: 56.47 kB / 0.5667 GB, free: 36.35 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003706/0.3455, allocations: 165.2 kB / 0.5668 GB, free: 36.34 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001767/0.3457, allocations: 215.9 kB / 0.567 GB, free: 36.28 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001883/0.3459, allocations: 218.3 kB / 0.5672 GB, free: 36.2 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000833/0.3467, allocations: 1.065 MB / 0.5683 GB, free: 36.02 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.054e-06/0.3467, allocations: 0 / 0.5683 GB, free: 36.02 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.3467, allocations: 0.7812 kB / 0.5683 GB, free: 36.02 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.711e-05/0.3468, allocations: 0 / 0.5683 GB, free: 36.02 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: 195 * Number of variables: 195 Notification: Performance of Generate backend data structure: time 0.007133/0.3539, allocations: 2.406 MB / 0.5706 GB, free: 35.16 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.706e-05/0.3539, allocations: 11.16 kB / 0.5706 GB, free: 35.16 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001973/0.3541, allocations: 133.2 kB / 0.5708 GB, free: 35.12 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004951/0.3591, allocations: 0.7873 MB / 0.5715 GB, free: 35.02 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001117/0.3602, allocations: 0.7267 MB / 0.5722 GB, free: 34.66 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002342/0.3605, allocations: 270.2 kB / 0.5725 GB, free: 34.47 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001307/0.3606, allocations: 78.16 kB / 0.5726 GB, free: 34.47 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002147/0.3628, allocations: 1.165 MB / 0.5737 GB, free: 34.39 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.591e-05/0.3628, allocations: 0 / 0.5737 GB, free: 34.39 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.677e-05/0.3629, allocations: 35.28 kB / 0.5737 GB, free: 34.39 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.492e-05/0.3629, allocations: 21.86 kB / 0.5738 GB, free: 34.39 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002433/0.3654, allocations: 1.237 MB / 0.575 GB, free: 34.23 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.005271/0.3706, allocations: 3.611 MB / 0.5785 GB, free: 32.14 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001939/0.3726, allocations: 1.527 MB / 0.58 GB, free: 31.19 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.309e-05/0.3727, allocations: 17.42 kB / 0.58 GB, free: 31.19 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.322e-05/0.3727, allocations: 46.19 kB / 0.58 GB, free: 31.14 MB / 430.1 MB Notification: Performance of pre-optimization done (n=97): time 2.525e-06/0.3728, allocations: 0 / 0.58 GB, free: 31.14 MB / 430.1 MB Notification: Performance of matching and sorting (n=97): time 0.02662/0.3994, allocations: 8.157 MB / 0.588 GB, free: 29.72 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.128e-05/0.3995, allocations: 61.44 kB / 0.5881 GB, free: 29.66 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001251/0.4007, allocations: 0.8923 MB / 0.5889 GB, free: 29.28 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002642/0.401, allocations: 41.89 kB / 0.589 GB, free: 29.23 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003033/0.4013, allocations: 0.4937 MB / 0.5895 GB, free: 28.84 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003502/0.4017, allocations: 338.1 kB / 0.5898 GB, free: 28.57 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.142e-05/0.4017, allocations: 31.22 kB / 0.5898 GB, free: 28.54 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 8.628e-05/0.4018, allocations: 352.5 kB / 0.5902 GB, free: 28.22 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001784/0.4036, allocations: 0.8041 MB / 0.5909 GB, free: 27.96 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001828/0.4055, allocations: 0.9377 MB / 0.5919 GB, free: 27.58 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001811/0.4073, allocations: 0.8584 MB / 0.5927 GB, free: 27.25 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.513e-06/0.4073, allocations: 5.156 kB / 0.5927 GB, free: 27.25 MB / 430.1 MB Notification: Performance of matching and sorting (n=147) (initialization): time 0.01592/0.4232, allocations: 5.207 MB / 0.5978 GB, free: 26.12 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.215e-05/0.4233, allocations: 6.812 kB / 0.5978 GB, free: 26.12 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.565e-05/0.4233, allocations: 1.969 kB / 0.5978 GB, free: 26.12 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007552/0.4309, allocations: 2.105 MB / 0.5998 GB, free: 25.78 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001326/0.4323, allocations: 234.8 kB / 0.6001 GB, free: 25.76 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0241/0.4564, allocations: 9.987 MB / 0.6098 GB, free: 21.5 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001788/0.4582, allocations: 224.4 kB / 0.61 GB, free: 21.42 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001311/0.4583, allocations: 43.83 kB / 0.6101 GB, free: 21.41 MB / 430.1 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.0005343/0.4589, allocations: 237.8 kB / 0.6103 GB, free: 21.2 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001997/0.4591, allocations: 123.3 kB / 0.6104 GB, free: 21.08 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01367/0.4728, allocations: 4.956 MB / 0.6153 GB, free: 16.85 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.931e-05/0.4728, allocations: 16 kB / 0.6153 GB, free: 16.84 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.211e-06/0.4729, allocations: 0 / 0.6153 GB, free: 16.84 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-05/0.4729, allocations: 3.984 kB / 0.6153 GB, free: 16.83 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01502/0.4879, allocations: 6.548 MB / 0.6217 GB, free: 10.14 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.415e-05/0.488, allocations: 0 / 0.6217 GB, free: 10.14 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008106/0.4888, allocations: 153.5 kB / 0.6218 GB, free: 9.996 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005989/0.4948, allocations: 2.05 MB / 0.6238 GB, free: 7.945 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002084/0.495, allocations: 20 kB / 0.6238 GB, free: 7.926 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01764/0.5127, allocations: 8.657 MB / 0.6323 GB, free: 15.12 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.649e-06/0.5127, allocations: 3.953 kB / 0.6323 GB, free: 15.12 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01692/0.5297, allocations: 5.993 MB / 0.6382 GB, free: 9.102 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004803/0.5302, allocations: 204.3 kB / 0.6383 GB, free: 8.883 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002142/0.5304, allocations: 16.8 kB / 0.6384 GB, free: 8.867 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001143/0.5315, allocations: 157.7 kB / 0.6385 GB, free: 8.715 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006666/0.5322, allocations: 220.5 kB / 0.6387 GB, free: 8.5 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.597e-05/0.5323, allocations: 24 kB / 0.6387 GB, free: 8.477 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0007667/0.5331, allocations: 0.593 MB / 0.6393 GB, free: 7.871 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5331, allocations: 0 / 0.6393 GB, free: 7.871 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001397/0.5345, allocations: 443.4 kB / 0.6397 GB, free: 7.438 MB / 446.1 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.01709/0.5516, allocations: 6.565 MB / 0.6462 GB, free: 0.8398 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.007403/0.559, allocations: 2.77 MB / 0.6489 GB, free: 14.06 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.338e-06/0.5591, allocations: 0 / 0.6489 GB, free: 14.06 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005103/0.5642, allocations: 1.796 MB / 0.6506 GB, free: 12.26 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006424/0.5648, allocations: 70.38 kB / 0.6507 GB, free: 12.19 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004589/0.5694, allocations: 4.223 MB / 0.6548 GB, free: 7.902 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005592/0.57, allocations: 1.122 MB / 0.6559 GB, free: 6.754 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.000335/0.5704, allocations: 87.8 kB / 0.656 GB, free: 6.668 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005102/0.5709, allocations: 439.3 kB / 0.6564 GB, free: 6.238 MB / 462.1 MB Notification: Performance of SimCode: time 7.81e-07/0.5709, allocations: 0 / 0.6564 GB, free: 6.238 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04728/0.6182, allocations: 29.31 MB / 0.685 GB, free: 9.301 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001881/0.6184, allocations: 224.7 kB / 0.6852 GB, free: 9.055 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.39/3.008, allocations: 0 / 0.6852 GB, free: 9.055 MB / 494.1 MB (rm -f OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_OpenIPSL_Tests_Machines_PSAT_Order3test2_perturbation_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_OpenIPSL_Tests_Machines_PSAT_Order3test2_perturbation.fmu > OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.pipe 2>&1) Environment - environmentSimulation: