Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order4test2_TG.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/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 Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+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 Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(OpenIPSL.Tests.Machines.PSAT.Order4test2_TG,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order4test2_TG") translateModel(OpenIPSL.Tests.Machines.PSAT.Order4test2_TG,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order4test2_TG") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001156/0.001156, allocations: 176.2 kB / 7.643 MB, free: 1.414 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.271/1.271, allocations: 205.3 MB / 213.4 MB, free: 13.76 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007894/0.0007894, allocations: 81.03 kB / 261.4 MB, free: 13.45 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.07341/0.07341, allocations: 12.6 MB / 321.9 MB, free: 0.7852 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.2852/0.2852, allocations: 78.06 MB / 450.8 MB, free: 3.027 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 1.193e-05/1.196e-05, allocations: 4 kB / 0.5147 GB, free: 29.62 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1138/0.1138, allocations: 69.33 MB / 0.5824 GB, free: 8.398 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.38/0.4939, allocations: 100.5 MB / 0.6806 GB, free: 7.465 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000207/0.4942, allocations: 81.88 kB / 0.6807 GB, free: 7.422 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06085/0.555, allocations: 24.66 MB / 0.7047 GB, free: 3.199 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.154e-06/0.5551, allocations: 4 kB / 0.7047 GB, free: 3.195 MB / 442.7 MB Notification: Performance of Transformations before backend: time 9.742e-05/0.5552, allocations: 20 kB / 0.7048 GB, free: 3.176 MB / 442.7 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.005019/0.5602, allocations: 1.708 MB / 0.7064 GB, free: 1.539 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.053e-05/0.5602, allocations: 8.031 kB / 0.7064 GB, free: 1.531 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003341/0.5636, allocations: 0.5601 MB / 0.707 GB, free: 1.02 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001957/0.5656, allocations: 0.7772 MB / 0.7077 GB, free: 352 kB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003172/0.5659, allocations: 236.2 kB / 0.708 GB, free: 76 kB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002781/0.5662, allocations: 44 kB / 0.708 GB, free: 32 kB / 442.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00166/0.5679, allocations: 0.8207 MB / 0.7088 GB, free: 15.54 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001665/0.5695, allocations: 0.8382 MB / 0.7096 GB, free: 14.96 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.916e-05/0.5696, allocations: 4 kB / 0.7096 GB, free: 14.96 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.447e-05/0.5697, allocations: 0 / 0.7096 GB, free: 14.96 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.736e-05/0.5697, allocations: 16 kB / 0.7097 GB, free: 14.95 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006261/0.576, allocations: 3.384 MB / 0.713 GB, free: 12.32 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001315/0.5773, allocations: 1.21 MB / 0.7141 GB, free: 11.32 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007217/0.5781, allocations: 0.5472 MB / 0.7147 GB, free: 11.02 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001097/0.5782, allocations: 16.77 kB / 0.7147 GB, free: 11.01 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.651e-05/0.5782, allocations: 46.31 kB / 0.7147 GB, free: 10.96 MB / 458.7 MB Notification: Performance of pre-optimization done (n=90): time 2.615e-06/0.5782, allocations: 0 / 0.7147 GB, free: 10.96 MB / 458.7 MB Notification: Performance of matching and sorting (n=90): time 0.01165/0.5899, allocations: 3.977 MB / 0.7186 GB, free: 7.496 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.444e-05/0.59, allocations: 85.89 kB / 0.7187 GB, free: 7.395 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001298/0.5913, allocations: 0.7024 MB / 0.7194 GB, free: 6.859 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002146/0.5915, allocations: 26.64 kB / 0.7194 GB, free: 6.828 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003504/0.5919, allocations: 494.3 kB / 0.7199 GB, free: 6.551 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004443/0.5923, allocations: 309.5 kB / 0.7202 GB, free: 6.281 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.411e-05/0.5924, allocations: 0 / 0.7202 GB, free: 6.281 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001199/0.5926, allocations: 342.8 kB / 0.7205 GB, free: 5.953 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006802/0.5933, allocations: 429.6 kB / 0.7209 GB, free: 5.73 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008271/0.5941, allocations: 0.5175 MB / 0.7214 GB, free: 5.395 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007493/0.5949, allocations: 462.9 kB / 0.7219 GB, free: 5.145 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.24e-06/0.5949, allocations: 0 / 0.7219 GB, free: 5.145 MB / 458.7 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.01196/0.6069, allocations: 4.122 MB / 0.7259 GB, free: 1.574 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002732/0.6072, allocations: 0.7865 MB / 0.7267 GB, free: 0.7461 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.864e-05/0.6072, allocations: 4 kB / 0.7267 GB, free: 0.7422 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005301/0.6125, allocations: 1.677 MB / 0.7283 GB, free: 15.29 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007185/0.6133, allocations: 131.1 kB / 0.7284 GB, free: 15.16 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01432/0.6276, allocations: 7.071 MB / 0.7353 GB, free: 9.785 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001635/0.6293, allocations: 179.2 kB / 0.7355 GB, free: 9.609 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002307/0.6295, allocations: 28 kB / 0.7355 GB, free: 9.582 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.166e-05/0.6296, allocations: 4 kB / 0.7355 GB, free: 9.578 MB / 474.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01221/0.6418, allocations: 3.976 MB / 0.7394 GB, free: 5.594 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.326e-05/0.6419, allocations: 4 kB / 0.7394 GB, free: 5.59 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005596/0.6475, allocations: 1.663 MB / 0.741 GB, free: 3.922 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007265/0.6482, allocations: 135.9 kB / 0.7412 GB, free: 3.789 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0148/0.663, allocations: 7.055 MB / 0.7481 GB, free: 12.61 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001565/0.6647, allocations: 171.2 kB / 0.7482 GB, free: 12.44 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001982/0.6649, allocations: 24 kB / 0.7482 GB, free: 12.41 MB / 490.7 MB Warning: Assuming fixed start value for the following 2 variables: Generator.e1d:VARIABLE(start = Generator.e1d0 unit = "1" ) "d-axis transient voltage" type: Real TGTypeII1.transferFunction1.x_scaled[1]:VARIABLE(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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (70): * Single equations (assignments): 69 * 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 {24 13} Notification: Performance of prepare postOptimizeDAE: time 0.0004492/0.6653, allocations: 124.8 kB / 0.7484 GB, free: 12.29 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000406/0.6658, allocations: 118.6 kB / 0.7485 GB, free: 12.17 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01244/0.6782, allocations: 4.083 MB / 0.7525 GB, free: 8.066 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.6e-05/0.6783, allocations: 8 kB / 0.7525 GB, free: 8.059 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.6783, allocations: 0 / 0.7525 GB, free: 8.059 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.641e-05/0.6783, allocations: 7.969 kB / 0.7525 GB, free: 8.051 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01493/0.6933, allocations: 5.618 MB / 0.758 GB, free: 2.309 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.224e-05/0.6933, allocations: 0 / 0.758 GB, free: 2.309 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007014/0.694, allocations: 115.8 kB / 0.7581 GB, free: 2.195 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005086/0.6991, allocations: 1.671 MB / 0.7597 GB, free: 0.5195 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001298/0.6993, allocations: 4 kB / 0.7597 GB, free: 0.5156 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01284/0.7121, allocations: 6.179 MB / 0.7657 GB, free: 10.22 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.957e-06/0.7122, allocations: 11.98 kB / 0.7658 GB, free: 10.21 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0136/0.7258, allocations: 4.854 MB / 0.7705 GB, free: 5.324 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004605/0.7263, allocations: 207.5 kB / 0.7707 GB, free: 5.102 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003146/0.7266, allocations: 3.938 kB / 0.7707 GB, free: 5.098 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001305/0.7279, allocations: 131.9 kB / 0.7708 GB, free: 4.969 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006148/0.7286, allocations: 208.4 kB / 0.771 GB, free: 4.766 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.748e-05/0.7287, allocations: 24 kB / 0.771 GB, free: 4.742 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.001005/0.7297, allocations: 0.5372 MB / 0.7716 GB, free: 4.195 MB / 0.4948 GB Notification: Performance of sort global known variables: time 3.71e-07/0.7297, allocations: 0 / 0.7716 GB, free: 4.195 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.002327/0.732, allocations: 0.6084 MB / 0.7722 GB, free: 3.586 MB / 0.4948 GB 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 () * 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 (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.0003467/0.7324, allocations: 137.5 kB / 0.7723 GB, free: 3.441 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.009331/0.7417, allocations: 3.412 MB / 0.7756 GB, free: 12 kB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 5.48e-06/0.7418, allocations: 0 / 0.7756 GB, free: 12 kB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.004188/0.746, allocations: 1.443 MB / 0.777 GB, free: 14.56 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008946/0.7469, allocations: 69.7 kB / 0.7771 GB, free: 14.49 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003615/0.7505, allocations: 1.594 MB / 0.7787 GB, free: 12.87 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007575/0.7513, allocations: 1.13 MB / 0.7798 GB, free: 11.71 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0007549/0.7521, allocations: 164.5 kB / 0.7799 GB, free: 11.54 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001686/0.7523, allocations: 51.42 kB / 0.78 GB, free: 11.49 MB / 0.5105 GB Notification: Performance of SimCode: time 6.42e-07/0.7523, allocations: 3.938 kB / 0.78 GB, free: 11.49 MB / 0.5105 GB Notification: Performance of Templates: time 0.03932/0.7916, allocations: 26.4 MB / 0.8058 GB, free: 1.074 MB / 0.5261 GB make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order4test2_TG.makefile (rm -f OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order4test2_TG.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order4test2_TG.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order4test2_TG.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order4test2_TG.sim & ./OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order4test2_TG -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order4test2_TG.pipe 2>&1)