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: "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.InductiveMotorV_SIMBOpenline_Test,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Machines_PSAT_InductiveMotorV_SIMBOpenline_Test",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.InductiveMotorV_SIMBOpenline_Test,fileNamePrefix="OpenIPSL_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.004793/0.004793, allocations: 182.6 kB / 7.458 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.369/1.369, allocations: 221.4 MB / 229.3 MB, free: 3.027 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.001065/0.001065, allocations: 104.4 kB / 280.1 MB, free: 1.238 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.5297/0.5297, allocations: 78.07 MB / 408.9 MB, free: 15.56 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1801/0.7098, allocations: 75.5 MB / 484.4 MB, free: 4.355 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4363/1.146, allocations: 69.34 MB / 0.5408 GB, free: 21.45 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1315/1.278, allocations: 91.43 MB / 0.6301 GB, free: 13.39 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002047/1.278, allocations: 79.94 kB / 0.6302 GB, free: 13.32 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.02957/1.307, allocations: 9.994 MB / 0.6399 GB, free: 3.215 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.392e-05/1.308, allocations: 11.94 kB / 0.6399 GB, free: 3.203 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001226/1.309, allocations: 203.2 kB / 0.6401 GB, free: 3.004 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006631/1.309, allocations: 391.6 kB / 0.6405 GB, free: 2.578 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001113/1.31, allocations: 83.98 kB / 0.6406 GB, free: 2.484 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.344e-05/1.31, allocations: 16 kB / 0.6406 GB, free: 2.469 MB / 458.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006154/1.31, allocations: 321.3 kB / 0.6409 GB, free: 2.156 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005694/1.311, allocations: 304.8 kB / 0.6412 GB, free: 1.855 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.228e-05/1.311, allocations: 7.906 kB / 0.6412 GB, free: 1.848 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.506e-05/1.311, allocations: 3.938 kB / 0.6412 GB, free: 1.844 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.255e-06/1.311, allocations: 4 kB / 0.6412 GB, free: 1.84 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00217/1.313, allocations: 1.111 MB / 0.6423 GB, free: 0.6875 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005526/1.314, allocations: 322.5 kB / 0.6426 GB, free: 372 kB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003745/1.314, allocations: 217.5 kB / 0.6428 GB, free: 152 kB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.709e-05/1.314, allocations: 4 kB / 0.6428 GB, free: 148 kB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.041e-05/1.314, allocations: 38.41 kB / 0.6429 GB, free: 100 kB / 458.7 MB Notification: Performance of pre-optimization done (n=35): time 2.655e-06/1.314, allocations: 0 / 0.6429 GB, free: 100 kB / 458.7 MB Notification: Performance of matching and sorting (n=35): time 0.003913/1.318, allocations: 1.217 MB / 0.644 GB, free: 14.86 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.844e-05/1.318, allocations: 63.39 kB / 0.6441 GB, free: 14.79 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005463/1.319, allocations: 356.9 kB / 0.6444 GB, free: 14.43 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 4.448e-05/1.319, allocations: 25.7 kB / 0.6445 GB, free: 14.4 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001031/1.319, allocations: 152.5 kB / 0.6446 GB, free: 14.25 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001362/1.319, allocations: 126.1 kB / 0.6447 GB, free: 14.12 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.865e-05/1.319, allocations: 0 / 0.6447 GB, free: 14.12 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001693/1.319, allocations: 354.8 kB / 0.6451 GB, free: 13.77 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003761/1.32, allocations: 176 kB / 0.6452 GB, free: 13.59 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003199/1.32, allocations: 179.8 kB / 0.6454 GB, free: 13.42 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003479/1.32, allocations: 183.7 kB / 0.6456 GB, free: 13.24 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.576e-06/1.32, allocations: 7.938 kB / 0.6456 GB, free: 13.23 MB / 474.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.004403/1.325, allocations: 1.409 MB / 0.647 GB, free: 11.8 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.787e-05/1.325, allocations: 8 kB / 0.647 GB, free: 11.8 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.524e-06/1.325, allocations: 0 / 0.647 GB, free: 11.8 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003516/1.328, allocations: 0.8649 MB / 0.6478 GB, free: 10.92 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002723/1.329, allocations: 35.98 kB / 0.6479 GB, free: 10.89 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00589/1.335, allocations: 2.744 MB / 0.6505 GB, free: 8.031 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006477/1.335, allocations: 63.78 kB / 0.6506 GB, free: 7.969 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.483e-05/1.335, allocations: 12 kB / 0.6506 GB, free: 7.957 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.0002056/1.336, allocations: 108.9 kB / 0.6507 GB, free: 7.844 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001997/1.336, allocations: 39.53 kB / 0.6508 GB, free: 7.805 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003718/1.339, allocations: 1.253 MB / 0.652 GB, free: 6.535 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.643e-06/1.339, allocations: 4 kB / 0.652 GB, free: 6.531 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.676e-06/1.339, allocations: 0 / 0.652 GB, free: 6.531 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.063e-05/1.34, allocations: 4 kB / 0.652 GB, free: 6.527 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008072/1.34, allocations: 0.5013 MB / 0.6525 GB, free: 5.988 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.216e-06/1.34, allocations: 4 kB / 0.6525 GB, free: 5.984 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003166/1.341, allocations: 35.92 kB / 0.6525 GB, free: 5.949 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00211/1.343, allocations: 0.6315 MB / 0.6531 GB, free: 5.309 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.913e-05/1.343, allocations: 11.98 kB / 0.6531 GB, free: 5.297 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003153/1.346, allocations: 2.01 MB / 0.6551 GB, free: 3.164 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.038e-06/1.346, allocations: 0 / 0.6551 GB, free: 3.164 MB / 474.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.004092/1.35, allocations: 1.603 MB / 0.6567 GB, free: 1.531 MB / 474.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.004648/1.355, allocations: 2.24 MB / 0.6589 GB, free: 15.26 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002439/1.355, allocations: 124.5 kB / 0.659 GB, free: 15.12 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001159/1.355, allocations: 7.906 kB / 0.659 GB, free: 15.11 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005755/1.356, allocations: 40.22 kB / 0.659 GB, free: 15.07 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001425/1.356, allocations: 39.92 kB / 0.6591 GB, free: 15.04 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.953e-05/1.356, allocations: 16 kB / 0.6591 GB, free: 15.02 MB / 490.7 MB Notification: Performance of sort global known variables: time 0.0003993/1.356, allocations: 291.2 kB / 0.6594 GB, free: 14.74 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001218/1.358, allocations: 143.8 kB / 0.6595 GB, free: 14.6 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.0002484/1.358, allocations: 119.1 kB / 0.6596 GB, free: 14.47 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.002805/1.361, allocations: 1.037 MB / 0.6606 GB, free: 13.38 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 4.409e-06/1.361, allocations: 4 kB / 0.6606 GB, free: 13.38 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00183/1.363, allocations: 0.7198 MB / 0.6613 GB, free: 12.61 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004185/1.363, allocations: 31.38 kB / 0.6614 GB, free: 12.57 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002194/1.365, allocations: 0.7853 MB / 0.6621 GB, free: 11.76 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006533/1.366, allocations: 0.8613 MB / 0.663 GB, free: 10.88 MB / 490.7 MB Notification: Performance of SimCode: time 6.62e-07/1.366, allocations: 0 / 0.663 GB, free: 10.88 MB / 490.7 MB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_OpenIPSL_Tests_Machines_PSAT_InductiveMotorV_SIMBOpenline_Test_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_OpenIPSL_Tests_Machines_PSAT_InductiveMotorV_SIMBOpenline_Test.fmu > OpenIPSL_OpenIPSL.Tests.Machines.PSAT.InductiveMotorV_SIMBOpenline_Test.pipe 2>&1)