Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.InductiveMotorV_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.InductiveMotorV_SIMBOpenline_Test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.InductiveMotorV_SIMBOpenline_Test") translateModel(OpenIPSL.Tests.Machines.PSAT.InductiveMotorV_SIMBOpenline_Test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.InductiveMotorV_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.001052/0.001052, allocations: 183.2 kB / 7.46 MB, free: 480 kB / 6.207 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.423/1.423, allocations: 205.2 MB / 213.1 MB, free: 2.141 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008971/0.0008971, allocations: 90.3 kB / 261.1 MB, free: 1.402 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.08748/0.08748, allocations: 12.58 MB / 321.6 MB, free: 4.785 MB / 270.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4316/0.4316, allocations: 78.04 MB / 450.4 MB, free: 25.62 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 6.893e-06/6.913e-06, allocations: 0 / 0.5141 GB, free: 34.75 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1508/0.1509, allocations: 69.33 MB / 0.5818 GB, free: 15.05 MB / 382.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3751/0.5259, allocations: 93 MB / 0.6726 GB, free: 12.84 MB / 446.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001628/0.5262, allocations: 76.72 kB / 0.6727 GB, free: 12.84 MB / 446.1 MB Notification: Performance of FrontEnd: time 0.02303/0.5492, allocations: 8.811 MB / 0.6813 GB, free: 12.12 MB / 446.1 MB Notification: Performance of Transformations before backend: time 2.189e-05/0.5492, allocations: 7.75 kB / 0.6813 GB, free: 12.12 MB / 446.1 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.00207/0.5513, allocations: 0.8504 MB / 0.6822 GB, free: 27.62 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.503e-05/0.5514, allocations: 11.66 kB / 0.6822 GB, free: 27.62 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001156/0.5525, allocations: 197 kB / 0.6824 GB, free: 27.59 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006618/0.5532, allocations: 395.1 kB / 0.6827 GB, free: 27.34 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001067/0.5533, allocations: 82.69 kB / 0.6828 GB, free: 27.28 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.355e-05/0.5534, allocations: 21.97 kB / 0.6828 GB, free: 27.27 MB / 462.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005502/0.554, allocations: 321.2 kB / 0.6831 GB, free: 27.27 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005071/0.5545, allocations: 311.1 kB / 0.6834 GB, free: 27.23 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.069e-05/0.5545, allocations: 0 / 0.6834 GB, free: 27.23 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.622e-05/0.5545, allocations: 0 / 0.6834 GB, free: 27.23 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.274e-06/0.5546, allocations: 3.781 kB / 0.6834 GB, free: 27.23 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002088/0.5567, allocations: 1.107 MB / 0.6845 GB, free: 26.93 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004536/0.5571, allocations: 326.3 kB / 0.6848 GB, free: 26.9 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002853/0.5574, allocations: 213 kB / 0.685 GB, free: 26.89 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.741e-05/0.5575, allocations: 8.594 kB / 0.685 GB, free: 26.89 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.601e-05/0.5575, allocations: 34.47 kB / 0.6851 GB, free: 26.85 MB / 462.1 MB Notification: Performance of pre-optimization done (n=35): time 1.563e-06/0.5575, allocations: 0 / 0.6851 GB, free: 26.85 MB / 462.1 MB Notification: Performance of matching and sorting (n=35): time 0.003388/0.5609, allocations: 1.218 MB / 0.6863 GB, free: 26.7 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.593e-05/0.561, allocations: 63.97 kB / 0.6863 GB, free: 26.62 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004517/0.5614, allocations: 356.5 kB / 0.6867 GB, free: 26.52 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 4.321e-05/0.5615, allocations: 25.7 kB / 0.6867 GB, free: 26.49 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.888e-05/0.5616, allocations: 153.5 kB / 0.6868 GB, free: 26.38 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001004/0.5617, allocations: 118.8 kB / 0.687 GB, free: 26.3 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.768e-05/0.5617, allocations: 0 / 0.687 GB, free: 26.3 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001437/0.5619, allocations: 354.1 kB / 0.6873 GB, free: 25.99 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002603/0.5621, allocations: 182.1 kB / 0.6875 GB, free: 25.98 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002492/0.5624, allocations: 178.9 kB / 0.6876 GB, free: 25.98 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002757/0.5627, allocations: 197.3 kB / 0.6878 GB, free: 25.97 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.5627, allocations: 0 / 0.6878 GB, free: 25.97 MB / 462.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.004148/0.5668, allocations: 1.403 MB / 0.6892 GB, free: 25.81 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.714e-05/0.5669, allocations: 3.75 kB / 0.6892 GB, free: 25.81 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.704e-06/0.5669, allocations: 3.938 kB / 0.6892 GB, free: 25.81 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003296/0.5702, allocations: 0.8662 MB / 0.69 GB, free: 25.73 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002175/0.5704, allocations: 38.25 kB / 0.6901 GB, free: 25.73 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004831/0.5753, allocations: 2.736 MB / 0.6928 GB, free: 24.43 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005487/0.5758, allocations: 59.83 kB / 0.6928 GB, free: 24.41 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.556e-05/0.5759, allocations: 15.69 kB / 0.6928 GB, free: 24.41 MB / 462.1 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 {8 7} Notification: Performance of prepare postOptimizeDAE: time 0.000138/0.576, allocations: 112.7 kB / 0.6929 GB, free: 24.29 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001168/0.5761, allocations: 43.09 kB / 0.693 GB, free: 24.27 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003205/0.5794, allocations: 1.265 MB / 0.6942 GB, free: 24.12 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.32e-06/0.5794, allocations: 7.781 kB / 0.6942 GB, free: 24.12 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.925e-06/0.5794, allocations: 4 kB / 0.6942 GB, free: 24.12 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.721e-06/0.5794, allocations: 3.938 kB / 0.6942 GB, free: 24.12 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005701/0.58, allocations: 0.4987 MB / 0.6947 GB, free: 23.95 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.016e-06/0.58, allocations: 0 / 0.6947 GB, free: 23.95 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003338/0.5803, allocations: 50.08 kB / 0.6948 GB, free: 23.94 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00196/0.5823, allocations: 0.6163 MB / 0.6954 GB, free: 23.87 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.603e-05/0.5824, allocations: 0.5625 kB / 0.6954 GB, free: 23.87 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002923/0.5853, allocations: 2.006 MB / 0.6973 GB, free: 22.61 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/0.5853, allocations: 4 kB / 0.6973 GB, free: 22.61 MB / 462.1 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003693/0.589, allocations: 1.585 MB / 0.6989 GB, free: 22.36 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001665/0.5892, allocations: 133.5 kB / 0.699 GB, free: 22.23 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.687e-05/0.5893, allocations: 0.6562 kB / 0.699 GB, free: 22.23 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005274/0.5898, allocations: 44.19 kB / 0.699 GB, free: 22.23 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001374/0.59, allocations: 38.78 kB / 0.6991 GB, free: 22.23 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.76e-05/0.59, allocations: 12.33 kB / 0.6991 GB, free: 22.23 MB / 462.1 MB Notification: Performance of sort global known variables: time 0.0003266/0.5903, allocations: 283.3 kB / 0.6994 GB, free: 22.15 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0005331/0.5909, allocations: 148.1 kB / 0.6995 GB, free: 22.13 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (motorTypeI.s,motorTypeI.e1r,motorTypeI.e1m,motorTypeI.e2r,motorTypeI.e2m) * 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.0002101/0.5911, allocations: 125.3 kB / 0.6996 GB, free: 22.03 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.002452/0.5936, allocations: 1.034 MB / 0.7006 GB, free: 21.68 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.547e-06/0.5936, allocations: 3.938 kB / 0.7006 GB, free: 21.68 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001581/0.5952, allocations: 0.7304 MB / 0.7013 GB, free: 21.34 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003051/0.5955, allocations: 20.52 kB / 0.7014 GB, free: 21.33 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001837/0.5973, allocations: 0.7615 MB / 0.7021 GB, free: 20.94 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005605/0.5979, allocations: 0.8555 MB / 0.7029 GB, free: 20.22 MB / 462.1 MB Notification: Performance of SimCode: time 1.082e-06/0.5979, allocations: 0 / 0.7029 GB, free: 20.22 MB / 462.1 MB Notification: Performance of Templates: time 0.0109/0.6088, allocations: 7.356 MB / 0.7101 GB, free: 16.64 MB / 462.1 MB make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.InductiveMotorV_SIMBOpenline_Test.makefile (rm -f OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.InductiveMotorV_SIMBOpenline_Test.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.InductiveMotorV_SIMBOpenline_Test.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.InductiveMotorV_SIMBOpenline_Test.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.InductiveMotorV_SIMBOpenline_Test.sim & ./OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.InductiveMotorV_SIMBOpenline_Test -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.InductiveMotorV_SIMBOpenline_Test.pipe 2>&1)