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.00078/0.0007801, allocations: 86.72 kB / 15.06 MB, free: 1.09 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.34/1.34, allocations: 223.2 MB / 239 MB, free: 5.555 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.001241/0.001241, allocations: 172.5 kB / 290.3 MB, free: 2.25 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4949/0.4949, allocations: 79.48 MB / 420.8 MB, free: 3.965 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003782/0.0003782, allocations: 15.98 kB / 0.4892 GB, free: 5.504 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3912/0.3916, allocations: 69.5 MB / 0.5571 GB, free: 37.68 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order3test2): time 0.004827/0.3965, allocations: 5.313 MB / 0.5623 GB, free: 37.33 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003595/0.4001, allocations: 1.677 MB / 0.5639 GB, free: 37.09 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008696/0.401, allocations: 12.16 kB / 0.5639 GB, free: 37.09 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000499/0.4016, allocations: 142.7 kB / 0.5641 GB, free: 37.04 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001679/0.4032, allocations: 0.5734 MB / 0.5646 GB, free: 36.78 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001097/0.4044, allocations: 492.8 kB / 0.5651 GB, free: 36.71 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001237/0.4056, allocations: 1.132 MB / 0.5662 GB, free: 36.41 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003588/0.406, allocations: 217.1 kB / 0.5664 GB, free: 36.37 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005171/0.4065, allocations: 458.3 kB / 0.5668 GB, free: 36.24 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005196/0.407, allocations: 0.566 MB / 0.5674 GB, free: 36.08 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 8.724e-05/0.4071, allocations: 46.56 kB / 0.5674 GB, free: 36.08 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003818/0.4075, allocations: 178 kB / 0.5676 GB, free: 36.07 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001353/0.4077, allocations: 190.6 kB / 0.5678 GB, free: 36.01 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001432/0.4078, allocations: 197 kB / 0.568 GB, free: 35.94 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008238/0.4086, allocations: 1.001 MB / 0.569 GB, free: 35.75 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.78e-06/0.4087, allocations: 1.875 kB / 0.569 GB, free: 35.75 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.804e-06/0.4087, allocations: 1.25 kB / 0.569 GB, free: 35.75 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.27e-05/0.4087, allocations: 0 / 0.569 GB, free: 35.75 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.006069/0.4148, allocations: 2.201 MB / 0.5711 GB, free: 34.97 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.578e-05/0.4148, allocations: 8.719 kB / 0.5711 GB, free: 34.97 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002516/0.4151, allocations: 116.2 kB / 0.5712 GB, free: 34.93 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004476/0.4196, allocations: 0.7719 MB / 0.572 GB, free: 34.84 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001194/0.4208, allocations: 0.6709 MB / 0.5726 GB, free: 34.52 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002394/0.421, allocations: 262.6 kB / 0.5729 GB, free: 34.32 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001208/0.4212, allocations: 71.56 kB / 0.573 GB, free: 34.32 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001942/0.4231, allocations: 1.023 MB / 0.574 GB, free: 34.18 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.762e-05/0.4231, allocations: 0 / 0.574 GB, free: 34.18 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.486e-05/0.4232, allocations: 29.84 kB / 0.574 GB, free: 34.16 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.269e-05/0.4232, allocations: 22.55 kB / 0.574 GB, free: 34.15 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001826/0.4251, allocations: 1.055 MB / 0.575 GB, free: 33.83 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.00469/0.4298, allocations: 3.238 MB / 0.5782 GB, free: 31.96 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001651/0.4314, allocations: 1.368 MB / 0.5795 GB, free: 31.07 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001177/0.4326, allocations: 0.771 MB / 0.5803 GB, free: 30.79 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000107/0.4327, allocations: 22.12 kB / 0.5803 GB, free: 30.78 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.017e-05/0.4328, allocations: 38.03 kB / 0.5803 GB, free: 30.74 MB / 430.1 MB Notification: Performance of pre-optimization done (n=82): time 3.777e-06/0.4328, allocations: 5.875 kB / 0.5804 GB, free: 30.73 MB / 430.1 MB Notification: Performance of matching and sorting (n=82): time 0.02481/0.4576, allocations: 8.365 MB / 0.5885 GB, free: 29.37 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.794e-05/0.4577, allocations: 63.81 kB / 0.5886 GB, free: 29.3 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001209/0.4589, allocations: 0.7968 MB / 0.5894 GB, free: 28.94 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002637/0.4592, allocations: 41.02 kB / 0.5894 GB, free: 28.9 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003012/0.4595, allocations: 429.7 kB / 0.5898 GB, free: 28.56 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002983/0.4598, allocations: 291.7 kB / 0.5901 GB, free: 28.33 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.066e-05/0.4599, allocations: 20.44 kB / 0.5901 GB, free: 28.31 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 8.221e-05/0.46, allocations: 349 kB / 0.5904 GB, free: 27.99 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001415/0.4614, allocations: 0.7241 MB / 0.5911 GB, free: 27.74 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001554/0.463, allocations: 0.8455 MB / 0.592 GB, free: 27.38 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001534/0.4645, allocations: 0.7755 MB / 0.5927 GB, free: 27.07 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.041e-06/0.4645, allocations: 0.9688 kB / 0.5927 GB, free: 27.07 MB / 430.1 MB Notification: Performance of matching and sorting (n=131) (initialization): time 0.01346/0.478, allocations: 4.977 MB / 0.5976 GB, free: 26 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.585e-05/0.4781, allocations: 5.812 kB / 0.5976 GB, free: 26 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.155e-05/0.4781, allocations: 3.438 kB / 0.5976 GB, free: 26 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006666/0.4848, allocations: 2.091 MB / 0.5996 GB, free: 25.66 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001025/0.4858, allocations: 183.8 kB / 0.5998 GB, free: 25.65 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02234/0.5082, allocations: 9.522 MB / 0.6091 GB, free: 21.54 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001627/0.5099, allocations: 193.3 kB / 0.6093 GB, free: 21.48 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002549/0.5102, allocations: 37.42 kB / 0.6093 GB, free: 21.47 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.0007521/0.5109, allocations: 230.7 kB / 0.6096 GB, free: 21.28 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003705/0.5113, allocations: 103.8 kB / 0.6097 GB, free: 21.22 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01228/0.5236, allocations: 4.741 MB / 0.6143 GB, free: 18.05 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.957e-05/0.5237, allocations: 13.08 kB / 0.6143 GB, free: 18.04 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.897e-06/0.5237, allocations: 0 / 0.6143 GB, free: 18.04 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.329e-05/0.5237, allocations: 3.984 kB / 0.6143 GB, free: 18.04 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01307/0.5368, allocations: 6.26 MB / 0.6204 GB, free: 11.64 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-05/0.5369, allocations: 0 / 0.6204 GB, free: 11.64 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005044/0.5374, allocations: 95.89 kB / 0.6205 GB, free: 11.54 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005113/0.5425, allocations: 2.048 MB / 0.6225 GB, free: 9.492 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001308/0.5427, allocations: 20.56 kB / 0.6225 GB, free: 9.473 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.015/0.5577, allocations: 8.201 MB / 0.6305 GB, free: 1.129 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.857e-06/0.5577, allocations: 4 kB / 0.6305 GB, free: 1.125 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01443/0.5722, allocations: 5.684 MB / 0.6361 GB, free: 11.42 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005033/0.5727, allocations: 191.6 kB / 0.6363 GB, free: 11.21 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003532/0.5731, allocations: 15.95 kB / 0.6363 GB, free: 11.2 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00111/0.5742, allocations: 132.4 kB / 0.6364 GB, free: 11.07 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007176/0.5749, allocations: 196.6 kB / 0.6366 GB, free: 10.88 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001208/0.5751, allocations: 21 kB / 0.6366 GB, free: 10.86 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0008867/0.576, allocations: 0.5343 MB / 0.6371 GB, free: 10.31 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.575e-06/0.576, allocations: 0 / 0.6371 GB, free: 10.31 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001884/0.5779, allocations: 415.4 kB / 0.6375 GB, free: 9.902 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.01494/0.5928, allocations: 6.253 MB / 0.6436 GB, free: 3.617 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.006782/0.5997, allocations: 2.572 MB / 0.6462 GB, free: 1.039 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.328e-06/0.5997, allocations: 0 / 0.6462 GB, free: 1.039 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004456/0.6042, allocations: 1.692 MB / 0.6478 GB, free: 15.34 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001126/0.6053, allocations: 79.86 kB / 0.6479 GB, free: 15.25 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02387/0.6292, allocations: 10.45 MB / 0.6581 GB, free: 4.578 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007795/0.63, allocations: 1.029 MB / 0.6591 GB, free: 3.523 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0004189/0.6305, allocations: 81.14 kB / 0.6592 GB, free: 3.445 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005812/0.6311, allocations: 363.3 kB / 0.6595 GB, free: 3.09 MB / 462.1 MB Notification: Performance of SimCode: time 8.32e-07/0.6311, allocations: 0 / 0.6595 GB, free: 3.09 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7087/1.34, allocations: 27.6 MB / 0.6865 GB, free: 7.852 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001714/1.34, allocations: 200.2 kB / 0.6867 GB, free: 7.609 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.385/3.725, allocations: 3.938 kB / 0.6867 GB, free: 7.605 MB / 494.1 MB (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/linux/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) Environment - environmentSimulation: