Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order2test2.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.Order2test2,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Machines_PSAT_Order2test2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.Order2test2,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Machines_PSAT_Order2test2",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.00133/0.00133, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.41/1.41, allocations: 222.9 MB / 238.8 MB, free: 4.777 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.001605/0.001605, allocations: 200.4 kB / 289.1 MB, free: 2.52 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4727/0.4727, allocations: 78.53 MB / 417.8 MB, free: 3.336 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001418/0.001418, allocations: 75.88 kB / 496.9 MB, free: 6.766 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1595/0.161, allocations: 68.18 MB / 0.5518 GB, free: 2.547 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order2test2): time 0.3149/0.476, allocations: 6.015 MB / 0.5577 GB, free: 36.48 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003098/0.4791, allocations: 1.778 MB / 0.5594 GB, free: 35.95 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003808/0.4795, allocations: 9.75 kB / 0.5594 GB, free: 35.95 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004737/0.48, allocations: 160 kB / 0.5596 GB, free: 35.95 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001321/0.4814, allocations: 0.6007 MB / 0.5602 GB, free: 35.81 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001012/0.4824, allocations: 0.5335 MB / 0.5607 GB, free: 35.73 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001097/0.4835, allocations: 1.171 MB / 0.5618 GB, free: 35.66 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003584/0.4839, allocations: 234.9 kB / 0.562 GB, free: 35.62 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005225/0.4844, allocations: 486.1 kB / 0.5625 GB, free: 35.5 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000553/0.4849, allocations: 0.6105 MB / 0.5631 GB, free: 35.34 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001059/0.4851, allocations: 55.34 kB / 0.5632 GB, free: 35.34 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000385/0.4855, allocations: 184.9 kB / 0.5633 GB, free: 35.34 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001629/0.4856, allocations: 210 kB / 0.5635 GB, free: 35.28 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003819/0.486, allocations: 0.5059 MB / 0.564 GB, free: 35.09 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001057/0.4871, allocations: 1.293 MB / 0.5653 GB, free: 34.79 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.548e-06/0.4871, allocations: 0 / 0.5653 GB, free: 34.79 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.4871, allocations: 0.9062 kB / 0.5653 GB, free: 34.79 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.178e-05/0.4871, allocations: 1.406 kB / 0.5653 GB, free: 34.79 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: 166 * Number of variables: 166 Notification: Performance of Generate backend data structure: time 0.006977/0.4941, allocations: 2.334 MB / 0.5676 GB, free: 33.96 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.776e-05/0.4942, allocations: 10.78 kB / 0.5676 GB, free: 33.96 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001537/0.4943, allocations: 118.1 kB / 0.5677 GB, free: 33.93 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00464/0.499, allocations: 0.7544 MB / 0.5684 GB, free: 33.85 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001001/0.5, allocations: 0.6982 MB / 0.5691 GB, free: 33.5 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002442/0.5002, allocations: 251 kB / 0.5693 GB, free: 33.31 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001348/0.5004, allocations: 67.25 kB / 0.5694 GB, free: 33.31 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001871/0.5023, allocations: 0.9479 MB / 0.5703 GB, free: 33.26 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.718e-05/0.5023, allocations: 0 / 0.5703 GB, free: 33.26 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.326e-05/0.5024, allocations: 27.69 kB / 0.5704 GB, free: 33.26 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.428e-05/0.5024, allocations: 14.34 kB / 0.5704 GB, free: 33.26 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002109/0.5045, allocations: 0.973 MB / 0.5713 GB, free: 33.25 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.005307/0.5098, allocations: 3.15 MB / 0.5744 GB, free: 32.3 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001805/0.5117, allocations: 1.306 MB / 0.5757 GB, free: 31.71 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001182/0.5129, allocations: 0.7037 MB / 0.5764 GB, free: 31.69 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.849e-05/0.513, allocations: 11.38 kB / 0.5764 GB, free: 31.69 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.142e-05/0.513, allocations: 42.16 kB / 0.5764 GB, free: 31.65 MB / 430.1 MB Notification: Performance of pre-optimization done (n=81): time 2.755e-06/0.513, allocations: 4.453 kB / 0.5764 GB, free: 31.65 MB / 430.1 MB Notification: Performance of matching and sorting (n=81): time 0.02465/0.5377, allocations: 6.69 MB / 0.583 GB, free: 30.51 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.997e-05/0.5377, allocations: 68.28 kB / 0.583 GB, free: 30.44 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001069/0.5388, allocations: 0.7893 MB / 0.5838 GB, free: 30.1 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001659/0.539, allocations: 44.14 kB / 0.5838 GB, free: 30.05 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002368/0.5392, allocations: 428.6 kB / 0.5842 GB, free: 29.71 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002668/0.5395, allocations: 294 kB / 0.5845 GB, free: 29.48 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003545/0.5399, allocations: 173.6 kB / 0.5847 GB, free: 29.4 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 7.595e-05/0.5399, allocations: 343.3 kB / 0.585 GB, free: 29.08 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001354/0.5413, allocations: 0.6417 MB / 0.5856 GB, free: 28.85 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001439/0.5428, allocations: 0.7591 MB / 0.5864 GB, free: 28.52 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01785/0.5606, allocations: 4.449 MB / 0.5907 GB, free: 27.3 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.243e-05/0.5607, allocations: 1.188 kB / 0.5907 GB, free: 27.3 MB / 430.1 MB Notification: Performance of matching and sorting (n=127) (initialization): time 0.01396/0.5746, allocations: 4.043 MB / 0.5947 GB, free: 26.35 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.628e-05/0.5747, allocations: 5.719 kB / 0.5947 GB, free: 26.35 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.763e-05/0.5747, allocations: 3.641 kB / 0.5947 GB, free: 26.35 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006334/0.5811, allocations: 1.86 MB / 0.5965 GB, free: 26.05 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008806/0.582, allocations: 163.3 kB / 0.5967 GB, free: 26.03 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02036/0.6024, allocations: 8.368 MB / 0.6048 GB, free: 22.11 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001503/0.6039, allocations: 151.2 kB / 0.605 GB, free: 22.05 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001946/0.6041, allocations: 35.2 kB / 0.605 GB, free: 22.04 MB / 430.1 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 (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.0005627/0.6047, allocations: 224.6 kB / 0.6052 GB, free: 21.86 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002741/0.605, allocations: 101.8 kB / 0.6053 GB, free: 21.8 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01198/0.6169, allocations: 3.822 MB / 0.6091 GB, free: 20.02 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.56e-05/0.617, allocations: 10.66 kB / 0.6091 GB, free: 20.02 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.617, allocations: 0 / 0.6091 GB, free: 20.02 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.133e-05/0.617, allocations: 3.984 kB / 0.6091 GB, free: 20.01 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0133/0.6303, allocations: 5.33 MB / 0.6143 GB, free: 15.13 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.995e-06/0.6303, allocations: 1.062 kB / 0.6143 GB, free: 15.13 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004337/0.6308, allocations: 87.89 kB / 0.6144 GB, free: 15.05 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005172/0.636, allocations: 1.739 MB / 0.6161 GB, free: 13.3 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.14e-05/0.6361, allocations: 16 kB / 0.6161 GB, free: 13.29 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01513/0.6512, allocations: 7.36 MB / 0.6233 GB, free: 5.789 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/0.6513, allocations: 5.781 kB / 0.6233 GB, free: 5.785 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01257/0.6638, allocations: 4.684 MB / 0.6278 GB, free: 1.078 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004119/0.6643, allocations: 187.8 kB / 0.628 GB, free: 0.875 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002871/0.6646, allocations: 17.12 kB / 0.628 GB, free: 0.8594 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009814/0.6656, allocations: 87.89 kB / 0.6281 GB, free: 0.7734 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000642/0.6662, allocations: 192.7 kB / 0.6283 GB, free: 0.5859 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.918e-05/0.6663, allocations: 24.56 kB / 0.6283 GB, free: 0.5625 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0006276/0.667, allocations: 0.5379 MB / 0.6289 GB, free: 28 kB / 430.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.667, allocations: 0 / 0.6289 GB, free: 28 kB / 430.1 MB Notification: Performance of remove unused functions: time 0.001581/0.6686, allocations: 403.6 kB / 0.6292 GB, free: 15.63 MB / 446.1 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 (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.01455/0.6831, allocations: 5.264 MB / 0.6344 GB, free: 10.33 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.006539/0.6897, allocations: 2.25 MB / 0.6366 GB, free: 8.074 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.579e-06/0.6897, allocations: 4.062 kB / 0.6366 GB, free: 8.07 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00442/0.6942, allocations: 1.458 MB / 0.638 GB, free: 6.598 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009785/0.6952, allocations: 77.14 kB / 0.6381 GB, free: 6.527 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03716/0.7323, allocations: 14.71 MB / 0.6524 GB, free: 7.516 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008727/0.7333, allocations: 1.029 MB / 0.6534 GB, free: 6.461 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0005103/0.7338, allocations: 77.39 kB / 0.6535 GB, free: 6.387 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006832/0.7345, allocations: 371.3 kB / 0.6539 GB, free: 6.023 MB / 462.1 MB Notification: Performance of SimCode: time 1.022e-06/0.7345, allocations: 0 / 0.6539 GB, free: 6.023 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05184/0.7864, allocations: 27.87 MB / 0.6811 GB, free: 10.49 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001823/0.7866, allocations: 210.4 kB / 0.6813 GB, free: 10.24 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.622/3.409, allocations: 0 / 0.6813 GB, free: 10.24 MB / 494.1 MB (rm -f OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order2test2.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order2test2.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order2test2.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order2test2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_OpenIPSL_Tests_Machines_PSAT_Order2test2_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_OpenIPSL_Tests_Machines_PSAT_Order2test2.fmu > OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order2test2.pipe 2>&1)