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: "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.InductiveMotorV_SIMBOpenline_Test,fileNamePrefix="OpenIPSL_release_OpenIPSL_Tests_Machines_PSAT_InductiveMotorV_SIMBOpenline_Test",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.InductiveMotorV_SIMBOpenline_Test,fileNamePrefix="OpenIPSL_release_OpenIPSL_Tests_Machines_PSAT_InductiveMotorV_SIMBOpenline_Test",fmuType="me",version="2.0",platforms={"static"}) [: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.002268/0.002268, allocations: 177.8 kB / 7.455 MB, free: 2.512 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.093/1.093, allocations: 221.4 MB / 229.3 MB, free: 3.07 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.000768/0.000768, allocations: 96.08 kB / 280.1 MB, free: 1.238 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.3753/0.3753, allocations: 78.1 MB / 409 MB, free: 15.64 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.126/0.5013, allocations: 75.49 MB / 484.5 MB, free: 4.465 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2392/0.7405, allocations: 69.34 MB / 0.5408 GB, free: 21.41 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09375/0.8343, allocations: 91.42 MB / 0.6301 GB, free: 13.49 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001853/0.8345, allocations: 75.95 kB / 0.6302 GB, free: 13.41 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.02559/0.8601, allocations: 10 MB / 0.64 GB, free: 3.309 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.122e-05/0.8602, allocations: 8 kB / 0.64 GB, free: 3.301 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001041/0.8612, allocations: 199.1 kB / 0.6402 GB, free: 3.105 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004684/0.8617, allocations: 391.7 kB / 0.6405 GB, free: 2.676 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001012/0.8618, allocations: 88.05 kB / 0.6406 GB, free: 2.578 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.405e-05/0.8619, allocations: 19.94 kB / 0.6406 GB, free: 2.559 MB / 458.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000513/0.8624, allocations: 317.3 kB / 0.6409 GB, free: 2.25 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004932/0.8629, allocations: 304.8 kB / 0.6412 GB, free: 1.949 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.568e-06/0.8629, allocations: 7.906 kB / 0.6412 GB, free: 1.941 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.51e-05/0.8629, allocations: 3.984 kB / 0.6412 GB, free: 1.938 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.645e-06/0.8629, allocations: 4 kB / 0.6412 GB, free: 1.934 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001828/0.8648, allocations: 1.103 MB / 0.6423 GB, free: 0.7891 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004456/0.8652, allocations: 326.5 kB / 0.6426 GB, free: 472 kB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000288/0.8655, allocations: 217.5 kB / 0.6428 GB, free: 252 kB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.231e-05/0.8656, allocations: 7.938 kB / 0.6428 GB, free: 244 kB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.735e-05/0.8656, allocations: 38.42 kB / 0.6429 GB, free: 196 kB / 458.7 MB Notification: Performance of pre-optimization done (n=35): time 1.353e-06/0.8656, allocations: 0 / 0.6429 GB, free: 196 kB / 458.7 MB Notification: Performance of matching and sorting (n=35): time 0.003318/0.8689, allocations: 1.218 MB / 0.6441 GB, free: 14.95 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.961e-05/0.869, allocations: 59.39 kB / 0.6441 GB, free: 14.88 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003851/0.8694, allocations: 356.9 kB / 0.6445 GB, free: 14.52 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 3.478e-05/0.8694, allocations: 25.7 kB / 0.6445 GB, free: 14.49 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.288e-05/0.8695, allocations: 152.5 kB / 0.6446 GB, free: 14.34 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001012/0.8696, allocations: 126.1 kB / 0.6448 GB, free: 14.21 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.551e-05/0.8696, allocations: 0 / 0.6448 GB, free: 14.21 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001323/0.8698, allocations: 350.8 kB / 0.6451 GB, free: 13.86 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002684/0.87, allocations: 180 kB / 0.6453 GB, free: 13.69 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002697/0.8703, allocations: 183.8 kB / 0.6454 GB, free: 13.51 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002845/0.8706, allocations: 183.7 kB / 0.6456 GB, free: 13.33 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.915e-06/0.8706, allocations: 3.938 kB / 0.6456 GB, free: 13.32 MB / 474.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.003964/0.8746, allocations: 1.417 MB / 0.647 GB, free: 11.89 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.383e-05/0.8746, allocations: 4 kB / 0.647 GB, free: 11.89 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.061e-06/0.8746, allocations: 0 / 0.647 GB, free: 11.89 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003154/0.8778, allocations: 0.8686 MB / 0.6479 GB, free: 11.01 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002147/0.878, allocations: 35.92 kB / 0.6479 GB, free: 10.98 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004899/0.8829, allocations: 2.74 MB / 0.6506 GB, free: 8.125 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004961/0.8834, allocations: 59.89 kB / 0.6506 GB, free: 8.066 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.957e-05/0.8835, allocations: 15.98 kB / 0.6506 GB, free: 8.051 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.0001169/0.8836, allocations: 108.8 kB / 0.6507 GB, free: 7.938 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.388e-05/0.8837, allocations: 39.53 kB / 0.6508 GB, free: 7.898 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003338/0.887, allocations: 1.261 MB / 0.652 GB, free: 6.621 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.149e-06/0.887, allocations: 4 kB / 0.652 GB, free: 6.617 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.8871, allocations: 0 / 0.652 GB, free: 6.617 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.18e-06/0.8871, allocations: 7.938 kB / 0.652 GB, free: 6.609 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005317/0.8876, allocations: 0.5052 MB / 0.6525 GB, free: 6.066 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.954e-06/0.8876, allocations: 4 kB / 0.6525 GB, free: 6.062 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00028/0.8879, allocations: 31.98 kB / 0.6526 GB, free: 6.031 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001945/0.8899, allocations: 0.6198 MB / 0.6532 GB, free: 5.402 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.825e-05/0.8899, allocations: 7.984 kB / 0.6532 GB, free: 5.395 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00273/0.8926, allocations: 2.022 MB / 0.6551 GB, free: 3.254 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.745e-06/0.8927, allocations: 0 / 0.6551 GB, free: 3.254 MB / 474.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00375/0.8964, allocations: 1.603 MB / 0.6567 GB, free: 1.621 MB / 474.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.004135/0.9006, allocations: 2.236 MB / 0.6589 GB, free: 15.36 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001168/0.9007, allocations: 124.5 kB / 0.659 GB, free: 15.21 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.92e-05/0.9008, allocations: 4 kB / 0.659 GB, free: 15.21 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004839/0.9013, allocations: 43.97 kB / 0.6591 GB, free: 15.17 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001199/0.9014, allocations: 43.83 kB / 0.6591 GB, free: 15.12 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.571e-05/0.9014, allocations: 12 kB / 0.6591 GB, free: 15.11 MB / 490.7 MB Notification: Performance of sort global known variables: time 0.0002839/0.9017, allocations: 283.2 kB / 0.6594 GB, free: 14.84 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001041/0.9028, allocations: 143.8 kB / 0.6595 GB, free: 14.7 MB / 490.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.0001849/0.903, allocations: 131 kB / 0.6596 GB, free: 14.56 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.002447/0.9054, allocations: 1.037 MB / 0.6606 GB, free: 13.47 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.9054, allocations: 0 / 0.6606 GB, free: 13.47 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001511/0.9069, allocations: 0.7315 MB / 0.6614 GB, free: 12.68 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002373/0.9072, allocations: 23.55 kB / 0.6614 GB, free: 12.66 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001509/0.9087, allocations: 0.7755 MB / 0.6621 GB, free: 11.86 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004931/0.9092, allocations: 0.8613 MB / 0.663 GB, free: 10.97 MB / 490.7 MB Notification: Performance of SimCode: time 3.11e-07/0.9092, allocations: 0 / 0.663 GB, free: 10.97 MB / 490.7 MB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_release_OpenIPSL_Tests_Machines_PSAT_InductiveMotorV_SIMBOpenline_Test_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_release_OpenIPSL_Tests_Machines_PSAT_InductiveMotorV_SIMBOpenline_Test.fmu > OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.InductiveMotorV_SIMBOpenline_Test.pipe 2>&1)