Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.InductiveMotorV_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.InductiveMotorV_SIMBOpenline_Test,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Machines_PSAT_InductiveMotorV_SIMBOpenline_Test",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.InductiveMotorV_SIMBOpenline_Test,fileNamePrefix="OpenIPSL_2_0_0_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 3.2.3+maint.om/package.mo): time 0.003124/0.003124, allocations: 184.3 kB / 7.462 MB, free: 2.5 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.39/1.39, allocations: 205.2 MB / 213.1 MB, free: 13.87 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.0009277/0.0009276, allocations: 98.52 kB / 261.1 MB, free: 13.55 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.08162/0.08162, allocations: 12.19 MB / 321.2 MB, free: 1.309 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.3002/0.3002, allocations: 78.05 MB / 449.9 MB, free: 3.668 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.3364/0.6367, allocations: 76.09 MB / 0.5137 GB, free: 30.34 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1505/0.7872, allocations: 69.23 MB / 0.5813 GB, free: 9.203 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4098/1.197, allocations: 92.91 MB / 0.672 GB, free: 10.43 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003541/1.198, allocations: 76.5 kB / 0.6721 GB, free: 10.43 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.02847/1.226, allocations: 9.679 MB / 0.6815 GB, free: 6.66 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.716e-05/1.226, allocations: 11.94 kB / 0.6816 GB, free: 6.648 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001169/1.227, allocations: 204.8 kB / 0.6817 GB, free: 6.457 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006108/1.228, allocations: 393.8 kB / 0.6821 GB, free: 6.105 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001027/1.228, allocations: 79.75 kB / 0.6822 GB, free: 6.02 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.454e-05/1.228, allocations: 23.89 kB / 0.6822 GB, free: 5.996 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005245/1.229, allocations: 315.5 kB / 0.6825 GB, free: 5.809 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004945/1.229, allocations: 313.7 kB / 0.6828 GB, free: 5.594 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.208e-05/1.229, allocations: 0 / 0.6828 GB, free: 5.594 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.67e-05/1.229, allocations: 3.938 kB / 0.6828 GB, free: 5.59 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.734e-06/1.229, allocations: 4 kB / 0.6828 GB, free: 5.586 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001929/1.231, allocations: 1.11 MB / 0.6839 GB, free: 4.723 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004431/1.232, allocations: 319.8 kB / 0.6842 GB, free: 4.535 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002994/1.232, allocations: 224.2 kB / 0.6844 GB, free: 4.414 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.655e-05/1.232, allocations: 7.938 kB / 0.6844 GB, free: 4.406 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.595e-05/1.232, allocations: 34.38 kB / 0.6845 GB, free: 4.367 MB / 426.7 MB Notification: Performance of pre-optimization done (n=35): time 1.903e-06/1.232, allocations: 0 / 0.6845 GB, free: 4.367 MB / 426.7 MB Notification: Performance of matching and sorting (n=35): time 0.003385/1.235, allocations: 1.216 MB / 0.6857 GB, free: 3.336 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.119e-05/1.235, allocations: 55.41 kB / 0.6857 GB, free: 3.27 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003669/1.236, allocations: 360.7 kB / 0.6861 GB, free: 3 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.712e-05/1.236, allocations: 25.7 kB / 0.6861 GB, free: 2.969 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.871e-05/1.236, allocations: 154.1 kB / 0.6862 GB, free: 2.832 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.75e-05/1.236, allocations: 120.7 kB / 0.6863 GB, free: 2.727 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.765e-05/1.236, allocations: 0 / 0.6863 GB, free: 2.727 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 6.997e-05/1.236, allocations: 349.1 kB / 0.6867 GB, free: 2.395 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002612/1.236, allocations: 179.1 kB / 0.6868 GB, free: 2.301 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002511/1.237, allocations: 176.6 kB / 0.687 GB, free: 2.211 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002823/1.237, allocations: 196.5 kB / 0.6872 GB, free: 2.102 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/1.237, allocations: 4 kB / 0.6872 GB, free: 2.098 MB / 426.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.003809/1.241, allocations: 1.401 MB / 0.6886 GB, free: 0.9141 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.274e-05/1.241, allocations: 8 kB / 0.6886 GB, free: 0.9062 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.267e-06/1.241, allocations: 0 / 0.6886 GB, free: 0.9062 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003248/1.244, allocations: 0.8669 MB / 0.6894 GB, free: 140 kB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003076/1.244, allocations: 31.98 kB / 0.6895 GB, free: 108 kB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006344/1.251, allocations: 2.752 MB / 0.6921 GB, free: 13.76 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006816/1.251, allocations: 59.8 kB / 0.6922 GB, free: 13.7 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.078e-05/1.252, allocations: 8 kB / 0.6922 GB, free: 13.7 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 {8 7} Notification: Performance of prepare postOptimizeDAE: time 0.0001801/1.252, allocations: 108.9 kB / 0.6923 GB, free: 13.58 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001667/1.252, allocations: 43.44 kB / 0.6924 GB, free: 13.54 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003573/1.256, allocations: 1.259 MB / 0.6936 GB, free: 12.49 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.051e-06/1.256, allocations: 4 kB / 0.6936 GB, free: 12.49 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.477e-06/1.256, allocations: 3.906 kB / 0.6936 GB, free: 12.48 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.254e-06/1.256, allocations: 7.984 kB / 0.6936 GB, free: 12.48 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006628/1.256, allocations: 0.5031 MB / 0.6941 GB, free: 12.07 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.437e-06/1.256, allocations: 0 / 0.6941 GB, free: 12.07 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003232/1.257, allocations: 43.86 kB / 0.6941 GB, free: 12.03 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002208/1.259, allocations: 0.6236 MB / 0.6947 GB, free: 11.47 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.669e-05/1.259, allocations: 11.69 kB / 0.6948 GB, free: 11.46 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003153/1.262, allocations: 2.002 MB / 0.6967 GB, free: 9.633 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.358e-06/1.262, allocations: 0 / 0.6967 GB, free: 9.633 MB / 442.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.004049/1.266, allocations: 1.591 MB / 0.6983 GB, free: 8.363 MB / 442.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.004432/1.271, allocations: 2.251 MB / 0.7005 GB, free: 6.582 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000278/1.271, allocations: 127.3 kB / 0.7006 GB, free: 6.445 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001156/1.271, allocations: 4 kB / 0.7006 GB, free: 6.441 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005525/1.272, allocations: 43.95 kB / 0.7006 GB, free: 6.398 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001525/1.272, allocations: 46.55 kB / 0.7007 GB, free: 6.359 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.955e-05/1.272, allocations: 11.94 kB / 0.7007 GB, free: 6.348 MB / 442.7 MB Notification: Performance of sort global known variables: time 0.0003771/1.272, allocations: 292.3 kB / 0.701 GB, free: 6.145 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001217/1.273, allocations: 138.8 kB / 0.7011 GB, free: 6.012 MB / 442.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.0003063/1.274, allocations: 128.2 kB / 0.7012 GB, free: 5.883 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.002751/1.276, allocations: 1.034 MB / 0.7022 GB, free: 4.996 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.356e-06/1.277, allocations: 4 kB / 0.7022 GB, free: 4.992 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001663/1.278, allocations: 0.72 MB / 0.7029 GB, free: 4.324 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004063/1.279, allocations: 24.44 kB / 0.703 GB, free: 4.309 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00241/1.281, allocations: 0.7732 MB / 0.7037 GB, free: 3.578 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009185/1.282, allocations: 0.8653 MB / 0.7046 GB, free: 2.684 MB / 442.7 MB Notification: Performance of SimCode: time 1.623e-06/1.282, allocations: 0 / 0.7046 GB, free: 2.684 MB / 442.7 MB (rm -f OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.InductiveMotorV_SIMBOpenline_Test.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.InductiveMotorV_SIMBOpenline_Test.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.InductiveMotorV_SIMBOpenline_Test.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.InductiveMotorV_SIMBOpenline_Test.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_2_0_0_OpenIPSL_Tests_Machines_PSAT_InductiveMotorV_SIMBOpenline_Test_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_2_0_0_OpenIPSL_Tests_Machines_PSAT_InductiveMotorV_SIMBOpenline_Test.fmu > OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.InductiveMotorV_SIMBOpenline_Test.pipe 2>&1)