Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.InductiveMotorIII_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.InductiveMotorIII_SIMBOpenline_Test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.InductiveMotorIII_SIMBOpenline_Test") translateModel(OpenIPSL.Tests.Machines.PSAT.InductiveMotorIII_SIMBOpenline_Test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.InductiveMotorIII_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.005678/0.005678, allocations: 179.4 kB / 7.455 MB, free: 2.508 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.54/1.54, 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.001058/0.001058, allocations: 95.16 kB / 261.1 MB, free: 13.54 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.07637/0.07637, allocations: 12.59 MB / 321.6 MB, free: 0.918 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.332/0.332, allocations: 78.05 MB / 450.4 MB, free: 3.23 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 6.512e-06/6.532e-06, allocations: 0 / 0.5141 GB, free: 30 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1182/0.1183, allocations: 69.31 MB / 0.5818 GB, free: 8.785 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3389/0.4572, allocations: 92.84 MB / 0.6725 GB, free: 10.33 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002209/0.4574, allocations: 82.36 kB / 0.6726 GB, free: 10.33 MB / 426.7 MB Notification: Performance of FrontEnd: time 0.02421/0.4817, allocations: 8.389 MB / 0.6807 GB, free: 7.297 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.845e-05/0.4817, allocations: 8 kB / 0.6808 GB, free: 7.289 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 65 * Number of variables: 65 Notification: Performance of Generate backend data structure: time 0.001891/0.4836, allocations: 0.83 MB / 0.6816 GB, free: 6.453 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.517e-05/0.4836, allocations: 11.97 kB / 0.6816 GB, free: 6.441 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0011/0.4847, allocations: 200.4 kB / 0.6818 GB, free: 6.262 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005402/0.4853, allocations: 373.5 kB / 0.6821 GB, free: 5.926 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001054/0.4854, allocations: 80.05 kB / 0.6822 GB, free: 5.836 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.518e-05/0.4855, allocations: 19.06 kB / 0.6822 GB, free: 5.82 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005346/0.486, allocations: 324.6 kB / 0.6825 GB, free: 5.621 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004775/0.4865, allocations: 303.1 kB / 0.6828 GB, free: 5.414 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.248e-05/0.4865, allocations: 0 / 0.6828 GB, free: 5.414 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.784e-05/0.4866, allocations: 0 / 0.6828 GB, free: 5.414 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.866e-06/0.4866, allocations: 4 kB / 0.6828 GB, free: 5.41 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001939/0.4885, allocations: 1.085 MB / 0.6839 GB, free: 4.559 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004459/0.489, allocations: 324.1 kB / 0.6842 GB, free: 4.359 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002787/0.4893, allocations: 207.4 kB / 0.6844 GB, free: 4.246 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.269e-05/0.4894, allocations: 11.66 kB / 0.6844 GB, free: 4.238 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.823e-05/0.4894, allocations: 37.88 kB / 0.6844 GB, free: 4.195 MB / 426.7 MB Notification: Performance of pre-optimization done (n=35): time 2.424e-06/0.4894, allocations: 0 / 0.6844 GB, free: 4.195 MB / 426.7 MB Notification: Performance of matching and sorting (n=35): time 0.003301/0.4927, allocations: 1.197 MB / 0.6856 GB, free: 3.176 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.096e-05/0.4927, allocations: 59.41 kB / 0.6857 GB, free: 3.105 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003388/0.4931, allocations: 329 kB / 0.686 GB, free: 2.859 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.309e-05/0.4931, allocations: 25.7 kB / 0.686 GB, free: 2.828 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.205e-05/0.4932, allocations: 152 kB / 0.6861 GB, free: 2.691 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.459e-05/0.4933, allocations: 126.7 kB / 0.6863 GB, free: 2.582 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.72e-05/0.4933, allocations: 0 / 0.6863 GB, free: 2.582 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 6.124e-05/0.4934, allocations: 347.5 kB / 0.6866 GB, free: 2.25 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002359/0.4936, allocations: 167.3 kB / 0.6868 GB, free: 2.16 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000229/0.4939, allocations: 164.1 kB / 0.6869 GB, free: 2.078 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002668/0.4941, allocations: 183.5 kB / 0.6871 GB, free: 1.98 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.4941, allocations: 0 / 0.6871 GB, free: 1.98 MB / 426.7 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.003579/0.4977, allocations: 1.323 MB / 0.6884 GB, free: 0.8555 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.454e-05/0.4978, allocations: 4 kB / 0.6884 GB, free: 0.8516 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.284e-06/0.4978, allocations: 4 kB / 0.6884 GB, free: 0.8477 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002665/0.5004, allocations: 0.7537 MB / 0.6891 GB, free: 184 kB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000239/0.5007, allocations: 39.91 kB / 0.6892 GB, free: 144 kB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004599/0.5053, allocations: 2.489 MB / 0.6916 GB, free: 13.97 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005728/0.5059, allocations: 59.72 kB / 0.6917 GB, free: 13.91 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.139e-05/0.506, allocations: 7.25 kB / 0.6917 GB, free: 13.91 MB / 442.7 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 (26): * Single equations (assignments): 23 * 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 {7 6} Notification: Performance of prepare postOptimizeDAE: time 0.0001294/0.5061, allocations: 112.9 kB / 0.6918 GB, free: 13.79 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001062/0.5062, allocations: 43.44 kB / 0.6918 GB, free: 13.75 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003604/0.5098, allocations: 1.243 MB / 0.693 GB, free: 12.71 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.871e-06/0.5098, allocations: 4 kB / 0.693 GB, free: 12.7 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.965e-06/0.5098, allocations: 3.938 kB / 0.693 GB, free: 12.7 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.344e-06/0.5099, allocations: 3.984 kB / 0.693 GB, free: 12.7 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006405/0.5105, allocations: 491 kB / 0.6935 GB, free: 12.3 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/0.5105, allocations: 3.938 kB / 0.6935 GB, free: 12.29 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002833/0.5108, allocations: 43.91 kB / 0.6935 GB, free: 12.25 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002148/0.513, allocations: 0.6185 MB / 0.6941 GB, free: 11.71 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.121e-05/0.513, allocations: 7.938 kB / 0.6942 GB, free: 11.7 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003049/0.5161, allocations: 2.012 MB / 0.6961 GB, free: 9.863 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.969e-06/0.5161, allocations: 3.906 kB / 0.6961 GB, free: 9.859 MB / 442.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003998/0.5201, allocations: 1.566 MB / 0.6977 GB, free: 8.605 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002005/0.5203, allocations: 124.4 kB / 0.6978 GB, free: 8.469 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001094/0.5204, allocations: 0 / 0.6978 GB, free: 8.469 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005636/0.521, allocations: 47.95 kB / 0.6978 GB, free: 8.422 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001439/0.5212, allocations: 39.61 kB / 0.6979 GB, free: 8.387 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.717e-05/0.5212, allocations: 15.78 kB / 0.6979 GB, free: 8.375 MB / 442.7 MB Notification: Performance of sort global known variables: time 0.0004014/0.5216, allocations: 264.7 kB / 0.6981 GB, free: 8.184 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0006345/0.5223, allocations: 140 kB / 0.6983 GB, free: 8.047 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (motorTypeI.s,motorTypeI.epr,motorTypeI.epm) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (26): * Single equations (assignments): 23 * 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.0002329/0.5225, allocations: 123 kB / 0.6984 GB, free: 7.922 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.002555/0.5251, allocations: 0.9834 MB / 0.6993 GB, free: 7.07 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/0.5251, allocations: 8 kB / 0.6993 GB, free: 7.062 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001659/0.5268, allocations: 0.7201 MB / 0.7 GB, free: 6.391 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003273/0.5271, allocations: 27.66 kB / 0.7001 GB, free: 6.379 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001795/0.5289, allocations: 0.6466 MB / 0.7007 GB, free: 5.777 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005141/0.5294, allocations: 0.8378 MB / 0.7015 GB, free: 4.914 MB / 442.7 MB Notification: Performance of SimCode: time 1.223e-06/0.5295, allocations: 0 / 0.7015 GB, free: 4.914 MB / 442.7 MB Notification: Performance of Templates: time 0.0123/0.5418, allocations: 6.945 MB / 0.7083 GB, free: 14 MB / 458.7 MB make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.InductiveMotorIII_SIMBOpenline_Test.makefile (rm -f OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.InductiveMotorIII_SIMBOpenline_Test.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.InductiveMotorIII_SIMBOpenline_Test.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.InductiveMotorIII_SIMBOpenline_Test.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.InductiveMotorIII_SIMBOpenline_Test.sim & ./OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.InductiveMotorIII_SIMBOpenline_Test -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.InductiveMotorIII_SIMBOpenline_Test.pipe 2>&1)