Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_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_dev_OpenIPSL_Tests_Machines_PSAT_InductiveMotorV_SIMBOpenline_Test",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.InductiveMotorV_SIMBOpenline_Test,fileNamePrefix="OpenIPSL_dev_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.003048/0.003048, allocations: 181.6 kB / 7.459 MB, free: 2.496 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.486/1.486, allocations: 221.4 MB / 229.3 MB, free: 3.035 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.0009616/0.0009615, allocations: 103.3 kB / 280.1 MB, free: 1.277 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5068/0.5068, allocations: 78.91 MB / 409.8 MB, free: 14.98 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1781/0.6849, allocations: 75.64 MB / 485.5 MB, free: 3.582 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.422/1.107, allocations: 69.5 MB / 0.542 GB, free: 20.84 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1344/1.241, allocations: 92.02 MB / 0.6318 GB, free: 11.85 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001914/1.242, allocations: 79.95 kB / 0.6319 GB, free: 11.77 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.02913/1.271, allocations: 10.1 MB / 0.6418 GB, free: 1.566 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.991e-05/1.271, allocations: 8 kB / 0.6418 GB, free: 1.559 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001142/1.272, allocations: 203.2 kB / 0.642 GB, free: 1.359 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006235/1.273, allocations: 391.6 kB / 0.6423 GB, free: 0.9336 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001233/1.273, allocations: 80.05 kB / 0.6424 GB, free: 0.8438 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.086e-05/1.273, allocations: 20 kB / 0.6424 GB, free: 0.8242 MB / 458.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006148/1.273, allocations: 313.3 kB / 0.6427 GB, free: 0.5195 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005578/1.274, allocations: 312.8 kB / 0.643 GB, free: 216 kB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.318e-05/1.274, allocations: 3.906 kB / 0.643 GB, free: 212 kB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.748e-05/1.274, allocations: 0 / 0.643 GB, free: 212 kB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.819e-06/1.274, allocations: 8 kB / 0.643 GB, free: 204 kB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002292/1.276, allocations: 1.115 MB / 0.6441 GB, free: 15.04 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005647/1.277, allocations: 318.6 kB / 0.6444 GB, free: 14.72 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003891/1.277, allocations: 216.9 kB / 0.6446 GB, free: 14.51 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.237e-05/1.277, allocations: 7.984 kB / 0.6446 GB, free: 14.5 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.623e-05/1.277, allocations: 35.16 kB / 0.6447 GB, free: 14.46 MB / 474.7 MB Notification: Performance of pre-optimization done (n=35): time 2.013e-06/1.277, allocations: 0 / 0.6447 GB, free: 14.46 MB / 474.7 MB Notification: Performance of matching and sorting (n=35): time 0.003948/1.281, allocations: 1.221 MB / 0.6459 GB, free: 13.22 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.901e-05/1.281, allocations: 63.34 kB / 0.6459 GB, free: 13.14 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005449/1.282, allocations: 352.9 kB / 0.6463 GB, free: 12.79 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 4.922e-05/1.282, allocations: 25.7 kB / 0.6463 GB, free: 12.76 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001337/1.282, allocations: 156.5 kB / 0.6464 GB, free: 12.6 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001416/1.282, allocations: 122.2 kB / 0.6466 GB, free: 12.48 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.723e-05/1.282, allocations: 0 / 0.6466 GB, free: 12.48 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001808/1.283, allocations: 354.8 kB / 0.6469 GB, free: 12.12 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003026/1.283, allocations: 183.9 kB / 0.6471 GB, free: 11.95 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003107/1.283, allocations: 183.6 kB / 0.6472 GB, free: 11.77 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003126/1.284, allocations: 180 kB / 0.6474 GB, free: 11.59 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.777e-06/1.284, allocations: 3.984 kB / 0.6474 GB, free: 11.59 MB / 474.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.004254/1.288, allocations: 1.412 MB / 0.6488 GB, free: 10.16 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.218e-05/1.288, allocations: 10.97 kB / 0.6488 GB, free: 10.15 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.913e-06/1.288, allocations: 0 / 0.6488 GB, free: 10.15 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003421/1.291, allocations: 0.8649 MB / 0.6497 GB, free: 9.273 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000222/1.292, allocations: 35.98 kB / 0.6497 GB, free: 9.238 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005407/1.297, allocations: 2.744 MB / 0.6524 GB, free: 6.383 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005324/1.298, allocations: 67.78 kB / 0.6524 GB, free: 6.316 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.035e-05/1.298, allocations: 12 kB / 0.6524 GB, free: 6.305 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.0001612/1.298, allocations: 108.9 kB / 0.6525 GB, free: 6.191 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001024/1.298, allocations: 39.53 kB / 0.6526 GB, free: 6.152 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003579/1.301, allocations: 1.257 MB / 0.6538 GB, free: 4.875 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.35e-06/1.301, allocations: 4 kB / 0.6538 GB, free: 4.871 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/1.301, allocations: 0 / 0.6538 GB, free: 4.871 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.202e-06/1.301, allocations: 3.984 kB / 0.6538 GB, free: 4.867 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006548/1.302, allocations: 0.5052 MB / 0.6543 GB, free: 4.32 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/1.302, allocations: 0 / 0.6543 GB, free: 4.32 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002952/1.302, allocations: 43.91 kB / 0.6544 GB, free: 4.277 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002063/1.305, allocations: 0.616 MB / 0.655 GB, free: 3.652 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.031e-05/1.305, allocations: 4 kB / 0.655 GB, free: 3.648 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003078/1.308, allocations: 2.022 MB / 0.6569 GB, free: 1.504 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.895e-06/1.308, allocations: 0 / 0.6569 GB, free: 1.504 MB / 474.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.004012/1.312, allocations: 1.599 MB / 0.6585 GB, free: 15.87 MB / 490.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.004712/1.316, allocations: 2.236 MB / 0.6607 GB, free: 13.61 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001522/1.317, allocations: 128.5 kB / 0.6608 GB, free: 13.46 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.284e-05/1.317, allocations: 8.156 kB / 0.6608 GB, free: 13.46 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000508/1.317, allocations: 51.95 kB / 0.6609 GB, free: 13.41 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000124/1.317, allocations: 39.88 kB / 0.6609 GB, free: 13.37 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.16e-05/1.317, allocations: 15.98 kB / 0.6609 GB, free: 13.35 MB / 490.7 MB Notification: Performance of sort global known variables: time 0.0003287/1.318, allocations: 279.2 kB / 0.6612 GB, free: 13.09 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001089/1.319, allocations: 143.8 kB / 0.6613 GB, free: 12.95 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.000209/1.319, allocations: 123.1 kB / 0.6614 GB, free: 12.81 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.002567/1.322, allocations: 1.033 MB / 0.6624 GB, free: 11.73 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/1.322, allocations: 0 / 0.6624 GB, free: 11.73 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001686/1.323, allocations: 0.7276 MB / 0.6632 GB, free: 10.95 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002893/1.324, allocations: 21.5 kB / 0.6632 GB, free: 10.92 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001859/1.325, allocations: 0.7791 MB / 0.6639 GB, free: 10.11 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000681/1.326, allocations: 0.8574 MB / 0.6648 GB, free: 9.23 MB / 490.7 MB Notification: Performance of SimCode: time 6.11e-07/1.326, allocations: 0 / 0.6648 GB, free: 9.23 MB / 490.7 MB (rm -f OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.InductiveMotorV_SIMBOpenline_Test.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.InductiveMotorV_SIMBOpenline_Test.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.InductiveMotorV_SIMBOpenline_Test.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.InductiveMotorV_SIMBOpenline_Test.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Tests_Machines_PSAT_InductiveMotorV_SIMBOpenline_Test_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Tests_Machines_PSAT_InductiveMotorV_SIMBOpenline_Test.fmu > OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.InductiveMotorV_SIMBOpenline_Test.pipe 2>&1)