Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2.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.Order3test2,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Machines_PSAT_Order3test2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.Order3test2,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Machines_PSAT_Order3test2",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.001403/0.001403, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.5/1.5, allocations: 222.9 MB / 239.3 MB, free: 4.59 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.001989/0.001989, allocations: 192.5 kB / 289.6 MB, free: 2.32 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.6203/0.6203, allocations: 91.9 MB / 431.6 MB, free: 9.223 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001619/0.001619, allocations: 75.88 kB / 0.502 GB, free: 7.586 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5604/0.562, allocations: 71.27 MB / 0.5716 GB, free: 36.37 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order3test2): time 0.0066/0.5687, allocations: 5.755 MB / 0.5772 GB, free: 33.07 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003426/0.5722, allocations: 1.747 MB / 0.5789 GB, free: 32.26 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004895/0.5727, allocations: 8.562 kB / 0.5789 GB, free: 32.26 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004833/0.5732, allocations: 210.8 kB / 0.5791 GB, free: 32.15 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001588/0.5748, allocations: 0.6775 MB / 0.5798 GB, free: 31.7 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001133/0.5759, allocations: 0.5637 MB / 0.5803 GB, free: 31.41 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001162/0.5771, allocations: 1.236 MB / 0.5815 GB, free: 30.79 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004119/0.5775, allocations: 278.9 kB / 0.5818 GB, free: 30.68 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005469/0.5781, allocations: 0.5182 MB / 0.5823 GB, free: 30.41 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005717/0.5787, allocations: 0.6449 MB / 0.5829 GB, free: 30.1 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001159/0.5788, allocations: 88.91 kB / 0.583 GB, free: 30.1 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003669/0.5792, allocations: 226 kB / 0.5832 GB, free: 30.05 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001679/0.5793, allocations: 246.3 kB / 0.5835 GB, free: 29.89 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000371/0.5797, allocations: 0.5463 MB / 0.584 GB, free: 29.53 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001219/0.5809, allocations: 1.336 MB / 0.5853 GB, free: 28.91 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.631e-06/0.581, allocations: 0 / 0.5853 GB, free: 28.91 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.581, allocations: 0 / 0.5853 GB, free: 28.91 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.429e-05/0.581, allocations: 3.938 kB / 0.5853 GB, free: 28.91 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: 167 * Number of variables: 167 Notification: Performance of Generate backend data structure: time 0.007792/0.5888, allocations: 2.353 MB / 0.5876 GB, free: 27.82 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.003e-05/0.5889, allocations: 10.16 kB / 0.5876 GB, free: 27.82 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001483/0.589, allocations: 121.5 kB / 0.5877 GB, free: 27.73 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00488/0.5939, allocations: 0.7556 MB / 0.5885 GB, free: 27.59 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00103/0.595, allocations: 0.7094 MB / 0.5892 GB, free: 27.09 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003483/0.5953, allocations: 246.3 kB / 0.5894 GB, free: 26.87 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001986/0.5955, allocations: 72.55 kB / 0.5895 GB, free: 26.84 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0025/0.5981, allocations: 0.958 MB / 0.5904 GB, free: 26.48 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.493e-05/0.5981, allocations: 1.812 kB / 0.5904 GB, free: 26.48 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.331e-05/0.5982, allocations: 25.56 kB / 0.5904 GB, free: 26.46 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.657e-05/0.5982, allocations: 14.75 kB / 0.5904 GB, free: 26.46 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002465/0.6007, allocations: 0.9776 MB / 0.5914 GB, free: 26.15 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.005365/0.6061, allocations: 3.182 MB / 0.5945 GB, free: 24.29 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002033/0.6081, allocations: 1.301 MB / 0.5958 GB, free: 23.39 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001527/0.6097, allocations: 0.7077 MB / 0.5965 GB, free: 23.12 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.85e-05/0.6098, allocations: 14.38 kB / 0.5965 GB, free: 23.11 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.686e-05/0.6098, allocations: 43.09 kB / 0.5965 GB, free: 23.07 MB / 430.1 MB Notification: Performance of pre-optimization done (n=82): time 3.266e-06/0.6098, allocations: 0 / 0.5965 GB, free: 23.07 MB / 430.1 MB Notification: Performance of matching and sorting (n=82): time 0.03/0.6398, allocations: 6.755 MB / 0.6031 GB, free: 21.88 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.238e-05/0.6399, allocations: 65.14 kB / 0.6032 GB, free: 21.81 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001589/0.6415, allocations: 0.8051 MB / 0.604 GB, free: 21.45 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001715/0.6417, allocations: 40.48 kB / 0.604 GB, free: 21.41 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003478/0.6421, allocations: 433.3 kB / 0.6044 GB, free: 21.06 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003699/0.6425, allocations: 293.2 kB / 0.6047 GB, free: 20.83 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004283/0.6429, allocations: 183.3 kB / 0.6049 GB, free: 20.74 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001044/0.643, allocations: 347.9 kB / 0.6052 GB, free: 20.42 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001622/0.6446, allocations: 0.6498 MB / 0.6058 GB, free: 20.18 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001722/0.6464, allocations: 0.7724 MB / 0.6066 GB, free: 19.84 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02103/0.6674, allocations: 4.506 MB / 0.611 GB, free: 18.58 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.532e-05/0.6675, allocations: 1.094 kB / 0.611 GB, free: 18.58 MB / 430.1 MB Notification: Performance of matching and sorting (n=131) (initialization): time 0.01519/0.6827, allocations: 4.121 MB / 0.615 GB, free: 16.86 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.903e-05/0.6828, allocations: 5.656 kB / 0.615 GB, free: 16.86 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.852e-05/0.6828, allocations: 2.281 kB / 0.615 GB, free: 16.86 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006351/0.6892, allocations: 1.794 MB / 0.6168 GB, free: 15.71 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009059/0.6901, allocations: 167.8 kB / 0.6169 GB, free: 15.54 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01945/0.7096, allocations: 9.338 MB / 0.6261 GB, free: 6.062 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001629/0.7112, allocations: 151 kB / 0.6262 GB, free: 5.914 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.577e-05/0.7113, allocations: 39.98 kB / 0.6262 GB, free: 5.875 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.000494/0.7118, allocations: 226.5 kB / 0.6265 GB, free: 5.645 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001926/0.712, allocations: 98.78 kB / 0.6266 GB, free: 5.547 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01187/0.7239, allocations: 3.84 MB / 0.6303 GB, free: 1.688 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.183e-05/0.7239, allocations: 12 kB / 0.6303 GB, free: 1.676 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.867e-06/0.724, allocations: 0 / 0.6303 GB, free: 1.676 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.995e-05/0.724, allocations: 3.984 kB / 0.6303 GB, free: 1.672 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01482/0.7388, allocations: 5.352 MB / 0.6355 GB, free: 12.18 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.101e-05/0.7389, allocations: 0 / 0.6355 GB, free: 12.18 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005684/0.7394, allocations: 87.89 kB / 0.6356 GB, free: 12.09 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006219/0.7457, allocations: 1.749 MB / 0.6373 GB, free: 10.34 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.914e-05/0.7458, allocations: 23.88 kB / 0.6374 GB, free: 10.31 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01915/0.7649, allocations: 8.076 MB / 0.6452 GB, free: 2.09 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.118e-06/0.765, allocations: 0 / 0.6452 GB, free: 2.09 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01497/0.78, allocations: 4.712 MB / 0.6498 GB, free: 13.36 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004621/0.7805, allocations: 187.7 kB / 0.65 GB, free: 13.15 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001472/0.7806, allocations: 12 kB / 0.65 GB, free: 13.14 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009288/0.7816, allocations: 91.89 kB / 0.6501 GB, free: 13.05 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000617/0.7822, allocations: 208.6 kB / 0.6503 GB, free: 12.85 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.068e-05/0.7823, allocations: 16 kB / 0.6503 GB, free: 12.83 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0007275/0.783, allocations: 0.5383 MB / 0.6509 GB, free: 12.28 MB / 462.1 MB Notification: Performance of sort global known variables: time 2.445e-06/0.783, allocations: 0 / 0.6509 GB, free: 12.28 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001334/0.7843, allocations: 407.5 kB / 0.6513 GB, free: 11.88 MB / 462.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.01531/0.7997, allocations: 5.284 MB / 0.6564 GB, free: 6.559 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.00732/0.807, allocations: 2.35 MB / 0.6587 GB, free: 4.199 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.617e-06/0.8071, allocations: 0 / 0.6587 GB, free: 4.199 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004952/0.812, allocations: 1.504 MB / 0.6602 GB, free: 2.68 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009691/0.813, allocations: 93.39 kB / 0.6603 GB, free: 2.59 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03695/0.85, allocations: 14.6 MB / 0.6745 GB, free: 3.664 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000647/0.8507, allocations: 1.037 MB / 0.6755 GB, free: 2.602 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0004004/0.8511, allocations: 82.17 kB / 0.6756 GB, free: 2.52 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004662/0.8516, allocations: 367.3 kB / 0.676 GB, free: 2.16 MB / 478.1 MB Notification: Performance of SimCode: time 5.91e-07/0.8516, allocations: 0 / 0.676 GB, free: 2.16 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06196/0.9135, allocations: 30.71 MB / 0.7059 GB, free: 3.57 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.14/13.05, allocations: 12.28 kB / 0.706 GB, free: 3.562 MB / 0.4981 GB (rm -f OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Tests_Machines_PSAT_Order3test2_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Tests_Machines_PSAT_Order3test2.fmu > OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2.pipe 2>&1)