Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order2test2_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.Order2test2_perturbation,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Machines_PSAT_Order2test2_perturbation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Machines_PSAT_Order2test2_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.0009553/0.0009553, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.497/1.497, allocations: 223.3 MB / 239.4 MB, free: 5.52 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.001416/0.001416, allocations: 176.5 kB / 290.6 MB, free: 2.195 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5488/0.5488, allocations: 91.92 MB / 433.6 MB, free: 10.3 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004261/0.0004262, allocations: 8.281 kB / 0.5049 GB, free: 7.184 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4131/0.4135, allocations: 72.46 MB / 0.5756 GB, free: 36.33 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation): time 0.005135/0.4187, allocations: 6.273 MB / 0.5818 GB, free: 32.39 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003932/0.4227, allocations: 1.891 MB / 0.5836 GB, free: 31.05 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001055/0.4238, allocations: 13.47 kB / 0.5836 GB, free: 31.05 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005733/0.4244, allocations: 171.8 kB / 0.5838 GB, free: 30.98 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001813/0.4262, allocations: 0.6208 MB / 0.5844 GB, free: 30.58 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001192/0.4274, allocations: 0.5658 MB / 0.5849 GB, free: 30.27 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001205/0.4286, allocations: 1.337 MB / 0.5862 GB, free: 29.61 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003971/0.429, allocations: 284.2 kB / 0.5865 GB, free: 29.49 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006126/0.4296, allocations: 0.5113 MB / 0.587 GB, free: 29.25 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006055/0.4303, allocations: 0.6562 MB / 0.5877 GB, free: 28.95 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001161/0.4304, allocations: 52.59 kB / 0.5877 GB, free: 28.95 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004796/0.4309, allocations: 181.5 kB / 0.5879 GB, free: 28.9 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001944/0.4311, allocations: 223 kB / 0.5881 GB, free: 28.77 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004637/0.4315, allocations: 0.5822 MB / 0.5887 GB, free: 28.38 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001175/0.4327, allocations: 1.412 MB / 0.59 GB, free: 27.82 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.4327, allocations: 4 kB / 0.59 GB, free: 27.82 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.923e-06/0.4327, allocations: 0 / 0.59 GB, free: 27.82 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.134e-05/0.4328, allocations: 2.031 kB / 0.59 GB, free: 27.82 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: 194 * Number of variables: 194 Notification: Performance of Generate backend data structure: time 0.007704/0.4405, allocations: 2.372 MB / 0.5924 GB, free: 26.78 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.66e-05/0.4406, allocations: 8.5 kB / 0.5924 GB, free: 26.78 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002968/0.4409, allocations: 129.2 kB / 0.5925 GB, free: 26.69 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005159/0.446, allocations: 0.7846 MB / 0.5933 GB, free: 26.54 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001328/0.4474, allocations: 0.7574 MB / 0.594 GB, free: 25.99 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002988/0.4477, allocations: 269.3 kB / 0.5943 GB, free: 25.77 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001695/0.4479, allocations: 79.88 kB / 0.5943 GB, free: 25.74 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002499/0.4504, allocations: 1.164 MB / 0.5955 GB, free: 25.34 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.821e-05/0.4504, allocations: 4 kB / 0.5955 GB, free: 25.34 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.338e-05/0.4505, allocations: 33.58 kB / 0.5955 GB, free: 25.31 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.157e-05/0.4505, allocations: 19.25 kB / 0.5955 GB, free: 25.31 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002749/0.4533, allocations: 1.24 MB / 0.5967 GB, free: 24.96 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.006288/0.4596, allocations: 3.502 MB / 0.6002 GB, free: 22.98 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002424/0.462, allocations: 1.507 MB / 0.6016 GB, free: 22.04 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001868/0.4639, allocations: 0.867 MB / 0.6025 GB, free: 21.74 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000117/0.4641, allocations: 19.61 kB / 0.6025 GB, free: 21.73 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.16e-05/0.4641, allocations: 42.75 kB / 0.6025 GB, free: 21.68 MB / 430.1 MB Notification: Performance of pre-optimization done (n=96): time 3.246e-06/0.4641, allocations: 4 kB / 0.6025 GB, free: 21.68 MB / 430.1 MB Notification: Performance of matching and sorting (n=96): time 0.03245/0.4966, allocations: 8.364 MB / 0.6107 GB, free: 20.23 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.259e-05/0.4967, allocations: 65.47 kB / 0.6108 GB, free: 20.16 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00196/0.4987, allocations: 0.8877 MB / 0.6116 GB, free: 19.78 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003375/0.499, allocations: 41.27 kB / 0.6117 GB, free: 19.74 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004855/0.4995, allocations: 497.9 kB / 0.6122 GB, free: 19.35 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006536/0.5002, allocations: 341.3 kB / 0.6125 GB, free: 19.08 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004433/0.5007, allocations: 101.6 kB / 0.6126 GB, free: 19.02 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001399/0.5008, allocations: 353.7 kB / 0.6129 GB, free: 18.7 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002366/0.5032, allocations: 0.7999 MB / 0.6137 GB, free: 18.44 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002308/0.5055, allocations: 0.9324 MB / 0.6146 GB, free: 18.07 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02159/0.5271, allocations: 5.358 MB / 0.6198 GB, free: 15.8 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.341e-05/0.5272, allocations: 0 / 0.6198 GB, free: 15.8 MB / 430.1 MB Notification: Performance of matching and sorting (n=143) (initialization): time 0.01501/0.5422, allocations: 5.199 MB / 0.6249 GB, free: 10.59 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.476e-05/0.5423, allocations: 4 kB / 0.6249 GB, free: 10.58 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.414e-05/0.5423, allocations: 7.938 kB / 0.6249 GB, free: 10.57 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006495/0.5488, allocations: 2.171 MB / 0.627 GB, free: 8.398 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001125/0.55, allocations: 215.7 kB / 0.6272 GB, free: 8.188 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02178/0.5718, allocations: 9.348 MB / 0.6364 GB, free: 14.7 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001979/0.5738, allocations: 226.9 kB / 0.6366 GB, free: 14.48 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002693/0.5741, allocations: 39.98 kB / 0.6366 GB, free: 14.44 MB / 446.1 MB Warning: Assuming fixed start value for the following 2 variables: order2_Inputs_Outputs1.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order2_Inputs_Outputs1.delta:VARIABLE(flow=false start = order2_Inputs_Outputs1.delta0 unit = "rad" fixed = true ) "Rotor angle" 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 (108): * Single equations (assignments): 107 * 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 prepare postOptimizeDAE: time 0.0008516/0.575, allocations: 237.7 kB / 0.6369 GB, free: 14.2 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004601/0.5754, allocations: 122.4 kB / 0.637 GB, free: 14.08 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01582/0.5913, allocations: 4.951 MB / 0.6418 GB, free: 9.109 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2e-05/0.5913, allocations: 11.98 kB / 0.6418 GB, free: 9.098 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.73e-06/0.5914, allocations: 4 kB / 0.6418 GB, free: 9.094 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.032e-05/0.5914, allocations: 3.984 kB / 0.6418 GB, free: 9.09 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01916/0.6106, allocations: 6.571 MB / 0.6482 GB, free: 2.379 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.6e-05/0.6106, allocations: 0 / 0.6482 GB, free: 2.379 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008691/0.6115, allocations: 139.9 kB / 0.6484 GB, free: 2.242 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006976/0.6185, allocations: 2.05 MB / 0.6504 GB, free: 192 kB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002533/0.6188, allocations: 19.98 kB / 0.6504 GB, free: 172 kB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0211/0.6399, allocations: 8.217 MB / 0.6584 GB, free: 7.809 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.023e-06/0.64, allocations: 7.922 kB / 0.6584 GB, free: 7.801 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0185/0.6585, allocations: 6.009 MB / 0.6643 GB, free: 1.77 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005286/0.6591, allocations: 203.5 kB / 0.6645 GB, free: 1.551 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000452/0.6595, allocations: 16 kB / 0.6645 GB, free: 1.535 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001493/0.6611, allocations: 151.9 kB / 0.6647 GB, free: 1.387 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008687/0.6619, allocations: 212.6 kB / 0.6649 GB, free: 1.176 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001894/0.6622, allocations: 24 kB / 0.6649 GB, free: 1.152 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001085/0.6632, allocations: 0.5965 MB / 0.6655 GB, free: 0.5469 MB / 462.1 MB Notification: Performance of sort global known variables: time 3.2e-07/0.6633, allocations: 0 / 0.6655 GB, free: 0.5469 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002087/0.6654, allocations: 439.4 kB / 0.6659 GB, free: 120 kB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (order2_Inputs_Outputs1.delta,order2_Inputs_Outputs1.w) * 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 (63): * Single equations (assignments): 62 * 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.0188/0.6842, allocations: 6.577 MB / 0.6723 GB, free: 9.504 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.008633/0.6929, allocations: 2.768 MB / 0.675 GB, free: 6.723 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 6.042e-06/0.6929, allocations: 0 / 0.675 GB, free: 6.723 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005973/0.6989, allocations: 1.797 MB / 0.6768 GB, free: 4.906 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001472/0.7004, allocations: 88.36 kB / 0.6768 GB, free: 4.82 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04777/0.7482, allocations: 18.1 MB / 0.6945 GB, free: 2.324 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000979/0.7492, allocations: 1.084 MB / 0.6956 GB, free: 1.215 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.000609/0.7499, allocations: 94.67 kB / 0.6957 GB, free: 1.117 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000792/0.7507, allocations: 435.3 kB / 0.6961 GB, free: 0.6914 MB / 494.1 MB Notification: Performance of SimCode: time 1.272e-06/0.7507, allocations: 4 kB / 0.6961 GB, free: 0.6875 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05761/0.8083, allocations: 29.65 MB / 0.725 GB, free: 3.254 MB / 0.5137 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002195/0.8086, allocations: 241.9 kB / 0.7253 GB, free: 2.992 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.674/3.483, allocations: 11 kB / 0.7253 GB, free: 2.984 MB / 0.5137 GB (rm -f OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Tests_Machines_PSAT_Order2test2_perturbation_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Tests_Machines_PSAT_Order2test2_perturbation.fmu > OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.pipe 2>&1)