Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order2test2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/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/Modelica 3.2.3+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 2.0.0/package.mo", uses=false) Using package OpenIPSL with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo) Running command: "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.Order2test2,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Machines_PSAT_Order2test2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.Order2test2,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Machines_PSAT_Order2test2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.0805/0.0805, allocations: 12.21 MB / 27.33 MB, free: 1.441 MB / 19.63 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009948/0.0009948, allocations: 119.4 kB / 30.84 MB, free: 4.711 MB / 26.18 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.347/1.347, allocations: 205.1 MB / 239.3 MB, free: 12.97 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001288/0.001288, allocations: 203.1 kB / 289.5 MB, free: 14.12 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4457/0.4457, allocations: 78.52 MB / 418 MB, free: 12 MB / 302.1 MB Notification: Modelica_Synchronous requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: OpenIPSL requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002682/0.002682, allocations: 135.7 kB / 498.3 MB, free: 11.86 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3007/0.3034, allocations: 68.03 MB / 0.5531 GB, free: 32.82 MB / 398.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order2test2): time 0.00595/0.3094, allocations: 6.084 MB / 0.559 GB, free: 28.37 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003675/0.3131, allocations: 1.746 MB / 0.5607 GB, free: 27.11 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005469/0.3137, allocations: 11 kB / 0.5607 GB, free: 27.11 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005358/0.3143, allocations: 149.4 kB / 0.5609 GB, free: 27.06 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001445/0.3157, allocations: 0.6214 MB / 0.5615 GB, free: 26.64 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001116/0.3168, allocations: 0.5122 MB / 0.562 GB, free: 26.35 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001071/0.3179, allocations: 1.179 MB / 0.5631 GB, free: 25.64 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003436/0.3183, allocations: 238.8 kB / 0.5634 GB, free: 25.5 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004992/0.3188, allocations: 489.2 kB / 0.5638 GB, free: 25.22 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005811/0.3194, allocations: 0.6041 MB / 0.5644 GB, free: 24.82 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001234/0.3195, allocations: 56.16 kB / 0.5645 GB, free: 24.82 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004532/0.32, allocations: 188 kB / 0.5647 GB, free: 24.75 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002033/0.3202, allocations: 210.3 kB / 0.5649 GB, free: 24.58 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004192/0.3206, allocations: 0.5125 MB / 0.5654 GB, free: 24.21 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001001/0.3216, allocations: 1.286 MB / 0.5666 GB, free: 23.25 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.3216, allocations: 0 / 0.5666 GB, free: 23.25 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.402e-06/0.3216, allocations: 5 kB / 0.5666 GB, free: 23.25 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.117e-05/0.3217, allocations: 0 / 0.5666 GB, free: 23.25 MB / 398.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.0068/0.3285, allocations: 2.333 MB / 0.5689 GB, free: 21.8 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.628e-05/0.3285, allocations: 12.55 kB / 0.5689 GB, free: 21.79 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001262/0.3286, allocations: 121.6 kB / 0.569 GB, free: 21.69 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004554/0.3332, allocations: 0.7561 MB / 0.5698 GB, free: 21.38 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009528/0.3342, allocations: 0.6938 MB / 0.5704 GB, free: 20.79 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002351/0.3344, allocations: 253.9 kB / 0.5707 GB, free: 20.55 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001203/0.3345, allocations: 64.72 kB / 0.5707 GB, free: 20.54 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001797/0.3364, allocations: 0.9509 MB / 0.5717 GB, free: 20 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.512e-05/0.3364, allocations: 0 / 0.5717 GB, free: 20 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.894e-05/0.3365, allocations: 25.12 kB / 0.5717 GB, free: 19.98 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.476e-05/0.3365, allocations: 16.03 kB / 0.5717 GB, free: 19.98 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001882/0.3384, allocations: 0.9697 MB / 0.5727 GB, free: 19.52 MB / 398.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.004474/0.3429, allocations: 3.151 MB / 0.5757 GB, free: 16.85 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001572/0.3444, allocations: 1.312 MB / 0.577 GB, free: 15.41 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001084/0.3455, allocations: 0.6944 MB / 0.5777 GB, free: 14.72 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.632e-05/0.3456, allocations: 12.64 kB / 0.5777 GB, free: 14.71 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.887e-05/0.3457, allocations: 43.22 kB / 0.5777 GB, free: 14.66 MB / 398.1 MB Notification: Performance of pre-optimization done (n=81): time 3.507e-06/0.3457, allocations: 4 kB / 0.5778 GB, free: 14.65 MB / 398.1 MB Notification: Performance of matching and sorting (n=81): time 0.02341/0.3691, allocations: 6.7 MB / 0.5843 GB, free: 7.914 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.656e-05/0.3692, allocations: 64 kB / 0.5844 GB, free: 7.84 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008641/0.37, allocations: 0.7828 MB / 0.5851 GB, free: 7.047 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001469/0.3702, allocations: 41.7 kB / 0.5852 GB, free: 7 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002027/0.3704, allocations: 424.4 kB / 0.5856 GB, free: 6.578 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002291/0.3706, allocations: 295.8 kB / 0.5858 GB, free: 6.285 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002995/0.3709, allocations: 178.5 kB / 0.586 GB, free: 6.105 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 6.233e-05/0.371, allocations: 349.9 kB / 0.5863 GB, free: 5.758 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001147/0.3722, allocations: 0.6425 MB / 0.587 GB, free: 5.113 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001185/0.3734, allocations: 0.7549 MB / 0.5877 GB, free: 4.324 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01562/0.389, allocations: 4.449 MB / 0.5921 GB, free: 15.84 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.02e-05/0.389, allocations: 4 kB / 0.5921 GB, free: 15.84 MB / 414.1 MB Notification: Performance of matching and sorting (n=127) (initialization): time 0.0125/0.4015, allocations: 4.031 MB / 0.596 GB, free: 11.79 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.088e-05/0.4016, allocations: 8 kB / 0.596 GB, free: 11.79 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.231e-05/0.4016, allocations: 0 / 0.596 GB, free: 11.79 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005768/0.4074, allocations: 1.87 MB / 0.5978 GB, free: 9.91 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008263/0.4083, allocations: 163.7 kB / 0.598 GB, free: 9.75 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01884/0.4271, allocations: 8.365 MB / 0.6062 GB, free: 1.246 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001408/0.4286, allocations: 151 kB / 0.6063 GB, free: 1.098 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.184e-05/0.4287, allocations: 35.98 kB / 0.6063 GB, free: 1.062 MB / 414.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.0004457/0.4291, allocations: 225.6 kB / 0.6066 GB, free: 0.832 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001737/0.4293, allocations: 98.78 kB / 0.6066 GB, free: 0.7344 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01215/0.4414, allocations: 3.825 MB / 0.6104 GB, free: 12.89 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.511e-05/0.4415, allocations: 8 kB / 0.6104 GB, free: 12.88 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/0.4415, allocations: 4 kB / 0.6104 GB, free: 12.88 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.999e-05/0.4415, allocations: 3.984 kB / 0.6104 GB, free: 12.88 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01423/0.4558, allocations: 5.324 MB / 0.6156 GB, free: 7.406 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-05/0.4558, allocations: 0 / 0.6156 GB, free: 7.406 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005428/0.4564, allocations: 87.89 kB / 0.6157 GB, free: 7.32 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00574/0.4621, allocations: 1.741 MB / 0.6174 GB, free: 5.574 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001794/0.4623, allocations: 15.98 kB / 0.6174 GB, free: 5.559 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01742/0.4798, allocations: 7.37 MB / 0.6246 GB, free: 14.05 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.495e-06/0.4798, allocations: 4 kB / 0.6246 GB, free: 14.04 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01393/0.4937, allocations: 4.677 MB / 0.6292 GB, free: 9.344 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003789/0.4941, allocations: 187.7 kB / 0.6293 GB, free: 9.141 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002635/0.4944, allocations: 16 kB / 0.6294 GB, free: 9.125 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001014/0.4955, allocations: 87.95 kB / 0.6294 GB, free: 9.039 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006579/0.4961, allocations: 196.7 kB / 0.6296 GB, free: 8.848 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.996e-05/0.4962, allocations: 23.97 kB / 0.6297 GB, free: 8.824 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0007009/0.4969, allocations: 0.5341 MB / 0.6302 GB, free: 8.293 MB / 446.1 MB Notification: Performance of sort global known variables: time 7.855e-06/0.4969, allocations: 0 / 0.6302 GB, free: 8.293 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001331/0.4983, allocations: 411.4 kB / 0.6306 GB, free: 7.891 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.01431/0.5126, allocations: 5.253 MB / 0.6357 GB, free: 2.602 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.006349/0.519, allocations: 2.254 MB / 0.6379 GB, free: 348 kB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.699e-06/0.519, allocations: 0 / 0.6379 GB, free: 348 kB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004374/0.5234, allocations: 1.463 MB / 0.6393 GB, free: 14.86 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009825/0.5244, allocations: 75.3 kB / 0.6394 GB, free: 14.79 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03611/0.5605, allocations: 14.72 MB / 0.6538 GB, free: 15.75 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000648/0.5612, allocations: 1.029 MB / 0.6548 GB, free: 14.7 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0003538/0.5616, allocations: 74.19 kB / 0.6548 GB, free: 14.62 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005314/0.5621, allocations: 379.2 kB / 0.6552 GB, free: 14.25 MB / 478.1 MB Notification: Performance of SimCode: time 7.41e-07/0.5621, allocations: 0 / 0.6552 GB, free: 14.25 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04802/0.6102, allocations: 27.86 MB / 0.6824 GB, free: 2.473 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003173/0.6105, allocations: 235.5 kB / 0.6826 GB, free: 2.207 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.346/2.956, allocations: 0 / 0.6826 GB, free: 2.207 MB / 494.1 MB (rm -f OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order2test2.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order2test2.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order2test2.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order2test2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_2_0_0_OpenIPSL_Tests_Machines_PSAT_Order2test2_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_2_0_0_OpenIPSL_Tests_Machines_PSAT_Order2test2.fmu > OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order2test2.pipe 2>&1)