Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2_TG.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.0.1/package.mo", uses=false) Using package OpenIPSL with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/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: translateModel(OpenIPSL.Tests.Machines.PSAT.Order4test2_TG,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2_TG") translateModel(OpenIPSL.Tests.Machines.PSAT.Order4test2_TG,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2_TG") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000767/0.0007668, allocations: 92 kB / 15.36 MB, free: 0.7383 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.354/1.354, allocations: 223.3 MB / 239.4 MB, free: 5.5 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.001047/0.001047, allocations: 180.3 kB / 290.6 MB, free: 2.18 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4764/0.4764, allocations: 78.55 MB / 420.3 MB, free: 4.324 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004102/0.0004105, allocations: 12 kB / 0.4887 GB, free: 6.035 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1413/0.1418, allocations: 69.35 MB / 0.5564 GB, free: 0.625 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order4test2_TG): time 0.2456/0.3875, allocations: 6.245 MB / 0.5625 GB, free: 36.09 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003673/0.3912, allocations: 1.961 MB / 0.5644 GB, free: 35.3 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000901/0.3921, allocations: 14.59 kB / 0.5644 GB, free: 35.3 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006423/0.3928, allocations: 185.1 kB / 0.5646 GB, free: 35.23 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00163/0.3944, allocations: 0.6349 MB / 0.5652 GB, free: 34.94 MB / 430.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/Electrical/Machines/PSAT/Order4.mo:25:3-30:9:writable] Warning: In relation Generator.xq <> Generator.x1q, <> on Real numbers is only allowed inside functions. Notification: Performance of NFTyping.typeClassSections: time 0.001295/0.3957, allocations: 0.6158 MB / 0.5658 GB, free: 34.83 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001262/0.397, allocations: 1.388 MB / 0.5672 GB, free: 34.5 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003797/0.3974, allocations: 276.4 kB / 0.5674 GB, free: 34.46 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005887/0.398, allocations: 0.5231 MB / 0.568 GB, free: 34.3 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005756/0.3985, allocations: 0.6574 MB / 0.5686 GB, free: 34.1 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001098/0.3987, allocations: 52.44 kB / 0.5686 GB, free: 34.1 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000403/0.3991, allocations: 180.5 kB / 0.5688 GB, free: 34.09 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001908/0.3993, allocations: 233.7 kB / 0.569 GB, free: 34.02 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003807/0.3997, allocations: 0.5785 MB / 0.5696 GB, free: 33.75 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001019/0.4007, allocations: 1.44 MB / 0.571 GB, free: 33.39 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.4007, allocations: 2.5 kB / 0.571 GB, free: 33.39 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.4007, allocations: 0 / 0.571 GB, free: 33.39 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.611e-05/0.4007, allocations: 0 / 0.571 GB, free: 33.39 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: 187 * Number of variables: 187 Notification: Performance of Generate backend data structure: time 0.007258/0.408, allocations: 2.371 MB / 0.5733 GB, free: 32.54 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.806e-05/0.4081, allocations: 9.781 kB / 0.5733 GB, free: 32.54 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004999/0.4131, allocations: 0.7847 MB / 0.5741 GB, free: 32.45 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001373/0.4145, allocations: 0.8019 MB / 0.5749 GB, free: 32.05 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002538/0.4147, allocations: 271.6 kB / 0.5751 GB, free: 31.85 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001542/0.4149, allocations: 79.94 kB / 0.5752 GB, free: 31.85 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002264/0.4172, allocations: 1.206 MB / 0.5764 GB, free: 31.76 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.902e-05/0.4172, allocations: 3.938 kB / 0.5764 GB, free: 31.75 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.657e-05/0.4173, allocations: 32.56 kB / 0.5764 GB, free: 31.75 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.486e-05/0.4173, allocations: 16.41 kB / 0.5764 GB, free: 31.75 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002249/0.4196, allocations: 1.166 MB / 0.5776 GB, free: 31.73 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.005982/0.4256, allocations: 3.524 MB / 0.581 GB, free: 30.73 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002303/0.4279, allocations: 1.536 MB / 0.5825 GB, free: 29.8 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001463/0.4294, allocations: 0.8274 MB / 0.5833 GB, free: 29.49 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.977e-05/0.4295, allocations: 9.281 kB / 0.5833 GB, free: 29.49 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.28e-05/0.4295, allocations: 45.25 kB / 0.5834 GB, free: 29.44 MB / 430.1 MB Notification: Performance of pre-optimization done (n=90): time 3.296e-06/0.4295, allocations: 1.594 kB / 0.5834 GB, free: 29.44 MB / 430.1 MB Notification: Performance of matching and sorting (n=90): time 0.0275/0.457, allocations: 8.052 MB / 0.5913 GB, free: 28.02 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.924e-05/0.4571, allocations: 86.61 kB / 0.5913 GB, free: 27.93 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001516/0.4586, allocations: 0.943 MB / 0.5923 GB, free: 27.54 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002399/0.4589, allocations: 45.11 kB / 0.5923 GB, free: 27.49 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002847/0.4592, allocations: 486.4 kB / 0.5928 GB, free: 27.11 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003129/0.4595, allocations: 321.1 kB / 0.5931 GB, free: 26.85 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001602/0.4597, allocations: 105.3 kB / 0.5932 GB, free: 26.8 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 7.135e-05/0.4598, allocations: 349.5 kB / 0.5935 GB, free: 26.47 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00165/0.4614, allocations: 0.7807 MB / 0.5943 GB, free: 26.21 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001751/0.4632, allocations: 0.9104 MB / 0.5952 GB, free: 25.84 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02/0.4832, allocations: 5.234 MB / 0.6003 GB, free: 24.46 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.096e-05/0.4833, allocations: 1.344 kB / 0.6003 GB, free: 24.46 MB / 430.1 MB Notification: Performance of matching and sorting (n=145) (initialization): time 0.01644/0.4997, allocations: 5.143 MB / 0.6053 GB, free: 23.32 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001248/0.4999, allocations: 150.5 kB / 0.6054 GB, free: 23.15 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.34e-05/0.4999, allocations: 6.406 kB / 0.6054 GB, free: 23.15 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006937/0.5069, allocations: 2.029 MB / 0.6074 GB, free: 22.81 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001194/0.5081, allocations: 218 kB / 0.6076 GB, free: 22.79 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02075/0.5288, allocations: 9.326 MB / 0.6167 GB, free: 15.72 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001704/0.5306, allocations: 222.8 kB / 0.6169 GB, free: 15.5 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001005/0.5307, allocations: 32 kB / 0.617 GB, free: 15.47 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.037e-05/0.5307, allocations: 5.406 kB / 0.617 GB, free: 15.46 MB / 430.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01339/0.5441, allocations: 4.992 MB / 0.6219 GB, free: 10.46 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.917e-05/0.5442, allocations: 4 kB / 0.6219 GB, free: 10.46 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005992/0.5502, allocations: 2.021 MB / 0.6238 GB, free: 8.438 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001078/0.5513, allocations: 212.8 kB / 0.624 GB, free: 8.23 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01929/0.5706, allocations: 9.322 MB / 0.6331 GB, free: 14.78 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001657/0.5723, allocations: 195.2 kB / 0.6333 GB, free: 14.59 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001365/0.5724, allocations: 35.98 kB / 0.6334 GB, free: 14.55 MB / 446.1 MB Warning: Assuming fixed start value for the following 2 variables: Generator.e1q:VARIABLE(start = Generator.e1q0 unit = "1" fixed = true ) "q-axis transient voltage" type: Real TGTypeII1.transferFunction1.x_scaled[1]:VARIABLE(fixed = true protected = true ) "Scaled vector x" type: Real [1] Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (111): * Single equations (assignments): 110 * 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 {(24,11)} Notification: Performance of prepare postOptimizeDAE: time 0.0006252/0.5731, allocations: 330.4 kB / 0.6337 GB, free: 14.22 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002366/0.5733, allocations: 118.4 kB / 0.6338 GB, free: 14.11 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01526/0.5886, allocations: 4.862 MB / 0.6385 GB, free: 9.23 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.906e-05/0.5886, allocations: 8 kB / 0.6385 GB, free: 9.223 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.967e-06/0.5886, allocations: 0 / 0.6385 GB, free: 9.223 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.985e-05/0.5887, allocations: 3.984 kB / 0.6386 GB, free: 9.219 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01798/0.6067, allocations: 6.477 MB / 0.6449 GB, free: 2.598 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.179e-05/0.6067, allocations: 4 kB / 0.6449 GB, free: 2.594 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00073/0.6074, allocations: 111.9 kB / 0.645 GB, free: 2.484 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006879/0.6143, allocations: 2.057 MB / 0.647 GB, free: 436 kB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001778/0.6145, allocations: 17.41 kB / 0.647 GB, free: 420 kB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01931/0.6339, allocations: 8.205 MB / 0.655 GB, free: 8.074 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.408e-06/0.6339, allocations: 3.938 kB / 0.655 GB, free: 8.07 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01676/0.6507, allocations: 5.861 MB / 0.6608 GB, free: 2.184 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004421/0.6512, allocations: 219.3 kB / 0.661 GB, free: 1.949 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001855/0.6514, allocations: 16 kB / 0.661 GB, free: 1.934 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001169/0.6525, allocations: 149 kB / 0.6611 GB, free: 1.789 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005961/0.6532, allocations: 200.6 kB / 0.6613 GB, free: 1.594 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.006e-05/0.6532, allocations: 24 kB / 0.6613 GB, free: 1.57 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0009127/0.6541, allocations: 0.6391 MB / 0.662 GB, free: 0.9219 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.6542, allocations: 0 / 0.662 GB, free: 0.9219 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001856/0.656, allocations: 0.6944 MB / 0.6626 GB, free: 232 kB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (TGTypeII1.transferFunction1.x_scaled[1],Generator.delta,Generator.w,Generator.e1q,Generator.e1d) * 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 (57): * Single equations (assignments): 56 * 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.0002684/0.6563, allocations: 135.1 kB / 0.6628 GB, free: 84 kB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0124/0.6687, allocations: 4.606 MB / 0.6673 GB, free: 11.47 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 4.578e-06/0.6687, allocations: 0 / 0.6673 GB, free: 11.47 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00505/0.6738, allocations: 1.75 MB / 0.669 GB, free: 9.711 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000939/0.6748, allocations: 96.23 kB / 0.6691 GB, free: 9.613 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004048/0.6788, allocations: 2.631 MB / 0.6716 GB, free: 6.996 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006398/0.6795, allocations: 1.105 MB / 0.6727 GB, free: 5.859 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0005203/0.68, allocations: 121.5 kB / 0.6728 GB, free: 5.742 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002108/0.6802, allocations: 63.42 kB / 0.6729 GB, free: 5.68 MB / 478.1 MB Notification: Performance of SimCode: time 6.91e-07/0.6802, allocations: 4 kB / 0.6729 GB, free: 5.676 MB / 478.1 MB Notification: Performance of Templates: time 0.04006/0.7203, allocations: 27.65 MB / 0.6999 GB, free: 10.17 MB / 0.4981 GB make -j1 -f OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2_TG.makefile Environment - environmentSimulation: (rm -f OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2_TG.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2_TG.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2_TG.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2_TG.sim & ./OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2_TG -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2_TG.pipe 2>&1) Environment - environmentSimulation: