Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order6test2.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.Order6test2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order6test2") translateModel(OpenIPSL.Tests.Machines.PSAT.Order6test2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_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 4.0.0+maint.om/package.mo): time 0.002051/0.002051, allocations: 179.2 kB / 7.463 MB, free: 2.484 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.045/1.045, allocations: 221.4 MB / 229.3 MB, free: 3.23 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.0008119/0.0008118, allocations: 91.38 kB / 280.1 MB, free: 1.297 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.3548/0.3548, allocations: 78.1 MB / 409 MB, free: 15.57 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 5.34e-06/5.56e-06, allocations: 0 / 484.4 MB, free: 4.531 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2329/0.2329, allocations: 69.34 MB / 0.5407 GB, free: 21.52 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09674/0.3297, allocations: 97.17 MB / 0.6356 GB, free: 7.734 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001786/0.3299, allocations: 75.95 kB / 0.6357 GB, free: 7.66 MB / 458.7 MB Notification: Performance of FrontEnd: time 0.05922/0.3891, allocations: 24.11 MB / 0.6593 GB, free: 15.38 MB / 490.7 MB Notification: Performance of Transformations before backend: time 3.649e-05/0.3892, allocations: 23.94 kB / 0.6593 GB, free: 15.36 MB / 490.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.004139/0.3934, allocations: 1.707 MB / 0.6609 GB, free: 13.59 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.193e-05/0.3934, allocations: 11.97 kB / 0.661 GB, free: 13.58 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003206/0.3966, allocations: 0.5604 MB / 0.6615 GB, free: 13.02 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001231/0.3978, allocations: 0.7148 MB / 0.6622 GB, free: 12.26 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002338/0.3981, allocations: 244.1 kB / 0.6624 GB, free: 11.98 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001143/0.3982, allocations: 40 kB / 0.6625 GB, free: 11.95 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00132/0.3995, allocations: 0.7616 MB / 0.6632 GB, free: 11.18 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001208/0.4008, allocations: 0.7103 MB / 0.6639 GB, free: 10.46 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.685e-05/0.4008, allocations: 3.906 kB / 0.6639 GB, free: 10.46 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.548e-05/0.4009, allocations: 11.94 kB / 0.6639 GB, free: 10.45 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.466e-05/0.4009, allocations: 16 kB / 0.6639 GB, free: 10.43 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00518/0.4061, allocations: 3.244 MB / 0.6671 GB, free: 7.051 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008501/0.4069, allocations: 0.5227 MB / 0.6676 GB, free: 6.523 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007213/0.4077, allocations: 0.5266 MB / 0.6681 GB, free: 5.992 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000101/0.4078, allocations: 16.75 kB / 0.6681 GB, free: 5.977 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.038e-05/0.4078, allocations: 43.34 kB / 0.6682 GB, free: 5.926 MB / 490.7 MB Notification: Performance of pre-optimization done (n=85): time 2.394e-06/0.4078, allocations: 4 kB / 0.6682 GB, free: 5.922 MB / 490.7 MB Notification: Performance of matching and sorting (n=85): time 0.01197/0.4198, allocations: 4.205 MB / 0.6723 GB, free: 1.703 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.374e-05/0.4199, allocations: 64.19 kB / 0.6724 GB, free: 1.625 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009398/0.4208, allocations: 0.6465 MB / 0.673 GB, free: 0.957 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000158/0.421, allocations: 25.7 kB / 0.673 GB, free: 0.9258 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000159/0.4211, allocations: 292.3 kB / 0.6733 GB, free: 0.6328 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002864/0.4214, allocations: 295.5 kB / 0.6736 GB, free: 348 kB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.103e-05/0.4215, allocations: 0 / 0.6736 GB, free: 348 kB / 490.7 MB Notification: Performance of setup shared object (initialization): time 9.243e-05/0.4216, allocations: 334 kB / 0.6739 GB, free: 8 kB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.135/0.5566, allocations: 426.4 kB / 0.6743 GB, free: 143.6 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006249/0.5572, allocations: 0.5074 MB / 0.6748 GB, free: 143.5 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006205/0.5579, allocations: 453.9 kB / 0.6752 GB, free: 143.5 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.388e-06/0.5579, allocations: 3.906 kB / 0.6752 GB, free: 143.5 MB / 490.7 MB Notification: Performance of matching and sorting (n=102) (initialization): time 0.01181/0.5697, allocations: 4.399 MB / 0.6795 GB, free: 143.5 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.828e-05/0.5697, allocations: 5.969 kB / 0.6795 GB, free: 143.5 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.256e-05/0.5698, allocations: 6.109 kB / 0.6795 GB, free: 143.5 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005805/0.5756, allocations: 1.814 MB / 0.6813 GB, free: 143.5 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006515/0.5762, allocations: 129 kB / 0.6814 GB, free: 143.5 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01293/0.5892, allocations: 6.532 MB / 0.6878 GB, free: 142 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001276/0.5905, allocations: 172.2 kB / 0.688 GB, free: 142 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.815e-05/0.5906, allocations: 28.41 kB / 0.688 GB, free: 142 MB / 490.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.0001838/0.5908, allocations: 121.4 kB / 0.6881 GB, free: 141.9 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001552/0.5909, allocations: 106.4 kB / 0.6882 GB, free: 141.8 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01121/0.6022, allocations: 4.3 MB / 0.6924 GB, free: 141.5 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.206e-05/0.6022, allocations: 11.12 kB / 0.6924 GB, free: 141.5 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.6022, allocations: 3.938 kB / 0.6924 GB, free: 141.5 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.771e-05/0.6022, allocations: 3.562 kB / 0.6924 GB, free: 141.5 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01347/0.6157, allocations: 5.607 MB / 0.6979 GB, free: 140.7 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.122e-06/0.6158, allocations: 1.625 kB / 0.6979 GB, free: 140.7 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006472/0.6164, allocations: 110 kB / 0.698 GB, free: 140.7 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00514/0.6216, allocations: 1.733 MB / 0.6997 GB, free: 140.5 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001359/0.6217, allocations: 6.281 kB / 0.6997 GB, free: 140.5 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01136/0.6331, allocations: 5.649 MB / 0.7052 GB, free: 139.1 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.447e-06/0.6331, allocations: 0 / 0.7052 GB, free: 139.1 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01208/0.6452, allocations: 5.048 MB / 0.7102 GB, free: 138.6 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003021/0.6455, allocations: 194.3 kB / 0.7104 GB, free: 138.4 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001716/0.6457, allocations: 2.625 kB / 0.7104 GB, free: 138.4 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001021/0.6467, allocations: 136.1 kB / 0.7105 GB, free: 138.4 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000277/0.647, allocations: 119.7 kB / 0.7106 GB, free: 138.4 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.824e-05/0.6471, allocations: 18.59 kB / 0.7106 GB, free: 138.4 MB / 490.7 MB Notification: Performance of sort global known variables: time 0.0005239/0.6476, allocations: 0.5024 MB / 0.7111 GB, free: 138.1 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0009193/0.6486, allocations: 371.7 kB / 0.7115 GB, free: 138.1 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.0002151/0.6488, allocations: 132.5 kB / 0.7116 GB, free: 138 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.004602/0.6534, allocations: 1.902 MB / 0.7134 GB, free: 137.4 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.554e-06/0.6534, allocations: 2.062 kB / 0.7134 GB, free: 137.4 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003569/0.657, allocations: 1.415 MB / 0.7148 GB, free: 136.9 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004351/0.6574, allocations: 58.42 kB / 0.7149 GB, free: 136.8 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002783/0.6602, allocations: 1.477 MB / 0.7163 GB, free: 136.1 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000562/0.6608, allocations: 1.102 MB / 0.7174 GB, free: 135.4 MB / 490.7 MB Notification: Performance of SimCode: time 7.52e-07/0.6608, allocations: 6.719 kB / 0.7174 GB, free: 135.4 MB / 490.7 MB Notification: Performance of Templates: time 0.02329/0.6841, allocations: 18.32 MB / 0.7353 GB, free: 131.3 MB / 490.7 MB make -j1 -f OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order6test2.makefile (rm -f OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order6test2.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order6test2.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order6test2.pipe >> ../files/OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order6test2.sim & ./OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order6test2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order6test2.pipe 2>&1)