Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order3test2.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.Order3test2,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Machines_PSAT_Order3test2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.Order3test2,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Machines_PSAT_Order3test2",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.08396/0.08396, allocations: 12.21 MB / 27.48 MB, free: 0.9258 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.000747/0.0007467, allocations: 99.52 kB / 31 MB, free: 4.531 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.256/1.256, allocations: 205.4 MB / 239.8 MB, free: 11.45 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.001024/0.001024, allocations: 176.6 kB / 291 MB, free: 15.7 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4232/0.4232, allocations: 78.54 MB / 420.5 MB, free: 32.5 MB / 318.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.0008345/0.0008346, allocations: 31.28 kB / 0.4902 GB, free: 15.39 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3302/0.331, allocations: 69.23 MB / 0.5578 GB, free: 38.18 MB / 414.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order3test2): time 0.004105/0.3352, allocations: 5.695 MB / 0.5634 GB, free: 33.92 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.00275/0.338, allocations: 1.748 MB / 0.5651 GB, free: 32.66 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004689/0.3384, allocations: 8.625 kB / 0.5651 GB, free: 32.66 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003968/0.3389, allocations: 162.1 kB / 0.5652 GB, free: 32.59 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00136/0.3402, allocations: 0.602 MB / 0.5658 GB, free: 32.19 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009506/0.3412, allocations: 0.5174 MB / 0.5663 GB, free: 31.9 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009424/0.3421, allocations: 1.189 MB / 0.5675 GB, free: 31.31 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003253/0.3425, allocations: 240.7 kB / 0.5677 GB, free: 31.2 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004693/0.3429, allocations: 474.4 kB / 0.5682 GB, free: 30.98 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004665/0.3434, allocations: 0.5887 MB / 0.5687 GB, free: 30.71 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 8.476e-05/0.3435, allocations: 51.38 kB / 0.5688 GB, free: 30.7 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003333/0.3439, allocations: 181.2 kB / 0.569 GB, free: 30.66 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000129/0.344, allocations: 199.7 kB / 0.5692 GB, free: 30.54 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003265/0.3443, allocations: 0.5154 MB / 0.5697 GB, free: 30.19 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008975/0.3452, allocations: 1.277 MB / 0.5709 GB, free: 29.69 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.3452, allocations: 4 kB / 0.5709 GB, free: 29.69 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.114e-06/0.3453, allocations: 0 / 0.5709 GB, free: 29.69 MB / 414.1 MB Notification: Performance of Transformations before backend: time 2.273e-05/0.3453, allocations: 0 / 0.5709 GB, free: 29.69 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 167 * Number of variables: 167 Notification: Performance of Generate backend data structure: time 0.006474/0.3518, allocations: 2.194 MB / 0.573 GB, free: 28.73 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.948e-05/0.3518, allocations: 16.7 kB / 0.5731 GB, free: 28.73 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001536/0.352, allocations: 115 kB / 0.5732 GB, free: 28.64 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004637/0.3566, allocations: 0.7564 MB / 0.5739 GB, free: 28.51 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009384/0.3576, allocations: 0.7078 MB / 0.5746 GB, free: 28 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002445/0.3578, allocations: 266.5 kB / 0.5749 GB, free: 27.78 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001403/0.358, allocations: 69.41 kB / 0.5749 GB, free: 27.76 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001953/0.3599, allocations: 1.034 MB / 0.5759 GB, free: 27.39 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.767e-05/0.36, allocations: 4 kB / 0.5759 GB, free: 27.39 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.314e-05/0.3601, allocations: 23.91 kB / 0.576 GB, free: 27.37 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.802e-05/0.3601, allocations: 18.59 kB / 0.576 GB, free: 27.37 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002146/0.3622, allocations: 1.061 MB / 0.577 GB, free: 27.05 MB / 414.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.005537/0.3678, allocations: 3.241 MB / 0.5802 GB, free: 25.18 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002075/0.3699, allocations: 1.379 MB / 0.5815 GB, free: 24.28 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001562/0.3715, allocations: 0.7814 MB / 0.5823 GB, free: 24 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.015e-05/0.3716, allocations: 15.16 kB / 0.5823 GB, free: 23.99 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.786e-05/0.3716, allocations: 43.09 kB / 0.5823 GB, free: 23.95 MB / 414.1 MB Notification: Performance of pre-optimization done (n=82): time 3.306e-06/0.3716, allocations: 0 / 0.5823 GB, free: 23.95 MB / 414.1 MB Notification: Performance of matching and sorting (n=82): time 0.03067/0.4023, allocations: 8.405 MB / 0.5906 GB, free: 22.02 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.451e-05/0.4024, allocations: 69.14 kB / 0.5906 GB, free: 21.95 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001075/0.4035, allocations: 0.7974 MB / 0.5914 GB, free: 21.48 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001518/0.4036, allocations: 44.27 kB / 0.5914 GB, free: 21.43 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002433/0.4039, allocations: 438.2 kB / 0.5919 GB, free: 21.04 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002536/0.4041, allocations: 288.9 kB / 0.5921 GB, free: 20.79 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001394/0.4043, allocations: 96.31 kB / 0.5922 GB, free: 20.73 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 6.795e-05/0.4043, allocations: 341.8 kB / 0.5926 GB, free: 20.39 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001534/0.4059, allocations: 0.7298 MB / 0.5933 GB, free: 20.05 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001561/0.4075, allocations: 0.8488 MB / 0.5941 GB, free: 19.6 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01683/0.4243, allocations: 4.991 MB / 0.599 GB, free: 15.08 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.364e-06/0.4243, allocations: 4 kB / 0.599 GB, free: 15.07 MB / 414.1 MB Notification: Performance of matching and sorting (n=131) (initialization): time 0.01317/0.4375, allocations: 5.024 MB / 0.6039 GB, free: 10.04 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.86e-05/0.4376, allocations: 8 kB / 0.6039 GB, free: 10.03 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.214e-05/0.4376, allocations: 3.938 kB / 0.6039 GB, free: 10.02 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006317/0.4439, allocations: 2.104 MB / 0.6059 GB, free: 7.914 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00078/0.4447, allocations: 171.8 kB / 0.6061 GB, free: 7.746 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02055/0.4653, allocations: 9.568 MB / 0.6154 GB, free: 14.03 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001629/0.4669, allocations: 198.9 kB / 0.6156 GB, free: 13.84 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001906/0.4672, allocations: 39.92 kB / 0.6157 GB, free: 13.8 MB / 430.1 MB Warning: Assuming fixed start value for the following 2 variables: order31.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order31.delta:VARIABLE(flow=false start = order31.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 (95): * Single equations (assignments): 94 * 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 {(25,12)} Notification: Performance of prepare postOptimizeDAE: time 0.0006781/0.4678, allocations: 236.8 kB / 0.6159 GB, free: 13.56 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003224/0.4682, allocations: 98.78 kB / 0.616 GB, free: 13.46 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01456/0.4827, allocations: 4.744 MB / 0.6206 GB, free: 8.699 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.65e-05/0.4828, allocations: 11.98 kB / 0.6206 GB, free: 8.688 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.4828, allocations: 0 / 0.6206 GB, free: 8.688 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.838e-05/0.4828, allocations: 3.984 kB / 0.6206 GB, free: 8.684 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01667/0.4995, allocations: 6.268 MB / 0.6268 GB, free: 2.281 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.174e-05/0.4996, allocations: 0 / 0.6268 GB, free: 2.281 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005428/0.5001, allocations: 99.89 kB / 0.6269 GB, free: 2.184 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006598/0.5067, allocations: 2.054 MB / 0.6289 GB, free: 128 kB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001417/0.5069, allocations: 16 kB / 0.6289 GB, free: 112 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01912/0.526, allocations: 8.221 MB / 0.6369 GB, free: 7.746 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/0.5261, allocations: 0 / 0.6369 GB, free: 7.746 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01617/0.5422, allocations: 5.7 MB / 0.6425 GB, free: 2.023 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004392/0.5427, allocations: 191.7 kB / 0.6427 GB, free: 1.816 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002666/0.543, allocations: 12 kB / 0.6427 GB, free: 1.805 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001095/0.5441, allocations: 131.9 kB / 0.6428 GB, free: 1.676 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006445/0.5448, allocations: 196.6 kB / 0.643 GB, free: 1.48 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.916e-05/0.5449, allocations: 16 kB / 0.643 GB, free: 1.465 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0008261/0.5457, allocations: 0.5421 MB / 0.6435 GB, free: 0.9102 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.5457, allocations: 0 / 0.6435 GB, free: 0.9102 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001477/0.5472, allocations: 407.6 kB / 0.6439 GB, free: 0.5117 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (order31.delta,order31.w,order31.e1q) * 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 (49): * Single equations (assignments): 48 * 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.01652/0.5637, allocations: 6.265 MB / 0.65 GB, free: 10.21 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.007155/0.5709, allocations: 2.594 MB / 0.6526 GB, free: 7.605 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.559e-06/0.5709, allocations: 0 / 0.6526 GB, free: 7.605 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005004/0.576, allocations: 1.693 MB / 0.6542 GB, free: 5.898 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001058/0.577, allocations: 85.12 kB / 0.6543 GB, free: 5.816 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04126/0.6183, allocations: 16.88 MB / 0.6708 GB, free: 4.605 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008573/0.6192, allocations: 1.029 MB / 0.6718 GB, free: 3.551 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0004563/0.6197, allocations: 74.19 kB / 0.6719 GB, free: 3.477 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000596/0.6203, allocations: 367.3 kB / 0.6722 GB, free: 3.117 MB / 478.1 MB Notification: Performance of SimCode: time 1.893e-06/0.6203, allocations: 0 / 0.6722 GB, free: 3.117 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05219/0.6725, allocations: 27.76 MB / 0.6993 GB, free: 7.43 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001871/0.6728, allocations: 225.9 kB / 0.6995 GB, free: 7.168 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.385/3.057, allocations: 0 / 0.6995 GB, free: 7.168 MB / 0.4981 GB (rm -f OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order3test2.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order3test2.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order3test2.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order3test2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_2_0_0_OpenIPSL_Tests_Machines_PSAT_Order3test2_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_2_0_0_OpenIPSL_Tests_Machines_PSAT_Order3test2.fmu > OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order3test2.pipe 2>&1)