Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_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.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.InductiveMotorV_SIMBOpenline_Test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_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_release_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.002021/0.002021, allocations: 176.2 kB / 7.46 MB, free: 2.484 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.037/1.037, allocations: 221.4 MB / 229.3 MB, free: 3.246 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.0008118/0.0008118, allocations: 98.34 kB / 280.1 MB, free: 1.34 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.3618/0.3618, allocations: 78.1 MB / 409 MB, free: 15.61 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 6.282e-06/6.282e-06, allocations: 4 kB / 484.4 MB, free: 4.539 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2349/0.2349, allocations: 69.34 MB / 0.5407 GB, free: 21.33 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09578/0.3307, allocations: 91.43 MB / 0.63 GB, free: 13.42 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001949/0.331, allocations: 75.95 kB / 0.6301 GB, free: 13.35 MB / 458.7 MB Notification: Performance of FrontEnd: time 0.02453/0.3555, allocations: 9.132 MB / 0.639 GB, free: 4.156 MB / 458.7 MB Notification: Performance of Transformations before backend: time 1.633e-05/0.3555, allocations: 8 kB / 0.639 GB, free: 4.148 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.001895/0.3574, allocations: 0.8535 MB / 0.6399 GB, free: 3.25 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.289e-05/0.3575, allocations: 15.97 kB / 0.6399 GB, free: 3.234 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001105/0.3586, allocations: 199.2 kB / 0.6401 GB, free: 3.039 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005484/0.3592, allocations: 391.7 kB / 0.6404 GB, free: 2.613 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000104/0.3593, allocations: 80.05 kB / 0.6405 GB, free: 2.523 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.797e-05/0.3594, allocations: 16 kB / 0.6405 GB, free: 2.508 MB / 458.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005533/0.3599, allocations: 321.2 kB / 0.6408 GB, free: 2.195 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005412/0.3605, allocations: 312.8 kB / 0.6411 GB, free: 1.887 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.342e-05/0.3605, allocations: 3.906 kB / 0.6411 GB, free: 1.883 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.67e-05/0.3605, allocations: 7.984 kB / 0.6411 GB, free: 1.875 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.024e-05/0.3605, allocations: 8 kB / 0.6412 GB, free: 1.867 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002109/0.3627, allocations: 1.095 MB / 0.6422 GB, free: 0.7305 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004627/0.3631, allocations: 322.5 kB / 0.6425 GB, free: 416 kB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003069/0.3635, allocations: 225.4 kB / 0.6427 GB, free: 188 kB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.415e-05/0.3635, allocations: 4 kB / 0.6428 GB, free: 184 kB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.83e-05/0.3635, allocations: 38.42 kB / 0.6428 GB, free: 136 kB / 458.7 MB Notification: Performance of pre-optimization done (n=35): time 2.584e-06/0.3635, allocations: 0 / 0.6428 GB, free: 136 kB / 458.7 MB Notification: Performance of matching and sorting (n=35): time 0.003354/0.3669, allocations: 1.221 MB / 0.644 GB, free: 14.89 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.519e-05/0.3669, allocations: 55.41 kB / 0.644 GB, free: 14.83 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004131/0.3674, allocations: 356.9 kB / 0.6444 GB, free: 14.47 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 3.766e-05/0.3674, allocations: 25.7 kB / 0.6444 GB, free: 14.44 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.395e-05/0.3675, allocations: 156.5 kB / 0.6445 GB, free: 14.28 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.735e-05/0.3676, allocations: 126.1 kB / 0.6447 GB, free: 14.16 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.573e-05/0.3676, allocations: 4 kB / 0.6447 GB, free: 14.15 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 9.73e-05/0.3677, allocations: 346.8 kB / 0.645 GB, free: 13.8 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002715/0.368, allocations: 176 kB / 0.6452 GB, free: 13.63 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002702/0.3683, allocations: 183.8 kB / 0.6453 GB, free: 13.45 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002848/0.3686, allocations: 187.7 kB / 0.6455 GB, free: 13.27 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.754e-06/0.3686, allocations: 3.938 kB / 0.6455 GB, free: 13.27 MB / 474.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.003994/0.3726, allocations: 1.409 MB / 0.6469 GB, free: 11.84 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.576e-05/0.3726, allocations: 8 kB / 0.6469 GB, free: 11.83 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.701e-06/0.3726, allocations: 0 / 0.6469 GB, free: 11.83 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003265/0.3759, allocations: 0.8644 MB / 0.6478 GB, free: 10.96 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002205/0.3761, allocations: 35.92 kB / 0.6478 GB, free: 10.93 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004863/0.381, allocations: 2.74 MB / 0.6505 GB, free: 8.07 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005336/0.3815, allocations: 67.78 kB / 0.6505 GB, free: 8.004 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.472e-05/0.3816, allocations: 12 kB / 0.6505 GB, free: 7.992 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.0001258/0.3817, allocations: 104.9 kB / 0.6506 GB, free: 7.883 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001009/0.3818, allocations: 39.53 kB / 0.6507 GB, free: 7.844 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003376/0.3852, allocations: 1.257 MB / 0.6519 GB, free: 6.566 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.801e-06/0.3852, allocations: 8 kB / 0.6519 GB, free: 6.559 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.791e-06/0.3852, allocations: 3.938 kB / 0.6519 GB, free: 6.555 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.801e-06/0.3853, allocations: 7.922 kB / 0.6519 GB, free: 6.547 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005531/0.3858, allocations: 0.5013 MB / 0.6524 GB, free: 6.008 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.406e-06/0.3858, allocations: 4 kB / 0.6524 GB, free: 6.004 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002926/0.3861, allocations: 39.97 kB / 0.6525 GB, free: 5.965 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002002/0.3881, allocations: 0.616 MB / 0.6531 GB, free: 5.34 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.278e-05/0.3882, allocations: 0 / 0.6531 GB, free: 5.34 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002772/0.391, allocations: 2.022 MB / 0.655 GB, free: 3.195 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.096e-06/0.391, allocations: 400 / 0.655 GB, free: 3.195 MB / 474.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003691/0.3947, allocations: 1.591 MB / 0.6566 GB, free: 1.574 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001308/0.3948, allocations: 132.5 kB / 0.6567 GB, free: 1.426 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.599e-05/0.3949, allocations: 7.938 kB / 0.6567 GB, free: 1.418 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004929/0.3954, allocations: 47.97 kB / 0.6568 GB, free: 1.371 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001224/0.3956, allocations: 39.92 kB / 0.6568 GB, free: 1.332 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.369e-05/0.3956, allocations: 4 kB / 0.6568 GB, free: 1.328 MB / 474.7 MB Notification: Performance of sort global known variables: time 0.0003051/0.3959, allocations: 287.2 kB / 0.6571 GB, free: 1.055 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0005529/0.3965, allocations: 139.8 kB / 0.6572 GB, free: 0.918 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.0002307/0.3967, allocations: 123.2 kB / 0.6573 GB, free: 0.7852 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.002684/0.3994, allocations: 1.036 MB / 0.6583 GB, free: 15.7 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 3.095e-06/0.3994, allocations: 0 / 0.6583 GB, free: 15.7 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001498/0.4009, allocations: 0.7315 MB / 0.6591 GB, free: 14.91 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002732/0.4012, allocations: 25.39 kB / 0.6591 GB, free: 14.88 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001611/0.4028, allocations: 0.7638 MB / 0.6598 GB, free: 14.09 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004199/0.4033, allocations: 0.8496 MB / 0.6607 GB, free: 13.22 MB / 490.7 MB Notification: Performance of SimCode: time 3.41e-07/0.4033, allocations: 0 / 0.6607 GB, free: 13.22 MB / 490.7 MB Notification: Performance of Templates: time 0.01136/0.4146, allocations: 7.346 MB / 0.6678 GB, free: 5.883 MB / 490.7 MB make -j1 -f OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.InductiveMotorV_SIMBOpenline_Test.makefile (rm -f OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.InductiveMotorV_SIMBOpenline_Test.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.InductiveMotorV_SIMBOpenline_Test.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.InductiveMotorV_SIMBOpenline_Test.pipe >> ../files/OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.InductiveMotorV_SIMBOpenline_Test.sim & ./OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.InductiveMotorV_SIMBOpenline_Test -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.InductiveMotorV_SIMBOpenline_Test.pipe 2>&1)