Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Tests.Machines.PSAT.InductiveMotorIII_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.InductiveMotorIII_SIMBOpenline_Test,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Machines_PSAT_InductiveMotorIII_SIMBOpenline_Test",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.InductiveMotorIII_SIMBOpenline_Test,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Machines_PSAT_InductiveMotorIII_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.002414/0.002414, allocations: 182.7 kB / 7.459 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.334/1.334, allocations: 221.4 MB / 229.3 MB, free: 3.074 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.0009198/0.0009197, allocations: 96.64 kB / 280.1 MB, free: 1.273 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.5162/0.5162, allocations: 78.06 MB / 408.9 MB, free: 15.55 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1793/0.6956, allocations: 75.49 MB / 484.4 MB, free: 4.371 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4293/1.125, allocations: 69.35 MB / 0.5408 GB, free: 21.48 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1301/1.255, allocations: 91.27 MB / 0.6299 GB, free: 13.57 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003559/1.256, allocations: 75.97 kB / 0.63 GB, free: 13.5 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.02854/1.284, allocations: 9.553 MB / 0.6393 GB, free: 3.836 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.656e-05/1.284, allocations: 11.94 kB / 0.6394 GB, free: 3.824 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001132/1.285, allocations: 195.2 kB / 0.6395 GB, free: 3.633 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006042/1.286, allocations: 379.7 kB / 0.6399 GB, free: 3.219 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001464/1.286, allocations: 80.05 kB / 0.64 GB, free: 3.129 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.384e-05/1.286, allocations: 19.91 kB / 0.64 GB, free: 3.109 MB / 458.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000619/1.287, allocations: 313.3 kB / 0.6403 GB, free: 2.805 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005884/1.287, allocations: 308.7 kB / 0.6406 GB, free: 2.496 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.604e-05/1.287, allocations: 0 / 0.6406 GB, free: 2.496 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.754e-05/1.287, allocations: 0 / 0.6406 GB, free: 2.496 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.435e-05/1.287, allocations: 12 kB / 0.6406 GB, free: 2.484 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00212/1.29, allocations: 1.068 MB / 0.6416 GB, free: 1.379 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005432/1.29, allocations: 326.8 kB / 0.642 GB, free: 1.047 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003384/1.29, allocations: 212.8 kB / 0.6422 GB, free: 0.8359 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.239e-05/1.291, allocations: 4.594 kB / 0.6422 GB, free: 0.832 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.549e-05/1.291, allocations: 38.56 kB / 0.6422 GB, free: 0.7852 MB / 458.7 MB Notification: Performance of pre-optimization done (n=35): time 2.595e-06/1.291, allocations: 0 / 0.6422 GB, free: 0.7852 MB / 458.7 MB Notification: Performance of matching and sorting (n=35): time 0.003774/1.294, allocations: 1.205 MB / 0.6434 GB, free: 15.56 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.809e-05/1.294, allocations: 55.41 kB / 0.6434 GB, free: 15.5 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004985/1.295, allocations: 338.1 kB / 0.6438 GB, free: 15.16 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 5.278e-05/1.295, allocations: 25.7 kB / 0.6438 GB, free: 15.13 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000114/1.295, allocations: 152.5 kB / 0.6439 GB, free: 14.98 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001263/1.295, allocations: 114.2 kB / 0.644 GB, free: 14.86 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.676e-05/1.295, allocations: 4 kB / 0.644 GB, free: 14.86 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001756/1.296, allocations: 358.7 kB / 0.6444 GB, free: 14.5 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002907/1.296, allocations: 164.7 kB / 0.6445 GB, free: 14.34 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002778/1.296, allocations: 165 kB / 0.6447 GB, free: 14.18 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003224/1.296, allocations: 178.2 kB / 0.6449 GB, free: 14 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.248e-06/1.296, allocations: 0 / 0.6449 GB, free: 14 MB / 474.7 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.004095/1.301, allocations: 1.327 MB / 0.6462 GB, free: 12.66 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.213e-05/1.301, allocations: 7.906 kB / 0.6462 GB, free: 12.65 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.107e-06/1.301, allocations: 0 / 0.6462 GB, free: 12.65 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002898/1.303, allocations: 0.7465 MB / 0.6469 GB, free: 11.9 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002862/1.304, allocations: 39.98 kB / 0.6469 GB, free: 11.86 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004778/1.309, allocations: 2.498 MB / 0.6494 GB, free: 9.25 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006819/1.309, allocations: 63.78 kB / 0.6494 GB, free: 9.188 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.238e-05/1.309, allocations: 12 kB / 0.6494 GB, free: 9.176 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 {7 6} Notification: Performance of prepare postOptimizeDAE: time 0.0002479/1.31, allocations: 108.8 kB / 0.6495 GB, free: 9.062 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.806e-05/1.31, allocations: 39.53 kB / 0.6496 GB, free: 9.023 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003711/1.313, allocations: 1.238 MB / 0.6508 GB, free: 7.77 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.745e-06/1.313, allocations: 4 kB / 0.6508 GB, free: 7.766 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.05e-05/1.313, allocations: 4 kB / 0.6508 GB, free: 7.762 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.113e-06/1.313, allocations: 7.938 kB / 0.6508 GB, free: 7.754 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007417/1.314, allocations: 493.4 kB / 0.6513 GB, free: 7.234 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.472e-06/1.314, allocations: 4 kB / 0.6513 GB, free: 7.23 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003113/1.315, allocations: 35.92 kB / 0.6513 GB, free: 7.195 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002079/1.317, allocations: 0.6192 MB / 0.6519 GB, free: 6.566 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.137e-05/1.317, allocations: 3.938 kB / 0.6519 GB, free: 6.562 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003194/1.32, allocations: 2.01 MB / 0.6539 GB, free: 4.434 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.768e-06/1.32, allocations: 4 kB / 0.6539 GB, free: 4.43 MB / 474.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00417/1.324, allocations: 1.567 MB / 0.6554 GB, free: 2.836 MB / 474.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.004688/1.329, allocations: 2.212 MB / 0.6576 GB, free: 0.5938 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002215/1.329, allocations: 120.6 kB / 0.6577 GB, free: 468 kB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.143e-05/1.329, allocations: 0 / 0.6577 GB, free: 468 kB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005164/1.33, allocations: 47.95 kB / 0.6577 GB, free: 420 kB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001407/1.33, allocations: 44.52 kB / 0.6578 GB, free: 376 kB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.602e-05/1.33, allocations: 12 kB / 0.6578 GB, free: 364 kB / 474.7 MB Notification: Performance of sort global known variables: time 0.0003338/1.33, allocations: 264.6 kB / 0.658 GB, free: 100 kB / 474.7 MB Notification: Performance of remove unused functions: time 0.00115/1.331, allocations: 155.9 kB / 0.6582 GB, free: 15.95 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (motorTypeI.s,motorTypeI.epr,motorTypeI.epm) * 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.000245/1.332, allocations: 123.2 kB / 0.6583 GB, free: 15.81 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.002578/1.334, allocations: 0.9974 MB / 0.6593 GB, free: 14.76 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.925e-06/1.334, allocations: 0 / 0.6593 GB, free: 14.76 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001768/1.336, allocations: 0.7198 MB / 0.66 GB, free: 13.99 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004989/1.337, allocations: 17.28 kB / 0.66 GB, free: 13.97 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001976/1.339, allocations: 0.6526 MB / 0.6606 GB, free: 13.3 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005556/1.339, allocations: 0.8496 MB / 0.6615 GB, free: 12.42 MB / 490.7 MB Notification: Performance of SimCode: time 1.563e-06/1.339, allocations: 0 / 0.6615 GB, free: 12.42 MB / 490.7 MB (rm -f OpenIPSL_OpenIPSL.Tests.Machines.PSAT.InductiveMotorIII_SIMBOpenline_Test.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Machines.PSAT.InductiveMotorIII_SIMBOpenline_Test.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Machines.PSAT.InductiveMotorIII_SIMBOpenline_Test.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Machines.PSAT.InductiveMotorIII_SIMBOpenline_Test.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_OpenIPSL_Tests_Machines_PSAT_InductiveMotorIII_SIMBOpenline_Test_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_OpenIPSL_Tests_Machines_PSAT_InductiveMotorIII_SIMBOpenline_Test.fmu > OpenIPSL_OpenIPSL.Tests.Machines.PSAT.InductiveMotorIII_SIMBOpenline_Test.pipe 2>&1)