Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.InductiveMotorI_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.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.InductiveMotorI_SIMBOpenline_Test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_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_release_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 4.0.0+maint.om/package.mo): time 0.001767/0.001766, allocations: 175.9 kB / 7.46 MB, free: 2.488 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.043/1.043, allocations: 221.4 MB / 229.3 MB, free: 3.199 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.0008076/0.0008076, allocations: 94.59 kB / 280.1 MB, free: 1.289 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.3673/0.3673, allocations: 78.09 MB / 409 MB, free: 15.68 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 4.829e-06/4.849e-06, allocations: 0 / 484.4 MB, free: 4.57 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2363/0.2363, allocations: 69.34 MB / 0.5407 GB, free: 21.53 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09262/0.329, allocations: 90.71 MB / 0.6293 GB, free: 14.23 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001845/0.3292, allocations: 75.95 kB / 0.6294 GB, free: 14.16 MB / 458.7 MB Notification: Performance of FrontEnd: time 0.01883/0.348, allocations: 7.587 MB / 0.6368 GB, free: 6.52 MB / 458.7 MB Notification: Performance of Transformations before backend: time 1.661e-05/0.3481, allocations: 4 kB / 0.6368 GB, free: 6.516 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: 57 * Number of variables: 57 Notification: Performance of Generate backend data structure: time 0.00168/0.3497, allocations: 0.7903 MB / 0.6376 GB, free: 5.68 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.843e-05/0.3498, allocations: 8.031 kB / 0.6376 GB, free: 5.672 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001004/0.3508, allocations: 187.8 kB / 0.6378 GB, free: 5.488 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004166/0.3512, allocations: 326.8 kB / 0.6381 GB, free: 5.133 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001048/0.3513, allocations: 83.89 kB / 0.6382 GB, free: 5.039 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.159e-05/0.3514, allocations: 12 kB / 0.6382 GB, free: 5.027 MB / 458.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005039/0.3519, allocations: 292.9 kB / 0.6385 GB, free: 4.742 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004569/0.3524, allocations: 279 kB / 0.6387 GB, free: 4.461 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.102e-05/0.3524, allocations: 3.984 kB / 0.6387 GB, free: 4.457 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.119e-05/0.3524, allocations: 0 / 0.6387 GB, free: 4.457 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.298e-06/0.3524, allocations: 11.91 kB / 0.6387 GB, free: 4.445 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00173/0.3542, allocations: 1.001 MB / 0.6397 GB, free: 3.402 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003021/0.3545, allocations: 185.7 kB / 0.6399 GB, free: 3.215 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002827/0.3548, allocations: 200.8 kB / 0.6401 GB, free: 3.016 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.775e-05/0.3548, allocations: 4 kB / 0.6401 GB, free: 3.012 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.042e-05/0.3549, allocations: 34.56 kB / 0.6401 GB, free: 2.969 MB / 458.7 MB Notification: Performance of pre-optimization done (n=31): time 1.343e-06/0.3549, allocations: 4 kB / 0.6401 GB, free: 2.965 MB / 458.7 MB Notification: Performance of matching and sorting (n=31): time 0.003506/0.3584, allocations: 1.21 MB / 0.6413 GB, free: 1.738 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.757e-05/0.3584, allocations: 55.41 kB / 0.6414 GB, free: 1.672 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002562/0.3587, allocations: 263.6 kB / 0.6416 GB, free: 1.41 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 3.048e-05/0.3587, allocations: 25.7 kB / 0.6416 GB, free: 1.379 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.122e-05/0.3588, allocations: 144.4 kB / 0.6418 GB, free: 1.234 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.948e-05/0.3589, allocations: 106.4 kB / 0.6419 GB, free: 1.129 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.392e-05/0.3589, allocations: 4 kB / 0.6419 GB, free: 1.125 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001039/0.359, allocations: 338.8 kB / 0.6422 GB, free: 0.7852 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002499/0.3593, allocations: 160.5 kB / 0.6424 GB, free: 0.625 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000233/0.3595, allocations: 156.8 kB / 0.6425 GB, free: 484 kB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002538/0.3598, allocations: 173.9 kB / 0.6427 GB, free: 312 kB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/0.3598, allocations: 0 / 0.6427 GB, free: 312 kB / 458.7 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.003777/0.3636, allocations: 1.293 MB / 0.6439 GB, free: 15 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.348e-05/0.3636, allocations: 4 kB / 0.6439 GB, free: 14.99 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.711e-06/0.3636, allocations: 3.938 kB / 0.6439 GB, free: 14.99 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002821/0.3664, allocations: 0.7635 MB / 0.6447 GB, free: 14.21 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001836/0.3666, allocations: 31.98 kB / 0.6447 GB, free: 14.18 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003934/0.3706, allocations: 2.455 MB / 0.6471 GB, free: 11.61 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005008/0.3711, allocations: 63.72 kB / 0.6472 GB, free: 11.55 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.275e-05/0.3711, allocations: 4 kB / 0.6472 GB, free: 11.54 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 (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.0001114/0.3713, allocations: 107.4 kB / 0.6473 GB, free: 11.43 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.172e-05/0.3713, allocations: 35.53 kB / 0.6473 GB, free: 11.4 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003472/0.3748, allocations: 1.249 MB / 0.6485 GB, free: 10.13 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.368e-06/0.3748, allocations: 4 kB / 0.6485 GB, free: 10.13 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/0.3748, allocations: 0 / 0.6485 GB, free: 10.13 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.48e-06/0.3749, allocations: 4 kB / 0.6485 GB, free: 10.12 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004632/0.3753, allocations: 477.5 kB / 0.649 GB, free: 9.621 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.073e-06/0.3753, allocations: 0 / 0.649 GB, free: 9.621 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001982/0.3755, allocations: 31.92 kB / 0.649 GB, free: 9.59 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002297/0.3778, allocations: 0.6777 MB / 0.6497 GB, free: 8.902 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.023e-05/0.3779, allocations: 0 / 0.6497 GB, free: 8.902 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002918/0.3808, allocations: 2.096 MB / 0.6517 GB, free: 6.691 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.3808, allocations: 3.938 kB / 0.6517 GB, free: 6.688 MB / 474.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003793/0.3846, allocations: 1.576 MB / 0.6533 GB, free: 5.086 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.838e-05/0.3847, allocations: 112.7 kB / 0.6534 GB, free: 4.957 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.14e-05/0.3848, allocations: 0 / 0.6534 GB, free: 4.957 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004439/0.3852, allocations: 44.03 kB / 0.6534 GB, free: 4.914 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001204/0.3854, allocations: 39.92 kB / 0.6535 GB, free: 4.875 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.188e-05/0.3854, allocations: 12.03 kB / 0.6535 GB, free: 4.863 MB / 474.7 MB Notification: Performance of sort global known variables: time 0.0001911/0.3856, allocations: 215.1 kB / 0.6537 GB, free: 4.652 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0004557/0.3861, allocations: 139.8 kB / 0.6538 GB, free: 4.516 MB / 474.7 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.0001872/0.3863, allocations: 123 kB / 0.6539 GB, free: 4.387 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.001942/0.3882, allocations: 0.8998 MB / 0.6548 GB, free: 3.43 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.3882, allocations: 0 / 0.6548 GB, free: 3.43 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001504/0.3897, allocations: 0.7082 MB / 0.6555 GB, free: 2.668 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002581/0.39, allocations: 17.48 kB / 0.6555 GB, free: 2.648 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006088/0.3961, allocations: 0.8768 MB / 0.6564 GB, free: 1.742 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003793/0.3965, allocations: 0.8216 MB / 0.6572 GB, free: 0.8906 MB / 474.7 MB Notification: Performance of SimCode: time 1.353e-06/0.3965, allocations: 0 / 0.6572 GB, free: 0.8906 MB / 474.7 MB Notification: Performance of Templates: time 0.009591/0.4061, allocations: 6.716 MB / 0.6637 GB, free: 10.18 MB / 490.7 MB make -j1 -f OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.InductiveMotorI_SIMBOpenline_Test.makefile (rm -f OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.InductiveMotorI_SIMBOpenline_Test.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.InductiveMotorI_SIMBOpenline_Test.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.InductiveMotorI_SIMBOpenline_Test.pipe >> ../files/OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.InductiveMotorI_SIMBOpenline_Test.sim & ./OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.InductiveMotorI_SIMBOpenline_Test -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.InductiveMotorI_SIMBOpenline_Test.pipe 2>&1)