Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.InductiveMotorI_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.InductiveMotorI_SIMBOpenline_Test,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Machines_PSAT_InductiveMotorI_SIMBOpenline_Test",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.InductiveMotorI_SIMBOpenline_Test,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Machines_PSAT_InductiveMotorI_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.004161/0.004161, allocations: 181 kB / 7.457 MB, free: 2.242 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.425/1.425, allocations: 205.2 MB / 213.1 MB, free: 13.86 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.0009239/0.0009241, allocations: 96.22 kB / 261.1 MB, free: 13.61 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.08536/0.08536, allocations: 12.19 MB / 321.2 MB, free: 1.363 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.3024/0.3024, allocations: 78.04 MB / 449.9 MB, free: 3.668 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.3034/0.6059, allocations: 76.09 MB / 0.5137 GB, free: 30.31 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1412/0.7471, allocations: 69.23 MB / 0.5813 GB, free: 9.184 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4211/1.168, allocations: 92.21 MB / 0.6713 GB, free: 10.52 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002435/1.169, allocations: 77.05 kB / 0.6714 GB, free: 10.52 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: 57 * Number of variables: 57 Notification: Performance of Generate backend data structure: time 0.02285/1.191, allocations: 8.092 MB / 0.6793 GB, free: 7.918 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.519e-05/1.192, allocations: 13.53 kB / 0.6793 GB, free: 7.914 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001113/1.193, allocations: 197.2 kB / 0.6795 GB, free: 7.836 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004196/1.193, allocations: 324.9 kB / 0.6798 GB, free: 7.578 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000107/1.193, allocations: 81.7 kB / 0.6799 GB, free: 7.508 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.565e-05/1.193, allocations: 17.31 kB / 0.6799 GB, free: 7.504 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006765/1.194, allocations: 292.6 kB / 0.6802 GB, free: 7.492 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006041/1.195, allocations: 270.2 kB / 0.6804 GB, free: 7.426 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.245e-05/1.195, allocations: 0 / 0.6804 GB, free: 7.426 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.491e-05/1.195, allocations: 1.094 kB / 0.6804 GB, free: 7.426 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.339e-05/1.195, allocations: 5.125 kB / 0.6805 GB, free: 7.426 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001812/1.196, allocations: 1.014 MB / 0.6814 GB, free: 6.762 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003185/1.197, allocations: 187.6 kB / 0.6816 GB, free: 6.656 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002605/1.197, allocations: 197.9 kB / 0.6818 GB, free: 6.551 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.207e-05/1.197, allocations: 7.938 kB / 0.6818 GB, free: 6.543 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.702e-05/1.197, allocations: 34.55 kB / 0.6818 GB, free: 6.5 MB / 426.7 MB Notification: Performance of pre-optimization done (n=31): time 1.543e-06/1.197, allocations: 4 kB / 0.6819 GB, free: 6.496 MB / 426.7 MB Notification: Performance of matching and sorting (n=31): time 0.003462/1.201, allocations: 1.203 MB / 0.683 GB, free: 5.465 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.014e-05/1.201, allocations: 59.31 kB / 0.6831 GB, free: 5.395 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002447/1.201, allocations: 267.5 kB / 0.6833 GB, free: 5.184 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.03e-05/1.201, allocations: 25.7 kB / 0.6834 GB, free: 5.152 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.761e-05/1.201, allocations: 138.1 kB / 0.6835 GB, free: 5.027 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.542e-05/1.201, allocations: 104.6 kB / 0.6836 GB, free: 4.934 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.521e-05/1.201, allocations: 4 kB / 0.6836 GB, free: 4.93 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 5.675e-05/1.201, allocations: 341.2 kB / 0.6839 GB, free: 4.602 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002242/1.201, allocations: 158.4 kB / 0.6841 GB, free: 4.52 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002213/1.202, allocations: 163.9 kB / 0.6842 GB, free: 4.434 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002371/1.202, allocations: 167.4 kB / 0.6844 GB, free: 4.348 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.006e-06/1.202, allocations: 3.906 kB / 0.6844 GB, free: 4.344 MB / 426.7 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.00362/1.205, allocations: 1.292 MB / 0.6857 GB, free: 3.242 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.596e-05/1.206, allocations: 4 kB / 0.6857 GB, free: 3.238 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.695e-06/1.206, allocations: 3.938 kB / 0.6857 GB, free: 3.234 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002764/1.208, allocations: 0.7556 MB / 0.6864 GB, free: 2.562 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002083/1.209, allocations: 35.48 kB / 0.6864 GB, free: 2.531 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003829/1.212, allocations: 2.458 MB / 0.6888 GB, free: 432 kB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006004/1.213, allocations: 67.84 kB / 0.6889 GB, free: 364 kB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.547e-05/1.213, allocations: 4 kB / 0.6889 GB, free: 360 kB / 426.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 (21): * Single equations (assignments): 18 * 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 {5 7} Notification: Performance of prepare postOptimizeDAE: time 0.0001271/1.213, allocations: 108.9 kB / 0.689 GB, free: 244 kB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.962e-05/1.213, allocations: 35.53 kB / 0.689 GB, free: 208 kB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003682/1.217, allocations: 1.255 MB / 0.6903 GB, free: 15.15 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.161e-06/1.217, allocations: 4 kB / 0.6903 GB, free: 15.14 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.561e-06/1.217, allocations: 0 / 0.6903 GB, free: 15.14 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.865e-06/1.217, allocations: 4 kB / 0.6903 GB, free: 15.14 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000582/1.218, allocations: 469.5 kB / 0.6907 GB, free: 14.76 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.294e-06/1.218, allocations: 3.938 kB / 0.6907 GB, free: 14.76 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002267/1.218, allocations: 27.98 kB / 0.6908 GB, free: 14.73 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002474/1.22, allocations: 0.6699 MB / 0.6914 GB, free: 14.14 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.578e-05/1.22, allocations: 3.906 kB / 0.6914 GB, free: 14.14 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003623/1.224, allocations: 2.095 MB / 0.6935 GB, free: 12.27 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.417e-06/1.224, allocations: 0 / 0.6935 GB, free: 12.27 MB / 442.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.004223/1.228, allocations: 1.569 MB / 0.695 GB, free: 11.02 MB / 442.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.005392/1.234, allocations: 2.2 MB / 0.6971 GB, free: 9.27 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000254/1.234, allocations: 120.3 kB / 0.6973 GB, free: 9.137 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.82e-05/1.234, allocations: 0 / 0.6973 GB, free: 9.137 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006327/1.235, allocations: 56 kB / 0.6973 GB, free: 9.082 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001669/1.235, allocations: 31.56 kB / 0.6973 GB, free: 9.055 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.257e-05/1.235, allocations: 15.62 kB / 0.6974 GB, free: 9.043 MB / 442.7 MB Notification: Performance of sort global known variables: time 0.0003177/1.235, allocations: 207 kB / 0.6975 GB, free: 8.883 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001405/1.237, allocations: 155.1 kB / 0.6977 GB, free: 8.738 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (motorTypeI.s) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 19 * 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.0002769/1.237, allocations: 111.2 kB / 0.6978 GB, free: 8.621 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.002143/1.239, allocations: 0.9003 MB / 0.6987 GB, free: 7.844 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/1.239, allocations: 0 / 0.6987 GB, free: 7.844 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001572/1.241, allocations: 0.7027 MB / 0.6994 GB, free: 7.184 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003285/1.241, allocations: 15.28 kB / 0.6994 GB, free: 7.18 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006956/1.248, allocations: 0.8858 MB / 0.7002 GB, free: 6.332 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006088/1.249, allocations: 0.8228 MB / 0.7011 GB, free: 5.488 MB / 442.7 MB Notification: Performance of SimCode: time 1.052e-06/1.249, allocations: 0 / 0.7011 GB, free: 5.488 MB / 442.7 MB (rm -f OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.InductiveMotorI_SIMBOpenline_Test.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.InductiveMotorI_SIMBOpenline_Test.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.InductiveMotorI_SIMBOpenline_Test.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.InductiveMotorI_SIMBOpenline_Test.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_2_0_0_OpenIPSL_Tests_Machines_PSAT_InductiveMotorI_SIMBOpenline_Test_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_2_0_0_OpenIPSL_Tests_Machines_PSAT_InductiveMotorI_SIMBOpenline_Test.fmu > OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.InductiveMotorI_SIMBOpenline_Test.pipe 2>&1)