Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.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_perturbation,fileNamePrefix="OpenIPSL_release_OpenIPSL_Tests_Machines_PSAT_Order2test2_perturbation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation,fileNamePrefix="OpenIPSL_release_OpenIPSL_Tests_Machines_PSAT_Order2test2_perturbation",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.001312/0.001312, allocations: 180 kB / 15.45 MB, free: 6.234 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.373/1.373, allocations: 223.3 MB / 239.5 MB, free: 1.453 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.0007273/0.0007272, allocations: 101.4 kB / 290.7 MB, free: 13.79 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4889/0.4889, allocations: 78.62 MB / 420.4 MB, free: 44.05 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003974/0.0003975, allocations: 12 kB / 0.4889 GB, free: 2.438 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3955/0.3959, allocations: 69.34 MB / 0.5566 GB, free: 38.99 MB / 426.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation): time 0.005863/0.4018, allocations: 6.249 MB / 0.5627 GB, free: 36.25 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.003635/0.4055, allocations: 1.879 MB / 0.5645 GB, free: 35.48 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004811/0.406, allocations: 15.38 kB / 0.5645 GB, free: 35.47 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004402/0.4065, allocations: 175 kB / 0.5647 GB, free: 35.41 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001486/0.408, allocations: 0.6223 MB / 0.5653 GB, free: 35.11 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0013/0.4093, allocations: 0.5532 MB / 0.5659 GB, free: 35.01 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.00152/0.4108, allocations: 1.335 MB / 0.5672 GB, free: 34.48 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000481/0.4113, allocations: 288.4 kB / 0.5674 GB, free: 34.34 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000614/0.4119, allocations: 0.5157 MB / 0.5679 GB, free: 34.11 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006444/0.4126, allocations: 0.6575 MB / 0.5686 GB, free: 33.8 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001325/0.4127, allocations: 52.31 kB / 0.5686 GB, free: 33.8 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004195/0.4131, allocations: 186.7 kB / 0.5688 GB, free: 33.75 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001628/0.4133, allocations: 225.2 kB / 0.569 GB, free: 33.62 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003688/0.4137, allocations: 0.58 MB / 0.5696 GB, free: 33.22 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009674/0.4147, allocations: 1.415 MB / 0.571 GB, free: 32.66 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.106e-06/0.4147, allocations: 0 / 0.571 GB, free: 32.66 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.493e-06/0.4147, allocations: 0 / 0.571 GB, free: 32.66 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.73e-05/0.4147, allocations: 4 kB / 0.571 GB, free: 32.66 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: 194 * Number of variables: 194 Notification: Performance of Generate backend data structure: time 0.006376/0.4211, allocations: 2.366 MB / 0.5733 GB, free: 31.63 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.868e-05/0.4211, allocations: 8.938 kB / 0.5733 GB, free: 31.63 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001501/0.4213, allocations: 128.8 kB / 0.5734 GB, free: 31.54 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004596/0.4259, allocations: 0.7941 MB / 0.5742 GB, free: 31.38 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001186/0.4271, allocations: 0.7567 MB / 0.5749 GB, free: 30.83 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002953/0.4274, allocations: 269.6 kB / 0.5752 GB, free: 30.61 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001319/0.4275, allocations: 77.44 kB / 0.5753 GB, free: 30.58 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002259/0.4298, allocations: 1.169 MB / 0.5764 GB, free: 30.19 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.05e-05/0.4298, allocations: 0 / 0.5764 GB, free: 30.19 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.362e-05/0.4299, allocations: 29.94 kB / 0.5764 GB, free: 30.16 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.007e-05/0.43, allocations: 18.62 kB / 0.5765 GB, free: 30.16 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002453/0.4324, allocations: 1.241 MB / 0.5777 GB, free: 29.8 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.005501/0.4379, allocations: 3.506 MB / 0.5811 GB, free: 27.83 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001887/0.4398, allocations: 1.502 MB / 0.5826 GB, free: 26.89 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001439/0.4413, allocations: 0.8658 MB / 0.5834 GB, free: 26.59 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001178/0.4414, allocations: 20.77 kB / 0.5834 GB, free: 26.58 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.689e-05/0.4415, allocations: 45.89 kB / 0.5835 GB, free: 26.53 MB / 426.7 MB Notification: Performance of pre-optimization done (n=96): time 2.435e-06/0.4415, allocations: 0 / 0.5835 GB, free: 26.53 MB / 426.7 MB Notification: Performance of matching and sorting (n=96): time 0.02563/0.4671, allocations: 8.37 MB / 0.5916 GB, free: 25.07 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.828e-05/0.4672, allocations: 61.16 kB / 0.5917 GB, free: 25.01 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001374/0.4686, allocations: 0.8793 MB / 0.5926 GB, free: 24.64 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002395/0.4688, allocations: 41.36 kB / 0.5926 GB, free: 24.6 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003449/0.4692, allocations: 0.4912 MB / 0.5931 GB, free: 24.2 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003399/0.4695, allocations: 340 kB / 0.5934 GB, free: 23.93 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001779/0.4697, allocations: 103 kB / 0.5935 GB, free: 23.88 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 8.107e-05/0.4698, allocations: 352.5 kB / 0.5938 GB, free: 23.55 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001984/0.4718, allocations: 0.8055 MB / 0.5946 GB, free: 23.29 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001739/0.4736, allocations: 0.9297 MB / 0.5955 GB, free: 22.92 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01846/0.492, allocations: 5.344 MB / 0.6007 GB, free: 21.54 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.477e-06/0.4921, allocations: 1 kB / 0.6007 GB, free: 21.54 MB / 426.7 MB Notification: Performance of matching and sorting (n=143) (initialization): time 0.01633/0.5084, allocations: 5.198 MB / 0.6058 GB, free: 20.41 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.572e-05/0.5085, allocations: 12.06 kB / 0.6058 GB, free: 20.41 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.649e-05/0.5085, allocations: 2.156 kB / 0.6058 GB, free: 20.41 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006827/0.5153, allocations: 2.175 MB / 0.608 GB, free: 20.06 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001165/0.5165, allocations: 231.1 kB / 0.6082 GB, free: 20.03 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01905/0.5356, allocations: 9.343 MB / 0.6173 GB, free: 11.53 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001601/0.5373, allocations: 226.9 kB / 0.6175 GB, free: 11.3 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.501e-05/0.5374, allocations: 35.98 kB / 0.6176 GB, free: 11.27 MB / 426.7 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.0004811/0.5379, allocations: 242.6 kB / 0.6178 GB, free: 11.02 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001839/0.538, allocations: 122.4 kB / 0.6179 GB, free: 10.9 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0123/0.5503, allocations: 4.947 MB / 0.6227 GB, free: 5.938 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.358e-05/0.5504, allocations: 12 kB / 0.6227 GB, free: 5.926 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/0.5504, allocations: 0 / 0.6227 GB, free: 5.926 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.308e-05/0.5504, allocations: 3.984 kB / 0.6228 GB, free: 5.922 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01434/0.5648, allocations: 6.567 MB / 0.6292 GB, free: 15.21 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.089e-05/0.5648, allocations: 0 / 0.6292 GB, free: 15.21 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007372/0.5656, allocations: 143.8 kB / 0.6293 GB, free: 15.07 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006139/0.5717, allocations: 2.058 MB / 0.6313 GB, free: 13.01 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001509/0.5719, allocations: 23.98 kB / 0.6313 GB, free: 12.99 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01761/0.5895, allocations: 8.213 MB / 0.6394 GB, free: 4.637 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.508e-06/0.5895, allocations: 7.938 kB / 0.6394 GB, free: 4.629 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0154/0.6049, allocations: 5.997 MB / 0.6452 GB, free: 14.61 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004641/0.6055, allocations: 207.4 kB / 0.6454 GB, free: 14.39 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001466/0.6056, allocations: 16 kB / 0.6454 GB, free: 14.37 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009971/0.6066, allocations: 159.9 kB / 0.6456 GB, free: 14.21 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007348/0.6074, allocations: 208.6 kB / 0.6458 GB, free: 14.01 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.966e-05/0.6074, allocations: 28 kB / 0.6458 GB, free: 13.98 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0007306/0.6082, allocations: 0.5887 MB / 0.6464 GB, free: 13.38 MB / 458.7 MB Notification: Performance of sort global known variables: time 2.31e-07/0.6082, allocations: 0 / 0.6464 GB, free: 13.38 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.00126/0.6094, allocations: 435.4 kB / 0.6468 GB, free: 12.96 MB / 458.7 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.01589/0.6253, allocations: 6.584 MB / 0.6532 GB, free: 6.336 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.007017/0.6324, allocations: 2.768 MB / 0.6559 GB, free: 3.559 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 3.687e-06/0.6324, allocations: 0 / 0.6559 GB, free: 3.559 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004659/0.6371, allocations: 1.799 MB / 0.6577 GB, free: 1.746 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008999/0.638, allocations: 90.08 kB / 0.6578 GB, free: 1.664 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03826/0.6763, allocations: 18.09 MB / 0.6754 GB, free: 15.18 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006232/0.6769, allocations: 1.096 MB / 0.6765 GB, free: 14.06 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.000395/0.6773, allocations: 86.67 kB / 0.6766 GB, free: 13.97 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005346/0.6779, allocations: 443.3 kB / 0.677 GB, free: 13.54 MB / 490.7 MB Notification: Performance of SimCode: time 6.593e-06/0.6779, allocations: 3.938 kB / 0.677 GB, free: 13.53 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04982/0.7277, allocations: 29.64 MB / 0.706 GB, free: 108 kB / 0.4948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001919/0.728, allocations: 248.1 kB / 0.7062 GB, free: 15.84 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.049/3.777, allocations: 0 / 0.7062 GB, free: 15.84 MB / 0.5105 GB (rm -f OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.pipe >> ../files/OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_release_OpenIPSL_Tests_Machines_PSAT_Order2test2_perturbation_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_release_OpenIPSL_Tests_Machines_PSAT_Order2test2_perturbation.fmu > OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.pipe 2>&1)