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.001198/0.001198, allocations: 100.1 kB / 15.05 MB, free: 1.105 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.312/1.312, allocations: 223.2 MB / 238.9 MB, free: 5.66 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.001127/0.001128, allocations: 177.1 kB / 290.2 MB, free: 2.355 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4712/0.4712, allocations: 79.46 MB / 420.7 MB, free: 3.945 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003818/0.0003819, allocations: 12 kB / 0.4891 GB, free: 5.531 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3403/0.3407, allocations: 69.51 MB / 0.557 GB, free: 37.85 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order3test2): time 0.004065/0.3448, allocations: 5.034 MB / 0.5619 GB, free: 37.5 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.00275/0.3475, allocations: 1.715 MB / 0.5636 GB, free: 37.27 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004175/0.348, allocations: 15.44 kB / 0.5636 GB, free: 37.26 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003721/0.3484, allocations: 145.5 kB / 0.5637 GB, free: 37.21 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001359/0.3497, allocations: 0.6177 MB / 0.5643 GB, free: 37.14 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009305/0.3507, allocations: 488.7 kB / 0.5648 GB, free: 37.12 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009487/0.3516, allocations: 0.8142 MB / 0.5656 GB, free: 37.03 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002904/0.3519, allocations: 213.1 kB / 0.5658 GB, free: 36.99 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004154/0.3524, allocations: 458.1 kB / 0.5662 GB, free: 36.86 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004929/0.3529, allocations: 0.5537 MB / 0.5668 GB, free: 36.71 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 8.292e-05/0.3529, allocations: 48 kB / 0.5668 GB, free: 36.71 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000352/0.3533, allocations: 162.1 kB / 0.567 GB, free: 36.7 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001678/0.3535, allocations: 194.2 kB / 0.5671 GB, free: 36.64 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001677/0.3537, allocations: 199 kB / 0.5673 GB, free: 36.57 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007968/0.3545, allocations: 0.9485 MB / 0.5683 GB, free: 36.41 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.424e-06/0.3545, allocations: 1.031 kB / 0.5683 GB, free: 36.41 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.353e-06/0.3545, allocations: 0 / 0.5683 GB, free: 36.41 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.527e-05/0.3545, allocations: 0 / 0.5683 GB, free: 36.41 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.00673/0.3612, allocations: 2.202 MB / 0.5704 GB, free: 35.63 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.535e-05/0.3613, allocations: 10.62 kB / 0.5704 GB, free: 35.63 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002033/0.3615, allocations: 118.5 kB / 0.5705 GB, free: 35.59 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004812/0.3663, allocations: 0.7664 MB / 0.5713 GB, free: 35.51 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001121/0.3675, allocations: 0.6769 MB / 0.5719 GB, free: 35.18 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002564/0.3677, allocations: 265 kB / 0.5722 GB, free: 34.98 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001358/0.3679, allocations: 66.72 kB / 0.5723 GB, free: 34.98 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001918/0.3698, allocations: 1.024 MB / 0.5733 GB, free: 34.65 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.776e-05/0.3698, allocations: 0.5 kB / 0.5733 GB, free: 34.65 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.537e-05/0.3699, allocations: 26.55 kB / 0.5733 GB, free: 34.63 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.68e-05/0.3699, allocations: 19.17 kB / 0.5733 GB, free: 34.62 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001958/0.3719, allocations: 1.059 MB / 0.5743 GB, free: 34.3 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.00468/0.3766, allocations: 3.336 MB / 0.5776 GB, free: 32.32 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001866/0.3785, allocations: 1.372 MB / 0.5789 GB, free: 31.41 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.426e-05/0.3786, allocations: 13.44 kB / 0.5789 GB, free: 31.41 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.419e-05/0.3786, allocations: 48.78 kB / 0.579 GB, free: 31.36 MB / 430.1 MB Notification: Performance of pre-optimization done (n=82): time 3.226e-06/0.3786, allocations: 0 / 0.579 GB, free: 31.36 MB / 430.1 MB Notification: Performance of matching and sorting (n=82): time 0.0279/0.4065, allocations: 8.365 MB / 0.5872 GB, free: 30 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.439e-05/0.4066, allocations: 68.59 kB / 0.5872 GB, free: 29.93 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001081/0.4077, allocations: 0.7923 MB / 0.588 GB, free: 29.57 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001669/0.4079, allocations: 41.05 kB / 0.588 GB, free: 29.53 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002443/0.4081, allocations: 427.1 kB / 0.5884 GB, free: 29.19 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002636/0.4084, allocations: 298.8 kB / 0.5887 GB, free: 28.95 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.404e-05/0.4085, allocations: 21.25 kB / 0.5887 GB, free: 28.94 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 6.458e-05/0.4085, allocations: 351.7 kB / 0.5891 GB, free: 28.61 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001452/0.41, allocations: 0.7225 MB / 0.5898 GB, free: 28.36 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001546/0.4115, allocations: 0.8373 MB / 0.5906 GB, free: 28.01 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001507/0.4131, allocations: 0.7704 MB / 0.5914 GB, free: 27.7 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.14e-06/0.4131, allocations: 2.938 kB / 0.5914 GB, free: 27.7 MB / 430.1 MB Notification: Performance of matching and sorting (n=131) (initialization): time 0.01497/0.4281, allocations: 4.975 MB / 0.5962 GB, free: 26.63 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.075e-05/0.4281, allocations: 5.844 kB / 0.5962 GB, free: 26.63 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.501e-05/0.4281, allocations: 3.266 kB / 0.5962 GB, free: 26.63 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007031/0.4352, allocations: 2.094 MB / 0.5983 GB, free: 26.29 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000989/0.4362, allocations: 180 kB / 0.5984 GB, free: 26.28 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02211/0.4583, allocations: 9.978 MB / 0.6082 GB, free: 22.02 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001415/0.4598, allocations: 193.5 kB / 0.6084 GB, free: 21.96 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.913e-05/0.4599, allocations: 38.56 kB / 0.6084 GB, free: 21.95 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.0003988/0.4603, allocations: 216.5 kB / 0.6086 GB, free: 21.77 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001538/0.4604, allocations: 109.1 kB / 0.6087 GB, free: 21.71 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01338/0.4738, allocations: 4.743 MB / 0.6134 GB, free: 18.88 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.222e-05/0.4739, allocations: 8 kB / 0.6134 GB, free: 18.87 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.085e-06/0.4739, allocations: 1.781 kB / 0.6134 GB, free: 18.87 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.503e-05/0.4739, allocations: 3.984 kB / 0.6134 GB, free: 18.86 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01391/0.4878, allocations: 6.266 MB / 0.6195 GB, free: 12.46 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.004e-05/0.4878, allocations: 7.953 kB / 0.6195 GB, free: 12.45 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004927/0.4883, allocations: 87.89 kB / 0.6196 GB, free: 12.36 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005673/0.494, allocations: 2.055 MB / 0.6216 GB, free: 10.31 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001001/0.4941, allocations: 16 kB / 0.6216 GB, free: 10.29 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01688/0.511, allocations: 8.642 MB / 0.63 GB, free: 1.512 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.444e-06/0.5111, allocations: 0 / 0.63 GB, free: 1.512 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01512/0.5262, allocations: 5.682 MB / 0.6356 GB, free: 11.8 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003722/0.5266, allocations: 191.6 kB / 0.6358 GB, free: 11.6 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001435/0.5268, allocations: 15.95 kB / 0.6358 GB, free: 11.58 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009391/0.5277, allocations: 131.9 kB / 0.6359 GB, free: 11.45 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005427/0.5283, allocations: 204.6 kB / 0.6361 GB, free: 11.25 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.351e-05/0.5283, allocations: 20 kB / 0.6361 GB, free: 11.23 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0006359/0.529, allocations: 0.5304 MB / 0.6366 GB, free: 10.69 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.01e-07/0.529, allocations: 0 / 0.6366 GB, free: 10.69 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001179/0.5302, allocations: 411.5 kB / 0.637 GB, free: 10.29 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.01532/0.5455, allocations: 6.265 MB / 0.6432 GB, free: 3.996 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.006596/0.5521, allocations: 2.572 MB / 0.6457 GB, free: 1.414 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.657e-06/0.5522, allocations: 4.125 kB / 0.6457 GB, free: 1.41 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00472/0.5569, allocations: 1.689 MB / 0.6473 GB, free: 15.71 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005822/0.5575, allocations: 68.86 kB / 0.6474 GB, free: 15.64 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003972/0.5615, allocations: 3.864 MB / 0.6512 GB, free: 11.71 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005219/0.562, allocations: 1.053 MB / 0.6522 GB, free: 10.64 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0002616/0.5623, allocations: 80.25 kB / 0.6523 GB, free: 10.56 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004255/0.5627, allocations: 359.3 kB / 0.6526 GB, free: 10.21 MB / 462.1 MB Notification: Performance of SimCode: time 8.21e-07/0.5627, allocations: 0 / 0.6526 GB, free: 10.21 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04675/0.6095, allocations: 27.09 MB / 0.6791 GB, free: 15.48 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000171/0.6097, allocations: 198.9 kB / 0.6792 GB, free: 15.24 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.487/3.097, allocations: 7.938 kB / 0.6793 GB, free: 15.23 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: