Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Tests.Machines.PSAT.InductiveMotorV_SIMBOpenline_Test.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.0.1/package.mo", uses=false) Using package OpenIPSL with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/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.InductiveMotorV_SIMBOpenline_Test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_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_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 4.0.0+maint.om/package.mo): time 0.002115/0.002115, allocations: 180.8 kB / 7.454 MB, free: 2.516 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.236/1.236, allocations: 221.4 MB / 229.3 MB, free: 3.074 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.0009809/0.000981, allocations: 102.8 kB / 280.1 MB, free: 1.273 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4179/0.4179, allocations: 78.06 MB / 408.9 MB, free: 15.59 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 8.186e-06/8.286e-06, allocations: 0 / 484.3 MB, free: 4.469 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2969/0.297, allocations: 69.35 MB / 0.5407 GB, free: 21.39 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1051/0.4021, allocations: 91.44 MB / 0.63 GB, free: 13.46 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002077/0.4024, allocations: 71.95 kB / 0.6301 GB, free: 13.39 MB / 458.7 MB Notification: Performance of FrontEnd: time 0.02726/0.4296, allocations: 9.136 MB / 0.639 GB, free: 4.199 MB / 458.7 MB Notification: Performance of Transformations before backend: time 1.614e-05/0.4297, allocations: 8 kB / 0.639 GB, free: 4.191 MB / 458.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.002045/0.4317, allocations: 0.8488 MB / 0.6398 GB, free: 3.297 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.372e-05/0.4318, allocations: 8.031 kB / 0.6398 GB, free: 3.289 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001193/0.433, allocations: 207.2 kB / 0.64 GB, free: 3.086 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005532/0.4335, allocations: 395.6 kB / 0.6404 GB, free: 2.656 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001163/0.4337, allocations: 76.05 kB / 0.6405 GB, free: 2.57 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.442e-05/0.4337, allocations: 20 kB / 0.6405 GB, free: 2.551 MB / 458.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006074/0.4344, allocations: 317.3 kB / 0.6408 GB, free: 2.242 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005951/0.435, allocations: 312.7 kB / 0.6411 GB, free: 1.934 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.168e-05/0.435, allocations: 3.906 kB / 0.6411 GB, free: 1.93 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.827e-05/0.435, allocations: 0 / 0.6411 GB, free: 1.93 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.145e-05/0.435, allocations: 11.98 kB / 0.6411 GB, free: 1.918 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002228/0.4373, allocations: 1.107 MB / 0.6422 GB, free: 0.7695 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005166/0.4378, allocations: 318.5 kB / 0.6425 GB, free: 460 kB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000344/0.4382, allocations: 217.5 kB / 0.6427 GB, free: 240 kB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.77e-05/0.4382, allocations: 4 kB / 0.6427 GB, free: 236 kB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.231e-05/0.4383, allocations: 42.36 kB / 0.6428 GB, free: 184 kB / 458.7 MB Notification: Performance of pre-optimization done (n=35): time 1.663e-06/0.4383, allocations: 0 / 0.6428 GB, free: 184 kB / 458.7 MB Notification: Performance of matching and sorting (n=35): time 0.003863/0.4421, allocations: 1.217 MB / 0.6439 GB, free: 14.95 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.93e-05/0.4422, allocations: 59.41 kB / 0.644 GB, free: 14.88 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004553/0.4426, allocations: 360.9 kB / 0.6443 GB, free: 14.51 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 4.305e-05/0.4427, allocations: 25.7 kB / 0.6444 GB, free: 14.48 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.986e-05/0.4428, allocations: 156.5 kB / 0.6445 GB, free: 14.32 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001158/0.4429, allocations: 122.1 kB / 0.6446 GB, free: 14.2 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.103e-05/0.4429, allocations: 4 kB / 0.6446 GB, free: 14.2 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001286/0.4431, allocations: 350.8 kB / 0.645 GB, free: 13.85 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000314/0.4434, allocations: 176 kB / 0.6451 GB, free: 13.68 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003108/0.4437, allocations: 179.7 kB / 0.6453 GB, free: 13.5 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003536/0.4441, allocations: 195.7 kB / 0.6455 GB, free: 13.31 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.4441, allocations: 0 / 0.6455 GB, free: 13.31 MB / 474.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.00464/0.4487, allocations: 1.409 MB / 0.6469 GB, free: 11.88 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.328e-05/0.4488, allocations: 4 kB / 0.6469 GB, free: 11.88 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.386e-06/0.4488, allocations: 0 / 0.6469 GB, free: 11.88 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003671/0.4525, allocations: 0.8642 MB / 0.6477 GB, free: 11.01 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002478/0.4527, allocations: 47.97 kB / 0.6478 GB, free: 10.96 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005444/0.4582, allocations: 2.741 MB / 0.6505 GB, free: 8.105 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005806/0.4588, allocations: 59.8 kB / 0.6505 GB, free: 8.047 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.622e-05/0.4588, allocations: 12 kB / 0.6505 GB, free: 8.035 MB / 474.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 {8 7} Notification: Performance of prepare postOptimizeDAE: time 0.0001334/0.459, allocations: 112.9 kB / 0.6506 GB, free: 7.918 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.657e-05/0.4591, allocations: 39.53 kB / 0.6507 GB, free: 7.879 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003798/0.4629, allocations: 1.257 MB / 0.6519 GB, free: 6.605 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.181e-06/0.4629, allocations: 4 kB / 0.6519 GB, free: 6.602 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.213e-06/0.4629, allocations: 4 kB / 0.6519 GB, free: 6.598 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.639e-06/0.4629, allocations: 0 / 0.6519 GB, free: 6.598 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005899/0.4635, allocations: 0.5052 MB / 0.6524 GB, free: 6.055 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/0.4635, allocations: 0 / 0.6524 GB, free: 6.055 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003334/0.4639, allocations: 39.92 kB / 0.6524 GB, free: 6.016 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002174/0.4661, allocations: 0.6199 MB / 0.653 GB, free: 5.387 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.416e-05/0.4661, allocations: 0 / 0.653 GB, free: 5.387 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003051/0.4692, allocations: 2.018 MB / 0.655 GB, free: 3.246 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.355e-06/0.4692, allocations: 0 / 0.655 GB, free: 3.246 MB / 474.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.004075/0.4733, allocations: 1.603 MB / 0.6566 GB, free: 1.613 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001313/0.4734, allocations: 128.5 kB / 0.6567 GB, free: 1.469 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.524e-05/0.4735, allocations: 4 kB / 0.6567 GB, free: 1.465 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005243/0.474, allocations: 43.95 kB / 0.6567 GB, free: 1.422 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001377/0.4742, allocations: 39.92 kB / 0.6568 GB, free: 1.383 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.064e-05/0.4742, allocations: 12 kB / 0.6568 GB, free: 1.371 MB / 474.7 MB Notification: Performance of sort global known variables: time 0.0003195/0.4746, allocations: 279.2 kB / 0.6571 GB, free: 1.105 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0005232/0.4751, allocations: 147.8 kB / 0.6572 GB, free: 0.9609 MB / 474.7 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.0001943/0.4753, allocations: 119.1 kB / 0.6573 GB, free: 0.832 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.002741/0.478, allocations: 1.032 MB / 0.6583 GB, free: 15.75 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 3.947e-06/0.4781, allocations: 4 kB / 0.6583 GB, free: 15.74 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001657/0.4797, allocations: 0.7354 MB / 0.659 GB, free: 14.95 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003027/0.48, allocations: 27.47 kB / 0.6591 GB, free: 14.93 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001708/0.4818, allocations: 0.7638 MB / 0.6598 GB, free: 14.13 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000483/0.4823, allocations: 0.8496 MB / 0.6606 GB, free: 13.26 MB / 490.7 MB Notification: Performance of SimCode: time 4.41e-07/0.4823, allocations: 3.938 kB / 0.6606 GB, free: 13.25 MB / 490.7 MB Notification: Performance of Templates: time 0.01236/0.4946, allocations: 7.335 MB / 0.6678 GB, free: 5.938 MB / 490.7 MB make -j1 -f OpenIPSL_OpenIPSL.Tests.Machines.PSAT.InductiveMotorV_SIMBOpenline_Test.makefile (rm -f OpenIPSL_OpenIPSL.Tests.Machines.PSAT.InductiveMotorV_SIMBOpenline_Test.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Machines.PSAT.InductiveMotorV_SIMBOpenline_Test.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Machines.PSAT.InductiveMotorV_SIMBOpenline_Test.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Machines.PSAT.InductiveMotorV_SIMBOpenline_Test.sim & ./OpenIPSL_OpenIPSL.Tests.Machines.PSAT.InductiveMotorV_SIMBOpenline_Test -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Tests.Machines.PSAT.InductiveMotorV_SIMBOpenline_Test.pipe 2>&1)