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") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.004137/0.004137, allocations: 182.1 kB / 7.455 MB, free: 2.516 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.206/1.206, allocations: 205.2 MB / 213.1 MB, free: 13.91 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.00119/0.001189, allocations: 91.58 kB / 261.1 MB, free: 13.61 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.06306/0.06306, allocations: 12.58 MB / 321.6 MB, free: 0.9727 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.2718/0.2718, allocations: 78.04 MB / 450.4 MB, free: 3.215 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 7.304e-06/7.313e-06, allocations: 4 kB / 0.5141 GB, free: 29.97 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1248/0.1248, allocations: 69.32 MB / 0.5818 GB, free: 8.75 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4287/0.5536, allocations: 100.5 MB / 0.6799 GB, free: 7.723 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002489/0.5539, allocations: 80.77 kB / 0.68 GB, free: 7.68 MB / 426.7 MB Notification: Performance of FrontEnd: time 0.06544/0.6193, allocations: 24.4 MB / 0.7038 GB, free: 3.68 MB / 442.7 MB Notification: Performance of Transformations before backend: time 6.744e-05/0.6195, allocations: 21.31 kB / 0.7039 GB, free: 3.66 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.004879/0.6243, allocations: 1.779 MB / 0.7056 GB, free: 1.953 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.553e-05/0.6244, allocations: 11.97 kB / 0.7056 GB, free: 1.941 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003635/0.628, allocations: 0.579 MB / 0.7062 GB, free: 1.41 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002018/0.6301, allocations: 0.779 MB / 0.7069 GB, free: 0.7305 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000343/0.6304, allocations: 244.1 kB / 0.7072 GB, free: 464 kB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001663/0.6306, allocations: 42.88 kB / 0.7072 GB, free: 424 kB / 442.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001608/0.6322, allocations: 0.8237 MB / 0.708 GB, free: 15.92 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001531/0.6338, allocations: 0.8337 MB / 0.7088 GB, free: 15.34 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.132e-05/0.6338, allocations: 0 / 0.7088 GB, free: 15.34 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.818e-05/0.6339, allocations: 0 / 0.7088 GB, free: 15.34 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.186e-05/0.6339, allocations: 16 kB / 0.7088 GB, free: 15.33 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006689/0.6406, allocations: 3.426 MB / 0.7122 GB, free: 12.67 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001047/0.6417, allocations: 0.5863 MB / 0.7128 GB, free: 12.34 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008489/0.6426, allocations: 0.5367 MB / 0.7133 GB, free: 12.06 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001208/0.6427, allocations: 28.16 kB / 0.7133 GB, free: 12.04 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.335e-05/0.6428, allocations: 43.12 kB / 0.7133 GB, free: 11.99 MB / 458.7 MB Notification: Performance of pre-optimization done (n=90): time 2.936e-06/0.6428, allocations: 0 / 0.7133 GB, free: 11.99 MB / 458.7 MB Notification: Performance of matching and sorting (n=90): time 0.01348/0.6563, allocations: 4.235 MB / 0.7175 GB, free: 8.273 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.113e-05/0.6564, allocations: 89.89 kB / 0.7176 GB, free: 8.168 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001344/0.6577, allocations: 0.7003 MB / 0.7183 GB, free: 7.633 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003064/0.6581, allocations: 29.7 kB / 0.7183 GB, free: 7.598 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002608/0.6583, allocations: 311.7 kB / 0.7186 GB, free: 7.336 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005211/0.6589, allocations: 300.7 kB / 0.7189 GB, free: 7.07 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.56e-05/0.6589, allocations: 0 / 0.7189 GB, free: 7.07 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001664/0.6591, allocations: 340.6 kB / 0.7192 GB, free: 6.746 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009238/0.66, allocations: 431.4 kB / 0.7196 GB, free: 6.527 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009787/0.661, allocations: 0.5318 MB / 0.7201 GB, free: 6.184 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001015/0.6621, allocations: 469.7 kB / 0.7206 GB, free: 5.926 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.271e-06/0.6621, allocations: 4.031 kB / 0.7206 GB, free: 5.922 MB / 458.7 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.01374/0.6758, allocations: 4.384 MB / 0.7249 GB, free: 2.102 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003711/0.6762, allocations: 0.7901 MB / 0.7256 GB, free: 1.27 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.306e-05/0.6763, allocations: 4 kB / 0.7256 GB, free: 1.266 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006185/0.6825, allocations: 1.73 MB / 0.7273 GB, free: 15.76 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008685/0.6833, allocations: 143.6 kB / 0.7275 GB, free: 15.62 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01462/0.698, allocations: 6.374 MB / 0.7337 GB, free: 10.91 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001743/0.6998, allocations: 199.2 kB / 0.7339 GB, free: 10.71 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.925e-05/0.6999, allocations: 26.19 kB / 0.7339 GB, free: 10.69 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.326e-05/0.6999, allocations: 4 kB / 0.7339 GB, free: 10.69 MB / 474.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01363/0.7135, allocations: 4.24 MB / 0.738 GB, free: 6.875 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.537e-05/0.7136, allocations: 4 kB / 0.738 GB, free: 6.871 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0061/0.7197, allocations: 1.734 MB / 0.7397 GB, free: 5.133 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007999/0.7206, allocations: 131.8 kB / 0.7399 GB, free: 5.004 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01471/0.7353, allocations: 6.372 MB / 0.7461 GB, free: 14.5 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001654/0.737, allocations: 183.2 kB / 0.7463 GB, free: 14.32 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001219/0.7371, allocations: 31.98 kB / 0.7463 GB, free: 14.29 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.0003629/0.7375, allocations: 115.1 kB / 0.7464 GB, free: 14.17 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002887/0.7378, allocations: 118.5 kB / 0.7465 GB, free: 14.05 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01348/0.7513, allocations: 4.332 MB / 0.7507 GB, free: 9.711 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.226e-05/0.7514, allocations: 8 kB / 0.7508 GB, free: 9.703 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.098e-06/0.7514, allocations: 0 / 0.7508 GB, free: 9.703 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.093e-05/0.7514, allocations: 11.98 kB / 0.7508 GB, free: 9.691 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01603/0.7674, allocations: 5.699 MB / 0.7563 GB, free: 3.906 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.066e-05/0.7675, allocations: 4 kB / 0.7563 GB, free: 3.902 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007987/0.7683, allocations: 119.8 kB / 0.7564 GB, free: 3.785 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00585/0.7742, allocations: 1.73 MB / 0.7581 GB, free: 2.047 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002069/0.7744, allocations: 8 kB / 0.7581 GB, free: 2.039 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0129/0.7873, allocations: 5.652 MB / 0.7637 GB, free: 12.27 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.943e-06/0.7874, allocations: 0 / 0.7637 GB, free: 12.27 MB / 0.4948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0149/0.8023, allocations: 5.103 MB / 0.7686 GB, free: 7.137 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005354/0.8028, allocations: 203.4 kB / 0.7688 GB, free: 6.918 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002109/0.8031, allocations: 7.984 kB / 0.7688 GB, free: 6.91 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001244/0.8043, allocations: 147.9 kB / 0.769 GB, free: 6.766 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003401/0.8047, allocations: 120.6 kB / 0.7691 GB, free: 6.648 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.89e-05/0.8048, allocations: 20 kB / 0.7691 GB, free: 6.629 MB / 0.4948 GB Notification: Performance of sort global known variables: time 0.0009144/0.8057, allocations: 0.5333 MB / 0.7696 GB, free: 6.086 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.002113/0.8078, allocations: 0.6083 MB / 0.7702 GB, free: 5.473 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.0003287/0.8081, allocations: 131.1 kB / 0.7704 GB, free: 5.336 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.009884/0.818, allocations: 3.429 MB / 0.7737 GB, free: 1.883 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 4.919e-06/0.8181, allocations: 0 / 0.7737 GB, free: 1.883 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.004303/0.8224, allocations: 1.44 MB / 0.7751 GB, free: 440 kB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008483/0.8233, allocations: 72.69 kB / 0.7752 GB, free: 364 kB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005057/0.8283, allocations: 1.683 MB / 0.7768 GB, free: 14.64 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009419/0.8293, allocations: 1.146 MB / 0.778 GB, free: 13.46 MB / 0.5105 GB Notification: Performance of SimCode: time 4.899e-06/0.8293, allocations: 0 / 0.778 GB, free: 13.46 MB / 0.5105 GB Notification: Performance of Templates: time 0.04884/0.8782, allocations: 28.78 MB / 0.8061 GB, free: 0.6797 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)