Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_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.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.InductiveMotorIII_SIMBOpenline_Test,fileNamePrefix="OpenIPSL_release_OpenIPSL_Tests_Machines_PSAT_InductiveMotorIII_SIMBOpenline_Test",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.InductiveMotorIII_SIMBOpenline_Test,fileNamePrefix="OpenIPSL_release_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.001825/0.001825, allocations: 179.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.077/1.077, allocations: 221.4 MB / 229.3 MB, free: 3.059 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.0008144/0.0008145, allocations: 101 kB / 280.1 MB, free: 1.18 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.3795/0.3795, allocations: 78.1 MB / 409 MB, free: 15.54 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1292/0.5088, allocations: 75.48 MB / 484.5 MB, free: 4.34 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2757/0.7845, allocations: 69.35 MB / 0.5408 GB, free: 21.14 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09889/0.8834, allocations: 91.27 MB / 0.63 GB, free: 13.42 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000244/0.8837, allocations: 79.95 kB / 0.63 GB, free: 13.34 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.02423/0.9079, allocations: 9.545 MB / 0.6394 GB, free: 3.691 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.01e-05/0.908, allocations: 11.94 kB / 0.6394 GB, free: 3.68 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001045/0.909, allocations: 199.2 kB / 0.6396 GB, free: 3.484 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004562/0.9095, allocations: 379.7 kB / 0.6399 GB, free: 3.07 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.15e-05/0.9096, allocations: 76.05 kB / 0.64 GB, free: 2.984 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.381e-05/0.9097, allocations: 19.91 kB / 0.64 GB, free: 2.965 MB / 458.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005208/0.9102, allocations: 313.3 kB / 0.6403 GB, free: 2.66 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004775/0.9107, allocations: 300.8 kB / 0.6406 GB, free: 2.359 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.798e-06/0.9107, allocations: 3.938 kB / 0.6406 GB, free: 2.355 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.227e-05/0.9107, allocations: 4 kB / 0.6406 GB, free: 2.352 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.606e-06/0.9107, allocations: 8 kB / 0.6406 GB, free: 2.344 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001833/0.9126, allocations: 1.08 MB / 0.6417 GB, free: 1.227 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004927/0.9131, allocations: 330.7 kB / 0.642 GB, free: 0.8867 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002946/0.9134, allocations: 204.9 kB / 0.6422 GB, free: 0.6836 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.506e-05/0.9135, allocations: 8.578 kB / 0.6422 GB, free: 0.6758 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.098e-05/0.9135, allocations: 38.56 kB / 0.6422 GB, free: 0.6289 MB / 458.7 MB Notification: Performance of pre-optimization done (n=35): time 1.413e-06/0.9135, allocations: 0 / 0.6422 GB, free: 0.6289 MB / 458.7 MB Notification: Performance of matching and sorting (n=35): time 0.003344/0.9168, allocations: 1.202 MB / 0.6434 GB, free: 15.41 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.32e-05/0.9169, allocations: 55.41 kB / 0.6435 GB, free: 15.34 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000356/0.9172, allocations: 330.1 kB / 0.6438 GB, free: 15.02 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 3.237e-05/0.9173, allocations: 25.7 kB / 0.6438 GB, free: 14.98 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.707e-05/0.9174, allocations: 160.5 kB / 0.644 GB, free: 14.82 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.881e-05/0.9175, allocations: 118.2 kB / 0.6441 GB, free: 14.71 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.714e-05/0.9175, allocations: 0 / 0.6441 GB, free: 14.71 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001164/0.9176, allocations: 362.6 kB / 0.6444 GB, free: 14.34 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002612/0.9179, allocations: 160.7 kB / 0.6446 GB, free: 14.18 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002631/0.9181, allocations: 169 kB / 0.6447 GB, free: 14.02 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002784/0.9184, allocations: 178.2 kB / 0.6449 GB, free: 13.85 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.824e-06/0.9184, allocations: 0 / 0.6449 GB, free: 13.85 MB / 474.7 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.003696/0.9221, allocations: 1.323 MB / 0.6462 GB, free: 12.51 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.685e-05/0.9222, allocations: 7.906 kB / 0.6462 GB, free: 12.5 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.66e-06/0.9222, allocations: 0 / 0.6462 GB, free: 12.5 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002666/0.9249, allocations: 0.7479 MB / 0.6469 GB, free: 11.74 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002179/0.9251, allocations: 43.92 kB / 0.647 GB, free: 11.7 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004116/0.9292, allocations: 2.494 MB / 0.6494 GB, free: 9.094 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000481/0.9297, allocations: 55.81 kB / 0.6495 GB, free: 9.039 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.884e-05/0.9297, allocations: 12 kB / 0.6495 GB, free: 9.027 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.0001111/0.9299, allocations: 111 kB / 0.6496 GB, free: 8.914 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.919e-05/0.93, allocations: 39.53 kB / 0.6496 GB, free: 8.875 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003332/0.9333, allocations: 1.245 MB / 0.6508 GB, free: 7.613 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.889e-06/0.9333, allocations: 4 kB / 0.6508 GB, free: 7.609 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.21e-06/0.9333, allocations: 8 kB / 0.6508 GB, free: 7.602 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.372e-06/0.9333, allocations: 3.984 kB / 0.6508 GB, free: 7.598 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004848/0.9338, allocations: 493.4 kB / 0.6513 GB, free: 7.078 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.893e-06/0.9338, allocations: 0 / 0.6513 GB, free: 7.078 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002605/0.9341, allocations: 39.91 kB / 0.6513 GB, free: 7.039 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001911/0.936, allocations: 0.6114 MB / 0.6519 GB, free: 6.418 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.324e-05/0.9361, allocations: 3.938 kB / 0.652 GB, free: 6.414 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002813/0.9389, allocations: 2.015 MB / 0.6539 GB, free: 4.281 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.345e-06/0.9389, allocations: 0 / 0.6539 GB, free: 4.281 MB / 474.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003663/0.9426, allocations: 1.579 MB / 0.6555 GB, free: 2.676 MB / 474.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.004075/0.9467, allocations: 2.2 MB / 0.6576 GB, free: 456 kB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001002/0.9468, allocations: 120.5 kB / 0.6577 GB, free: 316 kB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.46e-05/0.9468, allocations: 4 kB / 0.6577 GB, free: 312 kB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004726/0.9473, allocations: 43.97 kB / 0.6578 GB, free: 268 kB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001151/0.9474, allocations: 44.52 kB / 0.6578 GB, free: 224 kB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.48e-05/0.9475, allocations: 8 kB / 0.6578 GB, free: 216 kB / 474.7 MB Notification: Performance of sort global known variables: time 0.0002783/0.9478, allocations: 268.5 kB / 0.6581 GB, free: 15.95 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001012/0.9488, allocations: 151.9 kB / 0.6582 GB, free: 15.8 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.0001794/0.949, allocations: 131.2 kB / 0.6583 GB, free: 15.66 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.002214/0.9512, allocations: 0.9897 MB / 0.6593 GB, free: 14.62 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.943e-06/0.9512, allocations: 0 / 0.6593 GB, free: 14.62 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001523/0.9527, allocations: 0.7236 MB / 0.66 GB, free: 13.84 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002357/0.953, allocations: 21.28 kB / 0.66 GB, free: 13.82 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001403/0.9544, allocations: 0.6449 MB / 0.6607 GB, free: 13.15 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003804/0.9548, allocations: 0.8574 MB / 0.6615 GB, free: 12.26 MB / 490.7 MB Notification: Performance of SimCode: time 2.5e-07/0.9548, allocations: 0 / 0.6615 GB, free: 12.26 MB / 490.7 MB (rm -f OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.InductiveMotorIII_SIMBOpenline_Test.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.InductiveMotorIII_SIMBOpenline_Test.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.InductiveMotorIII_SIMBOpenline_Test.pipe >> ../files/OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.InductiveMotorIII_SIMBOpenline_Test.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_release_OpenIPSL_Tests_Machines_PSAT_InductiveMotorIII_SIMBOpenline_Test_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_release_OpenIPSL_Tests_Machines_PSAT_InductiveMotorIII_SIMBOpenline_Test.fmu > OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.InductiveMotorIII_SIMBOpenline_Test.pipe 2>&1)