Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order2test2.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.Order2test2,fileNamePrefix="OpenIPSL_release_OpenIPSL_Tests_Machines_PSAT_Order2test2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.Order2test2,fileNamePrefix="OpenIPSL_release_OpenIPSL_Tests_Machines_PSAT_Order2test2",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.008054/0.008054, allocations: 171.2 kB / 15.12 MB, free: 5.559 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.358/1.358, allocations: 223.2 MB / 239 MB, free: 1.766 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.0009041/0.0009041, allocations: 104.1 kB / 290.2 MB, free: 13.91 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.488/0.488, allocations: 78.58 MB / 419.9 MB, free: 44.2 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003524/0.0003524, allocations: 12 kB / 499.9 MB, free: 2.84 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3616/0.362, allocations: 69.34 MB / 0.5559 GB, free: 38.85 MB / 426.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order2test2): time 0.004959/0.367, allocations: 4.973 MB / 0.5607 GB, free: 38.31 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.003198/0.3702, allocations: 1.697 MB / 0.5624 GB, free: 37.11 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007779/0.371, allocations: 10.88 kB / 0.5624 GB, free: 37.11 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004005/0.3714, allocations: 146.5 kB / 0.5625 GB, free: 37.05 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001377/0.3728, allocations: 0.6222 MB / 0.5631 GB, free: 36.62 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009997/0.3738, allocations: 482.1 kB / 0.5636 GB, free: 36.38 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.000972/0.3748, allocations: 0.8026 MB / 0.5644 GB, free: 35.95 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003105/0.3751, allocations: 217.4 kB / 0.5646 GB, free: 35.84 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000503/0.3756, allocations: 451.2 kB / 0.565 GB, free: 35.63 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005457/0.3762, allocations: 0.5471 MB / 0.5655 GB, free: 35.39 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001012/0.3763, allocations: 46.97 kB / 0.5656 GB, free: 35.39 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003677/0.3767, allocations: 159.2 kB / 0.5657 GB, free: 35.35 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001434/0.3768, allocations: 187.3 kB / 0.5659 GB, free: 35.24 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001372/0.377, allocations: 198.7 kB / 0.5661 GB, free: 35.11 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007419/0.3777, allocations: 0.949 MB / 0.567 GB, free: 34.81 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.334e-06/0.3777, allocations: 0 / 0.567 GB, free: 34.81 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.292e-06/0.3777, allocations: 0 / 0.567 GB, free: 34.81 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.154e-05/0.3777, allocations: 0 / 0.567 GB, free: 34.81 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: 166 * Number of variables: 166 Notification: Performance of Generate backend data structure: time 0.006539/0.3843, allocations: 2.185 MB / 0.5692 GB, free: 33.86 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.945e-05/0.3843, allocations: 9.062 kB / 0.5692 GB, free: 33.86 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001512/0.3845, allocations: 119.2 kB / 0.5693 GB, free: 33.77 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004474/0.389, allocations: 0.7621 MB / 0.57 GB, free: 33.63 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009469/0.3899, allocations: 0.6571 MB / 0.5707 GB, free: 33.18 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002143/0.3902, allocations: 265.7 kB / 0.5709 GB, free: 32.96 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000114/0.3903, allocations: 69.89 kB / 0.571 GB, free: 32.93 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001769/0.3921, allocations: 1.007 MB / 0.572 GB, free: 32.58 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.377e-05/0.3921, allocations: 0 / 0.572 GB, free: 32.58 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.777e-05/0.3922, allocations: 25.28 kB / 0.572 GB, free: 32.56 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.181e-05/0.3922, allocations: 20.23 kB / 0.572 GB, free: 32.55 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001901/0.3941, allocations: 1.054 MB / 0.573 GB, free: 32.23 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.0047/0.3988, allocations: 3.308 MB / 0.5763 GB, free: 30.26 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001749/0.4006, allocations: 1.386 MB / 0.5776 GB, free: 29.35 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.518e-05/0.4007, allocations: 13.05 kB / 0.5776 GB, free: 29.35 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.655e-05/0.4007, allocations: 42.06 kB / 0.5777 GB, free: 29.3 MB / 426.7 MB Notification: Performance of pre-optimization done (n=81): time 1.984e-06/0.4007, allocations: 4 kB / 0.5777 GB, free: 29.3 MB / 426.7 MB Notification: Performance of matching and sorting (n=81): time 0.027/0.4277, allocations: 8.275 MB / 0.5858 GB, free: 27.95 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.27e-05/0.4278, allocations: 59.66 kB / 0.5858 GB, free: 27.88 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009329/0.4287, allocations: 0.7858 MB / 0.5866 GB, free: 27.54 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001376/0.4288, allocations: 40.23 kB / 0.5866 GB, free: 27.5 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002125/0.4291, allocations: 431.3 kB / 0.587 GB, free: 27.16 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002248/0.4293, allocations: 295.7 kB / 0.5873 GB, free: 26.93 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.122e-05/0.4294, allocations: 18.97 kB / 0.5873 GB, free: 26.91 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 5.937e-05/0.4294, allocations: 345 kB / 0.5877 GB, free: 26.59 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001348/0.4308, allocations: 0.7171 MB / 0.5884 GB, free: 26.34 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001347/0.4322, allocations: 0.8293 MB / 0.5892 GB, free: 26 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001462/0.4336, allocations: 0.7542 MB / 0.5899 GB, free: 25.7 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.08e-06/0.4336, allocations: 0.625 kB / 0.5899 GB, free: 25.7 MB / 426.7 MB Notification: Performance of matching and sorting (n=127) (initialization): time 0.01422/0.4479, allocations: 4.926 MB / 0.5947 GB, free: 24.66 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.621e-05/0.4479, allocations: 5.844 kB / 0.5947 GB, free: 24.66 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.267e-05/0.4479, allocations: 3.406 kB / 0.5947 GB, free: 24.66 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006479/0.4544, allocations: 2.168 MB / 0.5969 GB, free: 24.31 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008516/0.4553, allocations: 172.4 kB / 0.597 GB, free: 24.29 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02136/0.4767, allocations: 9.795 MB / 0.6066 GB, free: 20.08 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001381/0.4781, allocations: 188.2 kB / 0.6068 GB, free: 20.02 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.68e-05/0.4782, allocations: 36.03 kB / 0.6068 GB, free: 20.01 MB / 426.7 MB Warning: Assuming fixed start value for the following 2 variables: order21.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order21.delta:VARIABLE(flow=false start = order21.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 (92): * Single equations (assignments): 91 * 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 prepare postOptimizeDAE: time 0.0003804/0.4786, allocations: 224.3 kB / 0.607 GB, free: 19.82 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001739/0.4788, allocations: 107.2 kB / 0.6071 GB, free: 19.77 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0134/0.4922, allocations: 4.722 MB / 0.6117 GB, free: 16.64 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.316e-05/0.4922, allocations: 8 kB / 0.6117 GB, free: 16.64 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.96e-06/0.4922, allocations: 15.98 kB / 0.6118 GB, free: 16.62 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.613e-05/0.4923, allocations: 3.984 kB / 0.6118 GB, free: 16.62 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01411/0.5064, allocations: 6.231 MB / 0.6178 GB, free: 10.25 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.041e-05/0.5064, allocations: 3.938 kB / 0.6178 GB, free: 10.25 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005109/0.5069, allocations: 95.89 kB / 0.6179 GB, free: 10.15 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00586/0.5128, allocations: 2.051 MB / 0.6199 GB, free: 8.098 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001361/0.513, allocations: 20 kB / 0.62 GB, free: 8.078 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01731/0.5303, allocations: 8.647 MB / 0.6284 GB, free: 15.29 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.5303, allocations: 0 / 0.6284 GB, free: 15.29 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01619/0.5465, allocations: 5.661 MB / 0.6339 GB, free: 9.609 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003872/0.5469, allocations: 195.8 kB / 0.6341 GB, free: 9.398 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001543/0.5471, allocations: 15.95 kB / 0.6341 GB, free: 9.383 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009881/0.5481, allocations: 127.9 kB / 0.6343 GB, free: 9.258 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005364/0.5487, allocations: 204.6 kB / 0.6344 GB, free: 9.055 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.15e-05/0.5487, allocations: 16 kB / 0.6345 GB, free: 9.039 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0006417/0.5494, allocations: 0.5263 MB / 0.635 GB, free: 8.516 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.5494, allocations: 0 / 0.635 GB, free: 8.516 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.00116/0.5505, allocations: 403.5 kB / 0.6354 GB, free: 8.121 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (order21.delta,order21.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 (48): * Single equations (assignments): 47 * 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.03203/0.5826, allocations: 6.237 MB / 0.6415 GB, free: 1.848 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.01234/0.595, allocations: 2.566 MB / 0.644 GB, free: 15.27 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 6.632e-06/0.595, allocations: 0 / 0.644 GB, free: 15.27 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00875/0.6038, allocations: 1.671 MB / 0.6456 GB, free: 13.59 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008738/0.6047, allocations: 72.02 kB / 0.6457 GB, free: 13.53 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006238/0.611, allocations: 3.771 MB / 0.6493 GB, free: 9.676 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005534/0.6116, allocations: 1.052 MB / 0.6504 GB, free: 8.598 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0002766/0.6118, allocations: 82.17 kB / 0.6504 GB, free: 8.516 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004322/0.6123, allocations: 375.2 kB / 0.6508 GB, free: 8.148 MB / 458.7 MB Notification: Performance of SimCode: time 6.91e-07/0.6123, allocations: 0 / 0.6508 GB, free: 8.148 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04322/0.6555, allocations: 26.64 MB / 0.6768 GB, free: 13.66 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002443/0.6558, allocations: 202.6 kB / 0.677 GB, free: 13.42 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.967/3.623, allocations: 0 / 0.677 GB, free: 13.42 MB / 490.7 MB (rm -f OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order2test2.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order2test2.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order2test2.pipe >> ../files/OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order2test2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_release_OpenIPSL_Tests_Machines_PSAT_Order2test2_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_release_OpenIPSL_Tests_Machines_PSAT_Order2test2.fmu > OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order2test2.pipe 2>&1)