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.1241/0.1241, allocations: 12.2 MB / 27.18 MB, free: 1.504 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.001122/0.001122, allocations: 103.5 kB / 30.68 MB, free: 4.859 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.865/1.865, allocations: 205.4 MB / 239.5 MB, free: 12.18 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.001219/0.001219, allocations: 177.7 kB / 290.6 MB, free: 13.47 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.5277/0.5277, allocations: 78.54 MB / 420.1 MB, free: 48.82 MB / 334.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.000926/0.0009261, allocations: 24 kB / 0.4896 GB, free: 2.539 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4346/0.4355, allocations: 69.22 MB / 0.5572 GB, free: 42.74 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order3test2): time 0.006593/0.4422, allocations: 5.352 MB / 0.5624 GB, free: 41.45 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.004642/0.4469, allocations: 1.646 MB / 0.564 GB, free: 40.27 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001108/0.448, allocations: 11.5 kB / 0.564 GB, free: 40.27 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005895/0.4486, allocations: 139.6 kB / 0.5641 GB, free: 40.21 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001956/0.4506, allocations: 0.5764 MB / 0.5647 GB, free: 39.83 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001406/0.452, allocations: 486.8 kB / 0.5652 GB, free: 39.59 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001761/0.4538, allocations: 1.135 MB / 0.5663 GB, free: 39 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004999/0.4543, allocations: 218.5 kB / 0.5665 GB, free: 38.91 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008986/0.4552, allocations: 458.1 kB / 0.5669 GB, free: 38.71 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007139/0.4559, allocations: 0.5762 MB / 0.5675 GB, free: 38.46 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001168/0.456, allocations: 46.53 kB / 0.5675 GB, free: 38.46 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005664/0.4566, allocations: 166.3 kB / 0.5677 GB, free: 38.43 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001738/0.4568, allocations: 191.3 kB / 0.5679 GB, free: 38.31 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001967/0.457, allocations: 195.5 kB / 0.568 GB, free: 38.19 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001015/0.458, allocations: 0.9996 MB / 0.569 GB, free: 37.86 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.873e-06/0.458, allocations: 0 / 0.569 GB, free: 37.86 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.935e-06/0.458, allocations: 0 / 0.569 GB, free: 37.86 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.737e-05/0.4581, allocations: 5.188 kB / 0.569 GB, free: 37.86 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.006598/0.4647, allocations: 2.2 MB / 0.5712 GB, free: 36.91 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.087e-05/0.4647, allocations: 12.73 kB / 0.5712 GB, free: 36.91 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002067/0.4649, allocations: 117 kB / 0.5713 GB, free: 36.82 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004477/0.4694, allocations: 0.7652 MB / 0.5721 GB, free: 36.68 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001409/0.4709, allocations: 0.6797 MB / 0.5727 GB, free: 36.21 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002891/0.4712, allocations: 261 kB / 0.573 GB, free: 35.99 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000217/0.4714, allocations: 71.78 kB / 0.573 GB, free: 35.96 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002174/0.4736, allocations: 1.019 MB / 0.574 GB, free: 35.61 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.879e-05/0.4736, allocations: 0 / 0.574 GB, free: 35.61 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.415e-05/0.4737, allocations: 25.88 kB / 0.5741 GB, free: 35.59 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.916e-05/0.4737, allocations: 19.17 kB / 0.5741 GB, free: 35.59 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002133/0.4759, allocations: 1.065 MB / 0.5751 GB, free: 35.26 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.005999/0.4819, allocations: 3.234 MB / 0.5783 GB, free: 33.4 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002014/0.4839, allocations: 1.38 MB / 0.5796 GB, free: 32.49 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001345/0.4853, allocations: 0.7678 MB / 0.5804 GB, free: 32.22 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001216/0.4854, allocations: 13.06 kB / 0.5804 GB, free: 32.21 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.521e-05/0.4854, allocations: 41.25 kB / 0.5804 GB, free: 32.17 MB / 430.1 MB Notification: Performance of pre-optimization done (n=82): time 3.005e-06/0.4854, allocations: 0 / 0.5804 GB, free: 32.17 MB / 430.1 MB Notification: Performance of matching and sorting (n=82): time 0.0256/0.511, allocations: 8.372 MB / 0.5886 GB, free: 30.8 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.219e-05/0.5112, allocations: 61.75 kB / 0.5887 GB, free: 30.73 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001662/0.5129, allocations: 0.7956 MB / 0.5894 GB, free: 30.38 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002456/0.5132, allocations: 36.58 kB / 0.5895 GB, free: 30.34 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003513/0.5135, allocations: 433.5 kB / 0.5899 GB, free: 30 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004554/0.514, allocations: 300.3 kB / 0.5902 GB, free: 29.76 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001433/0.5141, allocations: 24.72 kB / 0.5902 GB, free: 29.74 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001068/0.5143, allocations: 342.5 kB / 0.5905 GB, free: 29.42 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001639/0.5159, allocations: 0.7232 MB / 0.5912 GB, free: 29.17 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002039/0.518, allocations: 0.8445 MB / 0.592 GB, free: 28.82 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001845/0.5198, allocations: 0.7688 MB / 0.5928 GB, free: 28.51 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.142e-05/0.5199, allocations: 1.062 kB / 0.5928 GB, free: 28.51 MB / 430.1 MB Notification: Performance of matching and sorting (n=131) (initialization): time 0.01469/0.5345, allocations: 4.968 MB / 0.5976 GB, free: 27.45 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.254e-05/0.5346, allocations: 5.859 kB / 0.5977 GB, free: 27.45 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.761e-05/0.5347, allocations: 1.969 kB / 0.5977 GB, free: 27.45 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007116/0.5418, allocations: 2.11 MB / 0.5997 GB, free: 27.09 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001087/0.543, allocations: 190.6 kB / 0.5999 GB, free: 27.07 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02468/0.5677, allocations: 9.513 MB / 0.6092 GB, free: 22.5 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001767/0.5695, allocations: 199.2 kB / 0.6094 GB, free: 22.39 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002941/0.5698, allocations: 40.36 kB / 0.6094 GB, free: 22.38 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.e1q:VARIABLE(start = order31.e1q0 unit = "1" fixed = true ) "q-axis transient voltage" 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 (96): * Single equations (assignments): 95 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {25 11} Notification: Performance of prepare postOptimizeDAE: time 0.0008427/0.5706, allocations: 230.8 kB / 0.6096 GB, free: 22.14 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004405/0.5711, allocations: 102.7 kB / 0.6097 GB, free: 22.04 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01168/0.5828, allocations: 4.731 MB / 0.6144 GB, free: 17.29 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.972e-05/0.5829, allocations: 12 kB / 0.6144 GB, free: 17.28 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.266e-06/0.5829, allocations: 4 kB / 0.6144 GB, free: 17.28 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.447e-05/0.5829, allocations: 3.984 kB / 0.6144 GB, free: 17.27 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0139/0.5968, allocations: 6.266 MB / 0.6205 GB, free: 10.87 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.737e-05/0.5969, allocations: 3.984 kB / 0.6205 GB, free: 10.86 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000555/0.5975, allocations: 87.89 kB / 0.6206 GB, free: 10.78 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005251/0.6027, allocations: 2.046 MB / 0.6226 GB, free: 8.727 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001887/0.603, allocations: 20 kB / 0.6226 GB, free: 8.707 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01594/0.6189, allocations: 8.217 MB / 0.6306 GB, free: 344 kB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.609e-06/0.619, allocations: 0 / 0.6306 GB, free: 344 kB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01535/0.6343, allocations: 5.677 MB / 0.6362 GB, free: 10.64 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005468/0.635, allocations: 191.6 kB / 0.6363 GB, free: 10.43 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004176/0.6354, allocations: 19.98 kB / 0.6364 GB, free: 10.41 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001221/0.6366, allocations: 127.9 kB / 0.6365 GB, free: 10.29 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007976/0.6374, allocations: 204.6 kB / 0.6367 GB, free: 10.09 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001431/0.6376, allocations: 20 kB / 0.6367 GB, free: 10.07 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0009291/0.6385, allocations: 0.5265 MB / 0.6372 GB, free: 9.527 MB / 446.1 MB Notification: Performance of sort global known variables: time 3.1e-07/0.6386, allocations: 0 / 0.6372 GB, free: 9.527 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002262/0.6408, allocations: 411.5 kB / 0.6376 GB, free: 9.125 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {26 10} Notification: Performance of Backend phase and start with SimCode phase: time 0.01529/0.6561, allocations: 6.257 MB / 0.6437 GB, free: 2.832 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.006882/0.6631, allocations: 2.572 MB / 0.6462 GB, free: 260 kB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.72e-06/0.6631, allocations: 4 kB / 0.6462 GB, free: 256 kB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004532/0.6677, allocations: 1.679 MB / 0.6479 GB, free: 14.55 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001306/0.669, allocations: 83.34 kB / 0.648 GB, free: 14.47 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0246/0.6936, allocations: 10.48 MB / 0.6582 GB, free: 3.742 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007704/0.6945, allocations: 1.029 MB / 0.6592 GB, free: 2.688 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0004634/0.6949, allocations: 74.19 kB / 0.6593 GB, free: 2.613 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006328/0.6956, allocations: 363.3 kB / 0.6596 GB, free: 2.258 MB / 462.1 MB Notification: Performance of SimCode: time 1.102e-06/0.6956, allocations: 0 / 0.6596 GB, free: 2.258 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05726/0.7529, allocations: 27.6 MB / 0.6866 GB, free: 6.781 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002041/0.7531, allocations: 212.7 kB / 0.6868 GB, free: 6.531 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.032/3.785, allocations: 0 / 0.6868 GB, free: 6.531 MB / 494.1 MB (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/linux/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) Environment - environmentSimulation: