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/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.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 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_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/Complex 4.0.0+maint.om/package.mo): time 0.001508/0.001508, allocations: 169.3 kB / 7.64 MB, free: 1.414 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.604/1.604, allocations: 221.5 MB / 229.6 MB, free: 7.512 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.0008491/0.000849, allocations: 96.09 kB / 280.5 MB, free: 5.262 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4406/0.4406, allocations: 78.06 MB / 409.3 MB, free: 6.297 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.368e-05/1.369e-05, allocations: 0 / 484.9 MB, free: 12.26 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1188/0.1189, allocations: 69.36 MB / 0.5413 GB, free: 6.836 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3571/0.476, allocations: 98.95 MB / 0.6379 GB, free: 0.625 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002019/0.4762, allocations: 80.59 kB / 0.638 GB, free: 0.5469 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06746/0.5437, allocations: 25.41 MB / 0.6628 GB, free: 7.203 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.233e-06/0.5437, allocations: 7.938 kB / 0.6628 GB, free: 7.195 MB / 474.7 MB Notification: Performance of Transformations before backend: time 7.134e-05/0.5438, allocations: 23.94 kB / 0.6628 GB, free: 7.172 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.004659/0.5485, allocations: 1.707 MB / 0.6645 GB, free: 5.418 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.042e-05/0.5485, allocations: 8.031 kB / 0.6645 GB, free: 5.41 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003351/0.5519, allocations: 0.5526 MB / 0.665 GB, free: 4.855 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001843/0.5538, allocations: 0.7709 MB / 0.6658 GB, free: 4.031 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003079/0.5541, allocations: 236.2 kB / 0.666 GB, free: 3.762 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001962/0.5543, allocations: 51.91 kB / 0.6661 GB, free: 3.711 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001627/0.5559, allocations: 0.8205 MB / 0.6669 GB, free: 2.891 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001682/0.5576, allocations: 0.8407 MB / 0.6677 GB, free: 2.039 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.883e-05/0.5577, allocations: 4 kB / 0.6677 GB, free: 2.035 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.52e-05/0.5577, allocations: 0 / 0.6677 GB, free: 2.035 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.957e-05/0.5578, allocations: 16 kB / 0.6677 GB, free: 2.02 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006694/0.5645, allocations: 3.376 MB / 0.671 GB, free: 14.5 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001443/0.5659, allocations: 1.206 MB / 0.6722 GB, free: 13.18 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008475/0.5668, allocations: 0.5433 MB / 0.6727 GB, free: 12.63 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000122/0.567, allocations: 16.77 kB / 0.6727 GB, free: 12.61 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.083e-05/0.567, allocations: 43.34 kB / 0.6728 GB, free: 12.56 MB / 490.7 MB Notification: Performance of pre-optimization done (n=90): time 2.996e-06/0.567, allocations: 0 / 0.6728 GB, free: 12.56 MB / 490.7 MB Notification: Performance of matching and sorting (n=90): time 0.0123/0.5793, allocations: 3.976 MB / 0.6767 GB, free: 8.574 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.531e-05/0.5794, allocations: 89.88 kB / 0.6767 GB, free: 8.465 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001234/0.5806, allocations: 0.7013 MB / 0.6774 GB, free: 7.746 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001871/0.5808, allocations: 29.64 kB / 0.6775 GB, free: 7.711 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004014/0.5813, allocations: 493.2 kB / 0.6779 GB, free: 7.223 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004169/0.5817, allocations: 303.4 kB / 0.6782 GB, free: 6.922 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.25e-05/0.5818, allocations: 0 / 0.6782 GB, free: 6.922 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001197/0.5819, allocations: 341.9 kB / 0.6785 GB, free: 6.582 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007064/0.5826, allocations: 426.6 kB / 0.6789 GB, free: 6.168 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008225/0.5834, allocations: 0.5167 MB / 0.6795 GB, free: 5.621 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007985/0.5842, allocations: 466.6 kB / 0.6799 GB, free: 5.168 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.929e-06/0.5843, allocations: 0 / 0.6799 GB, free: 5.168 MB / 490.7 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.01257/0.5968, allocations: 4.121 MB / 0.6839 GB, free: 1.031 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003058/0.5972, allocations: 0.7957 MB / 0.6847 GB, free: 184 kB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.167e-05/0.5972, allocations: 0 / 0.6847 GB, free: 184 kB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005417/0.6026, allocations: 1.67 MB / 0.6863 GB, free: 14.51 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006485/0.6033, allocations: 135.8 kB / 0.6865 GB, free: 14.38 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01403/0.6173, allocations: 7.056 MB / 0.6933 GB, free: 7.191 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001439/0.6188, allocations: 183.1 kB / 0.6935 GB, free: 7.012 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000156/0.619, allocations: 28 kB / 0.6935 GB, free: 6.984 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.209e-05/0.619, allocations: 4 kB / 0.6936 GB, free: 6.98 MB / 0.4948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01241/0.6314, allocations: 3.972 MB / 0.6974 GB, free: 3 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.254e-05/0.6315, allocations: 0 / 0.6974 GB, free: 3 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005709/0.6372, allocations: 1.679 MB / 0.6991 GB, free: 1.32 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006891/0.6379, allocations: 131.9 kB / 0.6992 GB, free: 1.191 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0143/0.6522, allocations: 7.054 MB / 0.7061 GB, free: 10.01 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001448/0.6537, allocations: 171.3 kB / 0.7062 GB, free: 9.844 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001328/0.6539, allocations: 28 kB / 0.7063 GB, free: 9.816 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.0003334/0.6542, allocations: 123.2 kB / 0.7064 GB, free: 9.691 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002868/0.6545, allocations: 118.5 kB / 0.7065 GB, free: 9.574 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01228/0.6668, allocations: 4.088 MB / 0.7105 GB, free: 5.473 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.214e-05/0.6668, allocations: 8 kB / 0.7105 GB, free: 5.465 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.206e-06/0.6669, allocations: 0 / 0.7105 GB, free: 5.465 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.369e-05/0.6669, allocations: 11.94 kB / 0.7105 GB, free: 5.453 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01447/0.6814, allocations: 5.622 MB / 0.716 GB, free: 15.7 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-05/0.6814, allocations: 0 / 0.716 GB, free: 15.7 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007551/0.6822, allocations: 114 kB / 0.7161 GB, free: 15.59 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005573/0.6878, allocations: 1.665 MB / 0.7177 GB, free: 13.93 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002383/0.6881, allocations: 14.8 kB / 0.7178 GB, free: 13.91 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01306/0.7011, allocations: 6.171 MB / 0.7238 GB, free: 7.625 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.434e-06/0.7012, allocations: 3.953 kB / 0.7238 GB, free: 7.621 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01396/0.7152, allocations: 4.854 MB / 0.7285 GB, free: 2.742 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005217/0.7157, allocations: 203.5 kB / 0.7287 GB, free: 2.523 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004122/0.7162, allocations: 3.984 kB / 0.7287 GB, free: 2.52 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001368/0.7176, allocations: 135.9 kB / 0.7289 GB, free: 2.387 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006559/0.7182, allocations: 204.4 kB / 0.729 GB, free: 2.184 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000101/0.7183, allocations: 20 kB / 0.7291 GB, free: 2.164 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0008557/0.7192, allocations: 0.5372 MB / 0.7296 GB, free: 1.617 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.81e-07/0.7192, allocations: 0 / 0.7296 GB, free: 1.617 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.002401/0.7216, allocations: 0.6083 MB / 0.7302 GB, free: 1.008 MB / 0.5261 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.000364/0.722, allocations: 138.8 kB / 0.7303 GB, free: 0.8633 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.01034/0.7324, allocations: 3.412 MB / 0.7337 GB, free: 13.43 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 9.548e-06/0.7325, allocations: 4 kB / 0.7337 GB, free: 13.43 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.004707/0.7372, allocations: 1.437 MB / 0.7351 GB, free: 11.98 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001172/0.7384, allocations: 78.14 kB / 0.7351 GB, free: 11.91 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004011/0.7424, allocations: 1.593 MB / 0.7367 GB, free: 10.29 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000839/0.7433, allocations: 1.13 MB / 0.7378 GB, free: 9.133 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0008427/0.7442, allocations: 160.5 kB / 0.7379 GB, free: 8.973 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001776/0.7444, allocations: 43.44 kB / 0.738 GB, free: 8.93 MB / 0.5417 GB Notification: Performance of SimCode: time 7.42e-07/0.7444, allocations: 1.219 kB / 0.738 GB, free: 8.93 MB / 0.5417 GB Notification: Performance of Templates: time 0.2907/1.035, allocations: 26.39 MB / 0.7638 GB, free: 148.5 MB / 0.5573 GB make -j1 -f OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2_TG.makefile (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)