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.001299/0.001299, allocations: 180.9 kB / 7.651 MB, free: 1.422 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.694/1.694, allocations: 205.3 MB / 213.4 MB, free: 1.742 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009181/0.000918, allocations: 78.72 kB / 261.4 MB, free: 1.695 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.08936/0.08936, allocations: 12.21 MB / 321.6 MB, free: 15.59 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4544/0.4544, allocations: 78.06 MB / 450.3 MB, free: 9.395 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 2.018e-05/2.021e-05, allocations: 2.625 kB / 0.5142 GB, free: 42.15 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1889/0.1889, allocations: 69.25 MB / 0.5819 GB, free: 1.289 MB / 362.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1618/0.3508, allocations: 92.84 MB / 0.6725 GB, free: 4.324 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002757/0.3512, allocations: 71.95 kB / 0.6726 GB, free: 4.254 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02524/0.3764, allocations: 8.668 MB / 0.6811 GB, free: 11.52 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.543e-06/0.3765, allocations: 4 kB / 0.6811 GB, free: 11.52 MB / 474.7 MB Notification: Performance of Transformations before backend: time 2.071e-05/0.3765, allocations: 4 kB / 0.6811 GB, free: 11.52 MB / 474.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.002166/0.3787, allocations: 0.8139 MB / 0.6819 GB, free: 10.66 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.003e-05/0.3787, allocations: 8.031 kB / 0.6819 GB, free: 10.65 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001052/0.3798, allocations: 187.3 kB / 0.682 GB, free: 10.46 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006282/0.3804, allocations: 379.9 kB / 0.6824 GB, free: 10.05 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001475/0.3806, allocations: 79.92 kB / 0.6825 GB, free: 9.961 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.448e-05/0.3807, allocations: 16 kB / 0.6825 GB, free: 9.945 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006442/0.3813, allocations: 321 kB / 0.6828 GB, free: 9.633 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005839/0.3819, allocations: 299.8 kB / 0.6831 GB, free: 9.332 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.279e-05/0.3819, allocations: 4 kB / 0.6831 GB, free: 9.328 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.772e-05/0.382, allocations: 0 / 0.6831 GB, free: 9.328 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.12e-05/0.382, allocations: 4 kB / 0.6831 GB, free: 9.324 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002216/0.3842, allocations: 1.068 MB / 0.6841 GB, free: 8.219 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007001/0.3912, allocations: 1.716 MB / 0.6858 GB, free: 6.488 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004491/0.3917, allocations: 208.8 kB / 0.686 GB, free: 6.281 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.49e-05/0.3918, allocations: 7.984 kB / 0.686 GB, free: 6.273 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.869e-05/0.3919, allocations: 42.5 kB / 0.6861 GB, free: 6.223 MB / 474.7 MB Notification: Performance of pre-optimization done (n=35): time 3.136e-06/0.3919, allocations: 4 kB / 0.6861 GB, free: 6.219 MB / 474.7 MB Notification: Performance of matching and sorting (n=35): time 0.003548/0.3954, allocations: 1.136 MB / 0.6872 GB, free: 5.066 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.044e-05/0.3955, allocations: 51.41 kB / 0.6872 GB, free: 5.004 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000594/0.3961, allocations: 334.4 kB / 0.6875 GB, free: 4.664 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 5.445e-05/0.3962, allocations: 25.7 kB / 0.6876 GB, free: 4.633 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001669/0.3963, allocations: 200.9 kB / 0.6878 GB, free: 4.434 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001545/0.3965, allocations: 130.1 kB / 0.6879 GB, free: 4.305 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.245e-05/0.3966, allocations: 0 / 0.6879 GB, free: 4.305 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001607/0.3967, allocations: 346.8 kB / 0.6882 GB, free: 3.957 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002801/0.397, allocations: 168.7 kB / 0.6884 GB, free: 3.789 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002667/0.3973, allocations: 164.9 kB / 0.6885 GB, free: 3.629 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003162/0.3976, allocations: 181.6 kB / 0.6887 GB, free: 3.453 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.757e-06/0.3976, allocations: 0 / 0.6887 GB, free: 3.453 MB / 474.7 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.003903/0.4015, allocations: 1.257 MB / 0.6899 GB, free: 2.18 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.757e-05/0.4016, allocations: 7.984 kB / 0.6899 GB, free: 2.172 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.92e-05/0.4017, allocations: 0 / 0.6899 GB, free: 2.172 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002814/0.4045, allocations: 0.7322 MB / 0.6907 GB, free: 1.43 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003161/0.4048, allocations: 31.98 kB / 0.6907 GB, free: 1.398 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.4145/0.8193, allocations: 2.568 MB / 0.6932 GB, free: 100.3 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006469/0.82, allocations: 55.41 kB / 0.6933 GB, free: 100.3 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.39e-05/0.8201, allocations: 7.875 kB / 0.6933 GB, free: 100.3 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.0001495/0.8202, allocations: 108.3 kB / 0.6934 GB, free: 100.2 MB / 474.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.003414/0.8236, allocations: 1.144 MB / 0.6945 GB, free: 100.1 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001373/0.8238, allocations: 38.06 kB / 0.6945 GB, free: 100.1 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004219/0.828, allocations: 1.196 MB / 0.6957 GB, free: 100 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.786e-05/0.8281, allocations: 5.078 kB / 0.6957 GB, free: 100 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.096e-05/0.8281, allocations: 2.562 kB / 0.6957 GB, free: 100 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.411e-05/0.8281, allocations: 1.734 kB / 0.6957 GB, free: 100 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001075/0.8292, allocations: 488.7 kB / 0.6962 GB, free: 99.84 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.051e-06/0.8292, allocations: 4.656 kB / 0.6962 GB, free: 99.84 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003114/0.8295, allocations: 37.16 kB / 0.6962 GB, free: 99.84 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002314/0.8319, allocations: 0.5913 MB / 0.6968 GB, free: 99.82 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.799e-05/0.8319, allocations: 1.766 kB / 0.6968 GB, free: 99.82 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003457/0.8354, allocations: 2.09 MB / 0.6988 GB, free: 98.6 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.873e-06/0.8354, allocations: 3.656 kB / 0.6988 GB, free: 98.6 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004542/0.84, allocations: 1.507 MB / 0.7003 GB, free: 98.39 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002857/0.8403, allocations: 124.2 kB / 0.7004 GB, free: 98.28 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.908e-05/0.8404, allocations: 1.766 kB / 0.7004 GB, free: 98.28 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005722/0.841, allocations: 45.27 kB / 0.7005 GB, free: 98.28 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003517/0.8413, allocations: 85.94 kB / 0.7005 GB, free: 98.28 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.812e-05/0.8414, allocations: 10.31 kB / 0.7006 GB, free: 98.28 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0004376/0.8418, allocations: 267 kB / 0.7008 GB, free: 98.19 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.8418, allocations: 0 / 0.7008 GB, free: 98.19 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.001081/0.8429, allocations: 137.6 kB / 0.7009 GB, free: 98.18 MB / 474.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.005158/0.8481, allocations: 2.08 MB / 0.703 GB, free: 97.42 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.00286/0.851, allocations: 0.9838 MB / 0.7039 GB, free: 97.08 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 5.53e-06/0.851, allocations: 1.031 kB / 0.7039 GB, free: 97.08 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001934/0.853, allocations: 0.72 MB / 0.7046 GB, free: 96.75 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005635/0.8536, allocations: 20.91 kB / 0.7047 GB, free: 96.75 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002191/0.8558, allocations: 0.7109 MB / 0.7053 GB, free: 96.41 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004731/0.8563, allocations: 0.8231 MB / 0.7062 GB, free: 95.7 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0001576/0.8564, allocations: 27.59 kB / 0.7062 GB, free: 95.7 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002472/0.8567, allocations: 131.4 kB / 0.7063 GB, free: 95.69 MB / 474.7 MB Notification: Performance of SimCode: time 1.663e-06/0.8567, allocations: 0 / 0.7063 GB, free: 95.69 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03483/0.8915, allocations: 9.876 MB / 0.7159 GB, free: 93.6 MB / 474.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001961/0.8918, allocations: 154.4 kB / 0.7161 GB, free: 93.41 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.314/3.206, allocations: 0 / 0.7161 GB, free: 93.41 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)