Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order6test2.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.Order6test2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order6test2") translateModel(OpenIPSL.Tests.Machines.PSAT.Order6test2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order6test2") [: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.003084/0.003084, allocations: 181.4 kB / 7.454 MB, free: 2.18 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.38/1.38, allocations: 205.2 MB / 213.1 MB, free: 13.84 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.0009491/0.000949, allocations: 96.59 kB / 261.1 MB, free: 13.53 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.07523/0.07523, allocations: 12.59 MB / 321.6 MB, free: 0.9023 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.2835/0.2835, allocations: 78.06 MB / 450.4 MB, free: 3.199 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 6.262e-06/6.291e-06, allocations: 0 / 0.5141 GB, free: 29.95 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1201/0.1201, allocations: 69.32 MB / 0.5818 GB, free: 8.742 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3076/0.4278, allocations: 98.71 MB / 0.6782 GB, free: 9.02 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002004/0.428, allocations: 82.31 kB / 0.6783 GB, free: 9.004 MB / 426.7 MB Notification: Performance of FrontEnd: time 0.0594/0.4874, allocations: 23.34 MB / 0.7011 GB, free: 6.098 MB / 442.7 MB Notification: Performance of Transformations before backend: time 8.107e-05/0.4875, allocations: 16 kB / 0.7011 GB, free: 6.082 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: 170 * Number of variables: 170 Notification: Performance of Generate backend data structure: time 0.005284/0.4928, allocations: 1.718 MB / 0.7028 GB, free: 4.434 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.644e-05/0.4929, allocations: 12.91 kB / 0.7028 GB, free: 4.422 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003701/0.4966, allocations: 0.5705 MB / 0.7034 GB, free: 3.898 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002007/0.4986, allocations: 0.7031 MB / 0.704 GB, free: 3.297 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003225/0.499, allocations: 239.8 kB / 0.7043 GB, free: 3.031 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002646/0.4993, allocations: 43.91 kB / 0.7043 GB, free: 2.988 MB / 442.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001727/0.501, allocations: 0.7653 MB / 0.7051 GB, free: 2.527 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001502/0.5025, allocations: 0.7091 MB / 0.7058 GB, free: 2.047 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.07e-05/0.5025, allocations: 4 kB / 0.7058 GB, free: 2.043 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.373e-05/0.5026, allocations: 0 / 0.7058 GB, free: 2.043 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.806e-05/0.5027, allocations: 19.94 kB / 0.7058 GB, free: 2.023 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006762/0.5094, allocations: 3.251 MB / 0.7089 GB, free: 15.48 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001004/0.5105, allocations: 0.5248 MB / 0.7095 GB, free: 15.2 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007777/0.5113, allocations: 0.5271 MB / 0.71 GB, free: 14.92 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001165/0.5114, allocations: 11.84 kB / 0.71 GB, free: 14.91 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.551e-05/0.5114, allocations: 41.22 kB / 0.71 GB, free: 14.87 MB / 458.7 MB Notification: Performance of pre-optimization done (n=85): time 4.769e-06/0.5115, allocations: 0 / 0.71 GB, free: 14.87 MB / 458.7 MB Notification: Performance of matching and sorting (n=85): time 0.0129/0.5244, allocations: 4.218 MB / 0.7141 GB, free: 11.16 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.816e-05/0.5245, allocations: 60.19 kB / 0.7142 GB, free: 11.09 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001236/0.5257, allocations: 0.6546 MB / 0.7148 GB, free: 10.59 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002324/0.5259, allocations: 25.7 kB / 0.7149 GB, free: 10.56 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00023/0.5262, allocations: 291.5 kB / 0.7151 GB, free: 10.32 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005176/0.5267, allocations: 289.8 kB / 0.7154 GB, free: 10.06 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.432e-05/0.5268, allocations: 0 / 0.7154 GB, free: 10.06 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001824/0.527, allocations: 339.5 kB / 0.7157 GB, free: 9.738 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008357/0.5279, allocations: 420.2 kB / 0.7161 GB, free: 9.527 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008719/0.5287, allocations: 0.509 MB / 0.7166 GB, free: 9.195 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008174/0.5296, allocations: 453.5 kB / 0.7171 GB, free: 8.953 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.179e-06/0.5296, allocations: 0 / 0.7171 GB, free: 8.953 MB / 458.7 MB Notification: Performance of matching and sorting (n=102) (initialization): time 0.01375/0.5433, allocations: 4.41 MB / 0.7214 GB, free: 5.105 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.119e-05/0.5434, allocations: 8 kB / 0.7214 GB, free: 5.098 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.439e-05/0.5434, allocations: 0 / 0.7214 GB, free: 5.098 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006694/0.5501, allocations: 1.809 MB / 0.7232 GB, free: 3.516 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007736/0.5509, allocations: 127.7 kB / 0.7233 GB, free: 3.395 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01611/0.5671, allocations: 6.547 MB / 0.7297 GB, free: 14.61 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001611/0.5687, allocations: 175.3 kB / 0.7298 GB, free: 14.44 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002291/0.569, allocations: 27.11 kB / 0.7299 GB, free: 14.41 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (65): * Single equations (assignments): 64 * 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 14} Notification: Performance of prepare postOptimizeDAE: time 0.0003063/0.5693, allocations: 116.2 kB / 0.73 GB, free: 14.3 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004488/0.5697, allocations: 106.7 kB / 0.7301 GB, free: 14.19 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01309/0.5828, allocations: 4.3 MB / 0.7343 GB, free: 10.46 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.99e-05/0.5829, allocations: 12 kB / 0.7343 GB, free: 10.45 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.667e-06/0.5829, allocations: 0 / 0.7343 GB, free: 10.45 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.029e-05/0.5829, allocations: 7.891 kB / 0.7343 GB, free: 10.45 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01558/0.5985, allocations: 5.611 MB / 0.7398 GB, free: 5.031 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.153e-05/0.5986, allocations: 3.906 kB / 0.7398 GB, free: 5.027 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00078/0.5994, allocations: 103.9 kB / 0.7399 GB, free: 4.926 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005716/0.6051, allocations: 1.726 MB / 0.7416 GB, free: 3.195 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001783/0.6053, allocations: 8 kB / 0.7416 GB, free: 3.188 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01328/0.6186, allocations: 5.663 MB / 0.7471 GB, free: 13.41 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.121e-06/0.6186, allocations: 0 / 0.7471 GB, free: 13.41 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01444/0.6331, allocations: 5.041 MB / 0.752 GB, free: 8.348 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005777/0.6337, allocations: 199.6 kB / 0.7522 GB, free: 8.133 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005361/0.6343, allocations: 3.938 kB / 0.7522 GB, free: 8.129 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00141/0.6357, allocations: 132 kB / 0.7523 GB, free: 8 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003952/0.6361, allocations: 124.5 kB / 0.7525 GB, free: 7.879 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001155/0.6362, allocations: 20 kB / 0.7525 GB, free: 7.859 MB / 490.7 MB Notification: Performance of sort global known variables: time 0.0007912/0.637, allocations: 0.5036 MB / 0.753 GB, free: 7.344 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001367/0.6384, allocations: 367.5 kB / 0.7533 GB, free: 6.984 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (order6Type2_1.delta,order6Type2_1.w,order6Type2_1.e1q,order6Type2_1.e1d,order6Type2_1.e2q,order6Type2_1.e2d) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (52): * Single equations (assignments): 51 * 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.0002826/0.6387, allocations: 139 kB / 0.7535 GB, free: 6.84 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.005467/0.6442, allocations: 1.903 MB / 0.7553 GB, free: 4.922 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.6442, allocations: 4 kB / 0.7553 GB, free: 4.918 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004372/0.6486, allocations: 1.421 MB / 0.7567 GB, free: 3.488 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006685/0.6493, allocations: 51.39 kB / 0.7568 GB, free: 3.438 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003833/0.6531, allocations: 1.472 MB / 0.7582 GB, free: 1.93 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009142/0.654, allocations: 1.098 MB / 0.7593 GB, free: 0.8008 MB / 490.7 MB Notification: Performance of SimCode: time 7.21e-07/0.6541, allocations: 4 kB / 0.7593 GB, free: 0.7969 MB / 490.7 MB Notification: Performance of Templates: time 0.03037/0.6844, allocations: 18.32 MB / 0.7772 GB, free: 14.48 MB / 0.5105 GB make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order6test2.makefile (rm -f OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order6test2.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order6test2.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order6test2.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order6test2.sim & ./OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order6test2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order6test2.pipe 2>&1)