Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.InductiveMotorIII_SIMBOpenline_Test.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo", uses=false) Using package OpenIPSL with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.InductiveMotorIII_SIMBOpenline_Test,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Machines_PSAT_InductiveMotorIII_SIMBOpenline_Test",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.InductiveMotorIII_SIMBOpenline_Test,fileNamePrefix="OpenIPSL_2_0_0_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 3.2.3+maint.om/package.mo): time 0.00385/0.00385, allocations: 175.2 kB / 7.451 MB, free: 2.004 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.427/1.427, allocations: 205.2 MB / 213.1 MB, free: 13.99 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009174/0.0009174, allocations: 95.3 kB / 261.1 MB, free: 13.56 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.08079/0.08079, allocations: 12.19 MB / 321.2 MB, free: 1.316 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.2901/0.2901, allocations: 78.05 MB / 449.9 MB, free: 3.676 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2894/0.5796, allocations: 76.09 MB / 0.5137 GB, free: 30.34 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1476/0.7272, allocations: 69.23 MB / 0.5813 GB, free: 9.203 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4514/1.179, allocations: 92.77 MB / 0.6719 GB, free: 10.75 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000267/1.179, allocations: 75.48 kB / 0.6719 GB, free: 10.75 MB / 426.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.02826/1.207, allocations: 9.231 MB / 0.681 GB, free: 7.434 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.48e-05/1.207, allocations: 11.94 kB / 0.681 GB, free: 7.422 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001096/1.208, allocations: 207.6 kB / 0.6812 GB, free: 7.238 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005168/1.209, allocations: 379.2 kB / 0.6815 GB, free: 6.895 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001005/1.209, allocations: 83.17 kB / 0.6816 GB, free: 6.805 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.44e-05/1.209, allocations: 16 kB / 0.6816 GB, free: 6.789 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005204/1.21, allocations: 313.9 kB / 0.6819 GB, free: 6.594 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004704/1.21, allocations: 303.1 kB / 0.6822 GB, free: 6.387 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.253e-05/1.21, allocations: 0 / 0.6822 GB, free: 6.387 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.666e-05/1.21, allocations: 0 / 0.6822 GB, free: 6.387 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.818e-06/1.21, allocations: 12 kB / 0.6822 GB, free: 6.375 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001801/1.212, allocations: 1.073 MB / 0.6833 GB, free: 5.535 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00044/1.212, allocations: 331.1 kB / 0.6836 GB, free: 5.328 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002641/1.213, allocations: 209 kB / 0.6838 GB, free: 5.219 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.669e-05/1.213, allocations: 8 kB / 0.6838 GB, free: 5.211 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.356e-05/1.213, allocations: 42.48 kB / 0.6838 GB, free: 5.16 MB / 426.7 MB Notification: Performance of pre-optimization done (n=35): time 1.463e-06/1.213, allocations: 0 / 0.6838 GB, free: 5.16 MB / 426.7 MB Notification: Performance of matching and sorting (n=35): time 0.003083/1.216, allocations: 1.188 MB / 0.685 GB, free: 4.152 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.066e-05/1.216, allocations: 59.31 kB / 0.685 GB, free: 4.082 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003406/1.216, allocations: 334.1 kB / 0.6854 GB, free: 3.828 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.245e-05/1.216, allocations: 25.7 kB / 0.6854 GB, free: 3.797 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.588e-05/1.216, allocations: 155.3 kB / 0.6855 GB, free: 3.66 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.969e-05/1.216, allocations: 118.2 kB / 0.6856 GB, free: 3.555 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.62e-05/1.216, allocations: 4 kB / 0.6857 GB, free: 3.551 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 7.199e-05/1.217, allocations: 357.9 kB / 0.686 GB, free: 3.211 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002318/1.217, allocations: 162 kB / 0.6861 GB, free: 3.125 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00023/1.217, allocations: 170.3 kB / 0.6863 GB, free: 3.039 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002493/1.217, allocations: 174 kB / 0.6865 GB, free: 2.949 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/1.217, allocations: 0 / 0.6865 GB, free: 2.949 MB / 426.7 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.003515/1.221, allocations: 1.327 MB / 0.6878 GB, free: 1.82 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.583e-05/1.221, allocations: 4 kB / 0.6878 GB, free: 1.816 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.472e-06/1.221, allocations: 0 / 0.6878 GB, free: 1.816 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002593/1.223, allocations: 0.7523 MB / 0.6885 GB, free: 1.152 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002526/1.224, allocations: 43.91 kB / 0.6886 GB, free: 1.109 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004409/1.228, allocations: 2.492 MB / 0.691 GB, free: 14.94 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006322/1.229, allocations: 59.72 kB / 0.691 GB, free: 14.88 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.954e-05/1.229, allocations: 10.38 kB / 0.6911 GB, free: 14.88 MB / 442.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.0001545/1.229, allocations: 104.6 kB / 0.6912 GB, free: 14.77 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.086e-05/1.229, allocations: 39.53 kB / 0.6912 GB, free: 14.73 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003523/1.233, allocations: 1.247 MB / 0.6924 GB, free: 13.68 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.831e-06/1.233, allocations: 4 kB / 0.6924 GB, free: 13.68 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.562e-06/1.233, allocations: 4 kB / 0.6924 GB, free: 13.68 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.584e-06/1.233, allocations: 3.984 kB / 0.6924 GB, free: 13.67 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006334/1.233, allocations: 493.9 kB / 0.6929 GB, free: 13.27 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.484e-06/1.233, allocations: 4 kB / 0.6929 GB, free: 13.27 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002894/1.234, allocations: 42.8 kB / 0.6929 GB, free: 13.23 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002124/1.236, allocations: 0.6229 MB / 0.6935 GB, free: 12.68 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.628e-05/1.236, allocations: 0 / 0.6935 GB, free: 12.68 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003257/1.239, allocations: 2.014 MB / 0.6955 GB, free: 10.84 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.298e-06/1.239, allocations: 4 kB / 0.6955 GB, free: 10.84 MB / 442.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.004018/1.243, allocations: 1.566 MB / 0.697 GB, free: 9.582 MB / 442.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.004624/1.248, allocations: 2.204 MB / 0.6992 GB, free: 7.832 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003062/1.248, allocations: 122.7 kB / 0.6993 GB, free: 7.699 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.094e-05/1.248, allocations: 11.2 kB / 0.6993 GB, free: 7.691 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005352/1.249, allocations: 43.97 kB / 0.6994 GB, free: 7.648 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001854/1.249, allocations: 39.17 kB / 0.6994 GB, free: 7.613 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.871e-05/1.249, allocations: 11.56 kB / 0.6994 GB, free: 7.605 MB / 442.7 MB Notification: Performance of sort global known variables: time 0.0003724/1.249, allocations: 273.5 kB / 0.6997 GB, free: 7.406 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.00123/1.251, allocations: 143.8 kB / 0.6998 GB, free: 7.27 MB / 442.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.0002442/1.251, allocations: 119.2 kB / 0.6999 GB, free: 7.145 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.002612/1.253, allocations: 0.9931 MB / 0.7009 GB, free: 6.285 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/1.253, allocations: 0 / 0.7009 GB, free: 6.285 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001635/1.255, allocations: 0.7292 MB / 0.7016 GB, free: 5.605 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003431/1.255, allocations: 20.25 kB / 0.7016 GB, free: 5.598 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001779/1.257, allocations: 0.644 MB / 0.7023 GB, free: 5.004 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000556/1.258, allocations: 0.8496 MB / 0.7031 GB, free: 4.125 MB / 442.7 MB Notification: Performance of SimCode: time 8.62e-07/1.258, allocations: 4 kB / 0.7031 GB, free: 4.121 MB / 442.7 MB (rm -f OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.InductiveMotorIII_SIMBOpenline_Test.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.InductiveMotorIII_SIMBOpenline_Test.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.InductiveMotorIII_SIMBOpenline_Test.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.InductiveMotorIII_SIMBOpenline_Test.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_2_0_0_OpenIPSL_Tests_Machines_PSAT_InductiveMotorIII_SIMBOpenline_Test_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_2_0_0_OpenIPSL_Tests_Machines_PSAT_InductiveMotorIII_SIMBOpenline_Test.fmu > OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.InductiveMotorIII_SIMBOpenline_Test.pipe 2>&1)