Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.InductiveMotorI_SIMBOpenline_Test.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.InductiveMotorI_SIMBOpenline_Test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.InductiveMotorI_SIMBOpenline_Test") translateModel(OpenIPSL.Tests.Machines.PSAT.InductiveMotorI_SIMBOpenline_Test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.InductiveMotorI_SIMBOpenline_Test") [: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.00104/0.00104, allocations: 189.3 kB / 7.464 MB, free: 1.539 MB / 6.77 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.442/1.442, allocations: 205.2 MB / 213.1 MB, free: 3.914 MB / 178.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008997/0.0008997, allocations: 94.16 kB / 261.1 MB, free: 4.34 MB / 210.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.07713/0.07713, allocations: 12.59 MB / 321.6 MB, free: 7.684 MB / 274.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.2895/0.2895, allocations: 78.05 MB / 450.4 MB, free: 10.01 MB / 306.8 MB Notification: Performance of FrontEnd - loaded program: time 8.326e-06/8.356e-06, allocations: 0 / 0.5141 GB, free: 2.625 MB / 306.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1416/0.1416, allocations: 69.32 MB / 0.5818 GB, free: 13.3 MB / 386.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3229/0.4645, allocations: 92.29 MB / 0.6719 GB, free: 1.621 MB / 434.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002728/0.4649, allocations: 79.89 kB / 0.672 GB, free: 1.543 MB / 434.8 MB Notification: Performance of FrontEnd: time 0.02046/0.4853, allocations: 7.305 MB / 0.6792 GB, free: 10.2 MB / 450.8 MB Notification: Performance of Transformations before backend: time 1.894e-05/0.4854, allocations: 4 kB / 0.6792 GB, free: 10.19 MB / 450.8 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 57 * Number of variables: 57 Notification: Performance of Generate backend data structure: time 0.001809/0.4872, allocations: 0.7857 MB / 0.6799 GB, free: 9.363 MB / 450.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.35e-05/0.4872, allocations: 12.91 kB / 0.6799 GB, free: 9.352 MB / 450.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001095/0.4883, allocations: 191.2 kB / 0.6801 GB, free: 9.164 MB / 450.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000445/0.4888, allocations: 318.9 kB / 0.6804 GB, free: 8.812 MB / 450.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001283/0.4889, allocations: 87.8 kB / 0.6805 GB, free: 8.715 MB / 450.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.072e-05/0.489, allocations: 15.98 kB / 0.6805 GB, free: 8.699 MB / 450.8 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005787/0.4896, allocations: 289 kB / 0.6808 GB, free: 8.418 MB / 450.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005788/0.4902, allocations: 275.1 kB / 0.6811 GB, free: 8.145 MB / 450.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.289e-05/0.4902, allocations: 0 / 0.6811 GB, free: 8.145 MB / 450.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.005e-05/0.4902, allocations: 3.984 kB / 0.6811 GB, free: 8.141 MB / 450.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.307e-05/0.4903, allocations: 8 kB / 0.6811 GB, free: 8.133 MB / 450.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002214/0.4925, allocations: 1.009 MB / 0.6821 GB, free: 7.082 MB / 450.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000389/0.4929, allocations: 185.7 kB / 0.6822 GB, free: 6.895 MB / 450.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003492/0.4932, allocations: 192.9 kB / 0.6824 GB, free: 6.703 MB / 450.8 MB Notification: Performance of preOpt evalFunc (simulation): time 7.426e-05/0.4933, allocations: 7.984 kB / 0.6824 GB, free: 6.695 MB / 450.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.581e-05/0.4934, allocations: 42.47 kB / 0.6825 GB, free: 6.645 MB / 450.8 MB Notification: Performance of pre-optimization done (n=31): time 3.176e-06/0.4934, allocations: 3.938 kB / 0.6825 GB, free: 6.641 MB / 450.8 MB Notification: Performance of matching and sorting (n=31): time 0.003952/0.4974, allocations: 1.203 MB / 0.6836 GB, free: 5.422 MB / 450.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.14e-05/0.4974, allocations: 55.41 kB / 0.6837 GB, free: 5.355 MB / 450.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003051/0.4977, allocations: 263.6 kB / 0.6839 GB, free: 5.094 MB / 450.8 MB Notification: Performance of collectPreVariables (initialization): time 3.503e-05/0.4978, allocations: 25.7 kB / 0.684 GB, free: 5.062 MB / 450.8 MB Notification: Performance of collectInitialEqns (initialization): time 9.543e-05/0.4979, allocations: 144.4 kB / 0.6841 GB, free: 4.918 MB / 450.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001012/0.498, allocations: 106.5 kB / 0.6842 GB, free: 4.812 MB / 450.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.519e-05/0.498, allocations: 0 / 0.6842 GB, free: 4.812 MB / 450.8 MB Notification: Performance of setup shared object (initialization): time 0.0001446/0.4981, allocations: 346.7 kB / 0.6845 GB, free: 4.465 MB / 450.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003071/0.4985, allocations: 156.6 kB / 0.6847 GB, free: 4.309 MB / 450.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002727/0.4987, allocations: 168.7 kB / 0.6849 GB, free: 4.145 MB / 450.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002991/0.499, allocations: 165.4 kB / 0.685 GB, free: 3.984 MB / 450.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.404e-06/0.4991, allocations: 0 / 0.685 GB, free: 3.984 MB / 450.8 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.004144/0.5032, allocations: 1.293 MB / 0.6863 GB, free: 2.676 MB / 450.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.743e-05/0.5032, allocations: 4 kB / 0.6863 GB, free: 2.672 MB / 450.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.564e-06/0.5033, allocations: 0 / 0.6863 GB, free: 2.672 MB / 450.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003023/0.5063, allocations: 0.7597 MB / 0.687 GB, free: 1.902 MB / 450.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002301/0.5065, allocations: 31.98 kB / 0.687 GB, free: 1.871 MB / 450.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004633/0.5112, allocations: 2.465 MB / 0.6895 GB, free: 15.29 MB / 466.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006228/0.5118, allocations: 59.81 kB / 0.6895 GB, free: 15.23 MB / 466.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.576e-05/0.5119, allocations: 4 kB / 0.6895 GB, free: 15.22 MB / 466.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (21): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {5 7} Notification: Performance of prepare postOptimizeDAE: time 0.0001545/0.512, allocations: 112.9 kB / 0.6896 GB, free: 15.11 MB / 466.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.143e-05/0.5121, allocations: 35.53 kB / 0.6897 GB, free: 15.07 MB / 466.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00382/0.5159, allocations: 1.249 MB / 0.6909 GB, free: 13.8 MB / 466.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.01e-06/0.516, allocations: 4 kB / 0.6909 GB, free: 13.8 MB / 466.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.23e-06/0.516, allocations: 0 / 0.6909 GB, free: 13.8 MB / 466.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.719e-06/0.516, allocations: 0 / 0.6909 GB, free: 13.8 MB / 466.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005847/0.5166, allocations: 481.7 kB / 0.6913 GB, free: 13.29 MB / 466.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.314e-06/0.5166, allocations: 0 / 0.6913 GB, free: 13.29 MB / 466.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002199/0.5168, allocations: 35.83 kB / 0.6914 GB, free: 13.26 MB / 466.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002419/0.5192, allocations: 0.6699 MB / 0.692 GB, free: 12.58 MB / 466.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.95e-05/0.5193, allocations: 3.984 kB / 0.692 GB, free: 12.57 MB / 466.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00325/0.5226, allocations: 2.1 MB / 0.6941 GB, free: 10.36 MB / 466.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/0.5226, allocations: 0 / 0.6941 GB, free: 10.36 MB / 466.8 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.004098/0.5267, allocations: 1.567 MB / 0.6956 GB, free: 8.77 MB / 466.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00013/0.5268, allocations: 116.6 kB / 0.6957 GB, free: 8.637 MB / 466.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.503e-05/0.5269, allocations: 0 / 0.6957 GB, free: 8.637 MB / 466.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004714/0.5274, allocations: 47.97 kB / 0.6958 GB, free: 8.59 MB / 466.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000123/0.5275, allocations: 39.92 kB / 0.6958 GB, free: 8.551 MB / 466.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.152e-05/0.5275, allocations: 4 kB / 0.6958 GB, free: 8.547 MB / 466.8 MB Notification: Performance of sort global known variables: time 0.0002444/0.5278, allocations: 215.1 kB / 0.696 GB, free: 8.336 MB / 466.8 MB Notification: Performance of remove unused functions: time 0.0005448/0.5283, allocations: 143.8 kB / 0.6962 GB, free: 8.195 MB / 466.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (motorTypeI.s) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(4,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001864/0.5285, allocations: 111.2 kB / 0.6963 GB, free: 8.078 MB / 466.8 MB Notification: Performance of simCode: created initialization part: time 0.002044/0.5306, allocations: 0.9001 MB / 0.6971 GB, free: 7.125 MB / 466.8 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.5306, allocations: 3.938 kB / 0.6971 GB, free: 7.121 MB / 466.8 MB Notification: Performance of simCode: created simulation system equations: time 0.001571/0.5322, allocations: 0.7048 MB / 0.6978 GB, free: 6.363 MB / 466.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002458/0.5324, allocations: 17.22 kB / 0.6978 GB, free: 6.344 MB / 466.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006456/0.5389, allocations: 0.8849 MB / 0.6987 GB, free: 5.422 MB / 466.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000435/0.5394, allocations: 0.8176 MB / 0.6995 GB, free: 4.574 MB / 466.8 MB Notification: Performance of SimCode: time 4.71e-07/0.5394, allocations: 0 / 0.6995 GB, free: 4.574 MB / 466.8 MB Notification: Performance of Templates: time 0.01164/0.551, allocations: 6.714 MB / 0.7061 GB, free: 13.86 MB / 482.8 MB make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.InductiveMotorI_SIMBOpenline_Test.makefile (rm -f OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.InductiveMotorI_SIMBOpenline_Test.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.InductiveMotorI_SIMBOpenline_Test.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.InductiveMotorI_SIMBOpenline_Test.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.InductiveMotorI_SIMBOpenline_Test.sim & ./OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.InductiveMotorI_SIMBOpenline_Test -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.InductiveMotorI_SIMBOpenline_Test.pipe 2>&1)