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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001348/0.001348, allocations: 174.7 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.431/1.431, allocations: 205.2 MB / 218.5 MB, free: 9.211 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.0009268/0.0009266, allocations: 92.53 kB / 266.6 MB, free: 9.273 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.07138/0.07138, allocations: 12.21 MB / 326.9 MB, free: 12.88 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.282/0.282, allocations: 78.03 MB / 455.7 MB, free: 15.36 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 3.416e-05/3.418e-05, allocations: 4 kB / 0.5213 GB, free: 24.11 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.14/0.14, allocations: 69.24 MB / 0.5889 GB, free: 2.93 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4634/0.6035, allocations: 93.5 MB / 0.6802 GB, free: 6.684 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002359/0.6038, allocations: 74.52 kB / 0.6803 GB, free: 6.645 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02068/0.6245, allocations: 8.796 MB / 0.6889 GB, free: 15.15 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.362e-06/0.6245, allocations: 0 / 0.6889 GB, free: 15.15 MB / 442.7 MB Notification: Performance of Transformations before backend: time 1.479e-05/0.6245, allocations: 4 kB / 0.6889 GB, free: 15.15 MB / 442.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.001799/0.6263, allocations: 0.8106 MB / 0.6897 GB, free: 14.34 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.432e-05/0.6264, allocations: 11.98 kB / 0.6897 GB, free: 14.32 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.813e-05/0.6265, allocations: 71.03 kB / 0.6898 GB, free: 14.27 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009626/0.6275, allocations: 179.5 kB / 0.69 GB, free: 14.1 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004802/0.628, allocations: 384.2 kB / 0.6903 GB, free: 13.76 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001089/0.6281, allocations: 91.02 kB / 0.6904 GB, free: 13.66 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.383e-05/0.6281, allocations: 27.25 kB / 0.6904 GB, free: 13.64 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005311/0.6287, allocations: 337.2 kB / 0.6908 GB, free: 13.43 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.918e-06/0.6287, allocations: 0 / 0.6908 GB, free: 13.43 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.48e-05/0.6287, allocations: 10.98 kB / 0.6908 GB, free: 13.42 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.395e-06/0.6288, allocations: 8 kB / 0.6908 GB, free: 13.41 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005016/0.6293, allocations: 332.6 kB / 0.6911 GB, free: 13.21 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001862/0.6311, allocations: 1.135 MB / 0.6922 GB, free: 12.3 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006698/0.6378, allocations: 1.72 MB / 0.6939 GB, free: 10.73 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003776/0.6383, allocations: 218.9 kB / 0.6941 GB, free: 10.61 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.559e-05/0.6384, allocations: 6.75 kB / 0.6941 GB, free: 10.61 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.983e-05/0.6384, allocations: 33.81 kB / 0.6941 GB, free: 10.57 MB / 442.7 MB Notification: Performance of pre-optimization done (n=35): time 2.584e-06/0.6384, allocations: 0 / 0.6941 GB, free: 10.57 MB / 442.7 MB Notification: Performance of matching and sorting (n=35): time 0.003267/0.6417, allocations: 1.167 MB / 0.6953 GB, free: 9.582 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.833e-05/0.6417, allocations: 59.34 kB / 0.6953 GB, free: 9.516 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004447/0.6422, allocations: 350.8 kB / 0.6957 GB, free: 9.246 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 3.526e-05/0.6422, allocations: 29.64 kB / 0.6957 GB, free: 9.215 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001441/0.6424, allocations: 207.1 kB / 0.6959 GB, free: 9.074 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001087/0.6425, allocations: 124.4 kB / 0.696 GB, free: 8.965 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.379e-05/0.6425, allocations: 7.25 kB / 0.696 GB, free: 8.965 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001109/0.6426, allocations: 349.5 kB / 0.6963 GB, free: 8.629 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002573/0.6429, allocations: 180.6 kB / 0.6965 GB, free: 8.527 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002536/0.6432, allocations: 182 kB / 0.6967 GB, free: 8.43 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002712/0.6434, allocations: 183.4 kB / 0.6969 GB, free: 8.328 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.6434, allocations: 0 / 0.6969 GB, free: 8.328 MB / 442.7 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.003434/0.6469, allocations: 1.283 MB / 0.6981 GB, free: 7.254 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.211e-05/0.6469, allocations: 8 kB / 0.6981 GB, free: 7.246 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.565e-06/0.6469, allocations: 0 / 0.6981 GB, free: 7.246 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002503/0.6494, allocations: 0.7474 MB / 0.6989 GB, free: 6.586 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002053/0.6497, allocations: 31.98 kB / 0.6989 GB, free: 6.555 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00419/0.6539, allocations: 2.66 MB / 0.7015 GB, free: 4.297 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005229/0.6544, allocations: 59.34 kB / 0.7015 GB, free: 4.242 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.372e-05/0.6544, allocations: 7.312 kB / 0.7015 GB, free: 4.238 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.0001368/0.6546, allocations: 122.9 kB / 0.7017 GB, free: 4.121 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.418e-05/0.6547, allocations: 43.48 kB / 0.7017 GB, free: 4.078 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003233/0.6579, allocations: 1.222 MB / 0.7029 GB, free: 3.074 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.402e-06/0.6579, allocations: 7.984 kB / 0.7029 GB, free: 3.066 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.297e-06/0.658, allocations: 0 / 0.7029 GB, free: 3.066 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.649e-06/0.658, allocations: 0 / 0.7029 GB, free: 3.066 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005857/0.6586, allocations: 0.5418 MB / 0.7034 GB, free: 2.602 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.695e-06/0.6586, allocations: 0 / 0.7034 GB, free: 2.602 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002491/0.6588, allocations: 43.23 kB / 0.7035 GB, free: 2.562 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001817/0.6606, allocations: 0.5911 MB / 0.7041 GB, free: 2.043 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.426e-05/0.6607, allocations: 6.547 kB / 0.7041 GB, free: 2.039 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002739/0.6634, allocations: 2.142 MB / 0.7061 GB, free: 140 kB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.6635, allocations: 0 / 0.7061 GB, free: 140 kB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003677/0.6671, allocations: 1.545 MB / 0.7077 GB, free: 14.91 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001525/0.6673, allocations: 135.5 kB / 0.7078 GB, free: 14.77 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.784e-05/0.6674, allocations: 10.17 kB / 0.7078 GB, free: 14.76 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004615/0.6678, allocations: 47.47 kB / 0.7078 GB, free: 14.72 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000228/0.6681, allocations: 90.02 kB / 0.7079 GB, free: 14.64 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.891e-05/0.6681, allocations: 7.875 kB / 0.7079 GB, free: 14.64 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0003144/0.6684, allocations: 282.9 kB / 0.7082 GB, free: 14.43 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.6684, allocations: 0 / 0.7082 GB, free: 14.43 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0005203/0.669, allocations: 150.2 kB / 0.7083 GB, free: 14.3 MB / 458.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.003931/0.6729, allocations: 2.094 MB / 0.7104 GB, free: 12.52 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.002395/0.6753, allocations: 1.022 MB / 0.7114 GB, free: 11.64 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 3.566e-06/0.6753, allocations: 0 / 0.7114 GB, free: 11.64 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001575/0.6769, allocations: 0.7351 MB / 0.7121 GB, free: 10.95 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004179/0.6774, allocations: 34.81 kB / 0.7121 GB, free: 10.94 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001616/0.679, allocations: 0.7286 MB / 0.7129 GB, free: 10.25 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003836/0.6794, allocations: 0.8227 MB / 0.7137 GB, free: 9.398 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0001278/0.6795, allocations: 30.97 kB / 0.7137 GB, free: 9.367 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001884/0.6797, allocations: 128.1 kB / 0.7138 GB, free: 9.336 MB / 458.7 MB Notification: Performance of SimCode: time 1.773e-06/0.6797, allocations: 0 / 0.7138 GB, free: 9.336 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02757/0.7073, allocations: 10.91 MB / 0.7245 GB, free: 14.61 MB / 474.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002077/0.7076, allocations: 205.1 kB / 0.7247 GB, free: 14.38 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.158/2.865, allocations: 0 / 0.7247 GB, free: 14.38 MB / 474.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)