Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order4test2_TG.conf.json 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/Modelica 4.0.0+maint.om/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/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 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_dev_OpenIPSL.Tests.Machines.PSAT.Order4test2_TG") translateModel(OpenIPSL.Tests.Machines.PSAT.Order4test2_TG,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order4test2_TG") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001345/0.001345, allocations: 180.9 kB / 7.651 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.513/1.513, allocations: 221.5 MB / 229.6 MB, free: 7.57 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009876/0.0009877, allocations: 87.11 kB / 280.5 MB, free: 5.328 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.6421/0.6421, allocations: 78.94 MB / 410.2 MB, free: 5.984 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 2.946e-05/2.936e-05, allocations: 4 kB / 485.9 MB, free: 11.53 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2003/0.2004, allocations: 69.51 MB / 0.5424 GB, free: 5.918 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5679/0.7683, allocations: 99.63 MB / 0.6397 GB, free: 14.49 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002769/0.7686, allocations: 83.95 kB / 0.6398 GB, free: 14.41 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1112/0.8798, allocations: 26.1 MB / 0.6653 GB, free: 4.371 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.524e-06/0.8799, allocations: 0 / 0.6653 GB, free: 4.371 MB / 474.7 MB Notification: Performance of Transformations before backend: time 9.32e-05/0.88, allocations: 20 kB / 0.6653 GB, free: 4.352 MB / 474.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.007576/0.8876, allocations: 1.71 MB / 0.667 GB, free: 2.594 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.872e-05/0.8877, allocations: 12.02 kB / 0.667 GB, free: 2.582 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006192/0.8939, allocations: 0.5551 MB / 0.6675 GB, free: 2.027 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002683/0.8966, allocations: 0.764 MB / 0.6683 GB, free: 1.211 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004437/0.8971, allocations: 236.2 kB / 0.6685 GB, free: 0.9414 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002294/0.8973, allocations: 47.89 kB / 0.6686 GB, free: 0.8945 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002452/0.8998, allocations: 0.8205 MB / 0.6694 GB, free: 76 kB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002391/0.9022, allocations: 0.8413 MB / 0.6702 GB, free: 15.22 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.382e-05/0.9022, allocations: 0 / 0.6702 GB, free: 15.22 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001321/0.9024, allocations: 4 kB / 0.6702 GB, free: 15.22 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.392e-05/0.9024, allocations: 19.94 kB / 0.6702 GB, free: 15.2 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01066/0.9131, allocations: 3.405 MB / 0.6735 GB, free: 11.66 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002465/0.9156, allocations: 1.203 MB / 0.6747 GB, free: 10.33 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001427/0.917, allocations: 0.5439 MB / 0.6752 GB, free: 9.785 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001701/0.9172, allocations: 16.77 kB / 0.6753 GB, free: 9.766 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.405e-05/0.9173, allocations: 47.28 kB / 0.6753 GB, free: 9.711 MB / 490.7 MB Notification: Performance of pre-optimization done (n=90): time 4.167e-06/0.9173, allocations: 0 / 0.6753 GB, free: 9.711 MB / 490.7 MB Notification: Performance of matching and sorting (n=90): time 0.02075/0.9381, allocations: 3.974 MB / 0.6792 GB, free: 5.727 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.487e-05/0.9382, allocations: 85.89 kB / 0.6793 GB, free: 5.621 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001721/0.9399, allocations: 0.6982 MB / 0.6799 GB, free: 4.906 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002509/0.9402, allocations: 29.7 kB / 0.68 GB, free: 4.871 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000616/0.9408, allocations: 496.5 kB / 0.6804 GB, free: 4.379 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005183/0.9413, allocations: 307.3 kB / 0.6807 GB, free: 4.074 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001037/0.9415, allocations: 0 / 0.6807 GB, free: 4.074 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001762/0.9417, allocations: 341.9 kB / 0.6811 GB, free: 3.734 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001193/0.9429, allocations: 422.6 kB / 0.6815 GB, free: 3.324 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001274/0.9441, allocations: 0.5208 MB / 0.682 GB, free: 2.773 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001198/0.9454, allocations: 462 kB / 0.6824 GB, free: 2.324 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.005e-06/0.9454, allocations: 32 / 0.6824 GB, free: 2.324 MB / 490.7 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.02061/0.966, allocations: 4.121 MB / 0.6864 GB, free: 14.19 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004205/0.9665, allocations: 0.7957 MB / 0.6872 GB, free: 13.34 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.41e-05/0.9665, allocations: 1.094 kB / 0.6872 GB, free: 13.34 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009224/0.9757, allocations: 1.677 MB / 0.6889 GB, free: 11.66 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001205/0.977, allocations: 139.8 kB / 0.689 GB, free: 11.52 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02411/1.001, allocations: 7.047 MB / 0.6959 GB, free: 4.348 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002343/1.003, allocations: 187.1 kB / 0.696 GB, free: 4.164 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001624/1.004, allocations: 28 kB / 0.6961 GB, free: 4.137 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.463e-05/1.004, allocations: 4 kB / 0.6961 GB, free: 4.133 MB / 0.4948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0205/1.024, allocations: 3.968 MB / 0.7 GB, free: 160 kB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.728e-05/1.024, allocations: 4 kB / 0.7 GB, free: 156 kB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009022/1.033, allocations: 1.675 MB / 0.7016 GB, free: 14.47 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00119/1.035, allocations: 127.8 kB / 0.7017 GB, free: 14.35 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02355/1.058, allocations: 7.058 MB / 0.7086 GB, free: 7.164 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002431/1.061, allocations: 174.2 kB / 0.7088 GB, free: 6.996 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002025/1.061, allocations: 28 kB / 0.7088 GB, free: 6.969 MB / 0.5105 GB 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.0004368/1.061, allocations: 121.3 kB / 0.7089 GB, free: 6.844 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003592/1.062, allocations: 110.6 kB / 0.709 GB, free: 6.734 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01925/1.081, allocations: 4.091 MB / 0.713 GB, free: 2.629 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.566e-05/1.081, allocations: 16 kB / 0.713 GB, free: 2.613 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.499e-06/1.081, allocations: 0 / 0.713 GB, free: 2.613 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.602e-05/1.081, allocations: 7.938 kB / 0.713 GB, free: 2.605 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02248/1.104, allocations: 5.611 MB / 0.7185 GB, free: 12.86 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.339e-05/1.104, allocations: 0 / 0.7185 GB, free: 12.86 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001036/1.105, allocations: 115.8 kB / 0.7186 GB, free: 12.75 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008303/1.113, allocations: 1.664 MB / 0.7203 GB, free: 11.08 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002585/1.113, allocations: 8 kB / 0.7203 GB, free: 11.07 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02048/1.134, allocations: 6.187 MB / 0.7263 GB, free: 4.773 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.467e-06/1.134, allocations: 6.328 kB / 0.7263 GB, free: 4.77 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0214/1.155, allocations: 4.823 MB / 0.731 GB, free: 15.92 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005529/1.156, allocations: 207.5 kB / 0.7312 GB, free: 15.7 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002503/1.156, allocations: 0 / 0.7312 GB, free: 15.7 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001619/1.158, allocations: 131.9 kB / 0.7313 GB, free: 15.57 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000697/1.158, allocations: 205.5 kB / 0.7315 GB, free: 15.36 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.555e-05/1.159, allocations: 28 kB / 0.7316 GB, free: 15.34 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0008861/1.159, allocations: 0.5372 MB / 0.7321 GB, free: 14.79 MB / 0.5417 GB Notification: Performance of sort global known variables: time 2.4e-07/1.159, allocations: 4 kB / 0.7321 GB, free: 14.79 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.002738/1.162, allocations: 0.6083 MB / 0.7327 GB, free: 14.18 MB / 0.5417 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.0004233/1.163, allocations: 135 kB / 0.7328 GB, free: 14.04 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.01002/1.173, allocations: 3.415 MB / 0.7362 GB, free: 10.61 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 5.43e-06/1.173, allocations: 4.188 kB / 0.7362 GB, free: 10.61 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.004231/1.177, allocations: 1.431 MB / 0.7376 GB, free: 9.164 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009937/1.178, allocations: 69.56 kB / 0.7376 GB, free: 9.094 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004064/1.182, allocations: 1.602 MB / 0.7392 GB, free: 7.469 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008563/1.183, allocations: 1.126 MB / 0.7403 GB, free: 6.316 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0008028/1.184, allocations: 160.6 kB / 0.7404 GB, free: 6.156 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001771/1.184, allocations: 43.44 kB / 0.7405 GB, free: 6.113 MB / 0.5417 GB Notification: Performance of SimCode: time 1.153e-06/1.184, allocations: 0 / 0.7405 GB, free: 6.113 MB / 0.5417 GB Notification: Performance of Templates: time 0.3163/1.5, allocations: 26.39 MB / 0.7662 GB, free: 148 MB / 0.5573 GB make -j1 -f OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order4test2_TG.makefile (rm -f OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order4test2_TG.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order4test2_TG.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order4test2_TG.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order4test2_TG.sim & ./OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order4test2_TG -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order4test2_TG.pipe 2>&1)