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.001239/0.001244, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.39/1.39, allocations: 222.9 MB / 239 MB, free: 4.656 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.001437/0.001437, allocations: 204.4 kB / 289.3 MB, free: 2.391 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.537/0.537, allocations: 91.9 MB / 431.3 MB, free: 9.426 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001628/0.001628, allocations: 79.88 kB / 0.5015 GB, free: 7.984 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3728/0.3745, allocations: 71.27 MB / 0.5711 GB, free: 36.41 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation): time 0.005759/0.3803, allocations: 6.724 MB / 0.5777 GB, free: 32.52 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003355/0.3837, allocations: 1.904 MB / 0.5795 GB, free: 31.29 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006303/0.3843, allocations: 13.19 kB / 0.5795 GB, free: 31.29 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004892/0.3848, allocations: 178.5 kB / 0.5797 GB, free: 31.21 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001435/0.3863, allocations: 0.6201 MB / 0.5803 GB, free: 30.81 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001079/0.3874, allocations: 0.5621 MB / 0.5809 GB, free: 30.5 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001112/0.3885, allocations: 1.395 MB / 0.5822 GB, free: 29.8 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003988/0.3889, allocations: 324.6 kB / 0.5825 GB, free: 29.67 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005652/0.3895, allocations: 0.5865 MB / 0.5831 GB, free: 29.38 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005373/0.3901, allocations: 0.7191 MB / 0.5838 GB, free: 29.02 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001258/0.3902, allocations: 104.8 kB / 0.5839 GB, free: 29.02 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003907/0.3906, allocations: 235.8 kB / 0.5841 GB, free: 28.97 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001569/0.3908, allocations: 283.8 kB / 0.5844 GB, free: 28.79 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003552/0.3911, allocations: 0.6179 MB / 0.585 GB, free: 28.37 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001147/0.3923, allocations: 1.483 MB / 0.5864 GB, free: 27.68 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.051e-06/0.3923, allocations: 4 kB / 0.5865 GB, free: 27.67 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.3923, allocations: 1.312 kB / 0.5865 GB, free: 27.67 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.701e-05/0.3923, allocations: 0 / 0.5865 GB, free: 27.67 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.007708/0.4, allocations: 2.539 MB / 0.5889 GB, free: 26.5 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.64e-05/0.4001, allocations: 9.75 kB / 0.5889 GB, free: 26.5 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001402/0.4003, allocations: 128.3 kB / 0.5891 GB, free: 26.41 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004904/0.4052, allocations: 0.7787 MB / 0.5898 GB, free: 26.25 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001074/0.4063, allocations: 0.7634 MB / 0.5906 GB, free: 25.7 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002446/0.4065, allocations: 258 kB / 0.5908 GB, free: 25.48 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001482/0.4067, allocations: 74.25 kB / 0.5909 GB, free: 25.45 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002243/0.4089, allocations: 1.077 MB / 0.5919 GB, free: 25.07 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.961e-05/0.409, allocations: 0 / 0.5919 GB, free: 25.07 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.114e-05/0.4091, allocations: 34.03 kB / 0.592 GB, free: 25.04 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.904e-05/0.4091, allocations: 19.19 kB / 0.592 GB, free: 25.04 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002381/0.4115, allocations: 1.116 MB / 0.5931 GB, free: 24.7 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.005808/0.4173, allocations: 3.442 MB / 0.5964 GB, free: 22.73 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002283/0.4196, allocations: 1.411 MB / 0.5978 GB, free: 21.8 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001596/0.4212, allocations: 0.775 MB / 0.5986 GB, free: 21.51 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001266/0.4214, allocations: 16.36 kB / 0.5986 GB, free: 21.5 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.621e-05/0.4214, allocations: 47.66 kB / 0.5986 GB, free: 21.45 MB / 430.1 MB Notification: Performance of pre-optimization done (n=96): time 2.955e-06/0.4214, allocations: 1.094 kB / 0.5986 GB, free: 21.45 MB / 430.1 MB Notification: Performance of matching and sorting (n=96): time 0.02802/0.4494, allocations: 6.75 MB / 0.6052 GB, free: 20.18 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.346e-05/0.4495, allocations: 62.06 kB / 0.6053 GB, free: 20.12 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001753/0.4513, allocations: 0.8797 MB / 0.6061 GB, free: 19.75 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000281/0.4516, allocations: 45.73 kB / 0.6062 GB, free: 19.7 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004238/0.452, allocations: 0.4928 MB / 0.6067 GB, free: 19.3 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005037/0.4525, allocations: 338.2 kB / 0.607 GB, free: 19.04 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006012/0.4532, allocations: 198.2 kB / 0.6072 GB, free: 18.94 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 8.833e-05/0.4533, allocations: 359.6 kB / 0.6075 GB, free: 18.61 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001733/0.455, allocations: 0.7097 MB / 0.6082 GB, free: 18.36 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001845/0.4569, allocations: 0.8356 MB / 0.609 GB, free: 18.01 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0202/0.4771, allocations: 4.794 MB / 0.6137 GB, free: 16.68 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.218e-05/0.4771, allocations: 5.031 kB / 0.6137 GB, free: 16.68 MB / 430.1 MB Notification: Performance of matching and sorting (n=143) (initialization): time 0.01419/0.4913, allocations: 4.257 MB / 0.6179 GB, free: 14.39 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.564e-05/0.4914, allocations: 8 kB / 0.6179 GB, free: 14.38 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.916e-05/0.4915, allocations: 4 kB / 0.6179 GB, free: 14.38 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005783/0.4972, allocations: 1.866 MB / 0.6197 GB, free: 12.5 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001123/0.4984, allocations: 207.6 kB / 0.6199 GB, free: 12.3 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02/0.5184, allocations: 9.086 MB / 0.6288 GB, free: 3.074 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001858/0.5203, allocations: 179 kB / 0.629 GB, free: 2.898 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002538/0.5206, allocations: 39.98 kB / 0.629 GB, free: 2.859 MB / 430.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.000702/0.5213, allocations: 243.3 kB / 0.6292 GB, free: 2.613 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003872/0.5217, allocations: 118.5 kB / 0.6293 GB, free: 2.496 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01288/0.5346, allocations: 4.002 MB / 0.6332 GB, free: 14.47 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.429e-05/0.5347, allocations: 8 kB / 0.6333 GB, free: 14.46 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.051e-05/0.5347, allocations: 7.938 kB / 0.6333 GB, free: 14.46 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-05/0.5347, allocations: 7.969 kB / 0.6333 GB, free: 14.45 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01692/0.5516, allocations: 5.614 MB / 0.6388 GB, free: 8.699 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.742e-05/0.5517, allocations: 0 / 0.6388 GB, free: 8.699 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008445/0.5526, allocations: 131.8 kB / 0.6389 GB, free: 8.57 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006124/0.5587, allocations: 1.745 MB / 0.6406 GB, free: 6.82 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002155/0.559, allocations: 19.98 kB / 0.6406 GB, free: 6.801 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01983/0.5788, allocations: 8.084 MB / 0.6485 GB, free: 14.57 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.455e-06/0.5788, allocations: 0 / 0.6485 GB, free: 14.57 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01652/0.5954, allocations: 4.962 MB / 0.6533 GB, free: 9.582 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005026/0.5959, allocations: 207.4 kB / 0.6535 GB, free: 9.359 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003977/0.5963, allocations: 20 kB / 0.6536 GB, free: 9.34 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001345/0.5977, allocations: 111.9 kB / 0.6537 GB, free: 9.23 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008996/0.5986, allocations: 220.6 kB / 0.6539 GB, free: 9.012 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001494/0.5988, allocations: 23.98 kB / 0.6539 GB, free: 8.988 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001147/0.5999, allocations: 0.5965 MB / 0.6545 GB, free: 8.383 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.6, allocations: 0 / 0.6545 GB, free: 8.383 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001801/0.6018, allocations: 439.5 kB / 0.6549 GB, free: 7.953 MB / 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.01661/0.6184, allocations: 5.534 MB / 0.6603 GB, free: 2.379 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.008007/0.6264, allocations: 2.496 MB / 0.6627 GB, free: 15.87 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 5.21e-06/0.6265, allocations: 4.188 kB / 0.6627 GB, free: 15.86 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005288/0.6318, allocations: 1.593 MB / 0.6643 GB, free: 14.25 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001307/0.6331, allocations: 88.41 kB / 0.6644 GB, free: 14.17 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04357/0.6767, allocations: 16.09 MB / 0.6801 GB, free: 13.68 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008635/0.6776, allocations: 1.084 MB / 0.6812 GB, free: 12.57 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0005259/0.6782, allocations: 82.69 kB / 0.6812 GB, free: 12.49 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006762/0.6789, allocations: 451.3 kB / 0.6817 GB, free: 12.05 MB / 494.1 MB Notification: Performance of SimCode: time 5.61e-07/0.6789, allocations: 0 / 0.6817 GB, free: 12.05 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06319/0.7421, allocations: 31.57 MB / 0.7125 GB, free: 12.68 MB / 0.5137 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001913/0.7423, allocations: 229.8 kB / 0.7127 GB, free: 12.43 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.9/3.643, allocations: 1.25 kB / 0.7127 GB, free: 12.43 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)