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.006634/0.006634, allocations: 169.5 kB / 15.11 MB, free: 5.973 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.453/1.453, allocations: 205.4 MB / 221.3 MB, free: 13.82 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.0008478/0.0008477, allocations: 94.86 kB / 269.6 MB, free: 13.34 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.06339/0.06339, allocations: 12.2 MB / 330 MB, free: 10.68 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4258/0.4258, allocations: 78.53 MB / 459.6 MB, free: 3.984 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005052/0.0005053, allocations: 22.47 kB / 0.528 GB, free: 35.38 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.102/0.1025, allocations: 69.23 MB / 0.5956 GB, free: 4.273 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1109/0.2134, allocations: 93.6 MB / 0.687 GB, free: 6.551 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001986/0.2137, allocations: 87.89 kB / 0.6871 GB, free: 6.465 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2204/0.4341, allocations: 8.821 MB / 0.6957 GB, free: 96.49 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.613e-06/0.4341, allocations: 0 / 0.6957 GB, free: 96.49 MB / 474.7 MB Notification: Performance of Transformations before backend: time 1.511e-05/0.4342, allocations: 8.156 kB / 0.6957 GB, free: 96.49 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.001962/0.4361, allocations: 0.9248 MB / 0.6966 GB, free: 95.98 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.07e-05/0.4362, allocations: 11.8 kB / 0.6967 GB, free: 95.97 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.268e-05/0.4363, allocations: 69.16 kB / 0.6967 GB, free: 95.93 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009284/0.4372, allocations: 194.5 kB / 0.6969 GB, free: 95.91 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004083/0.4376, allocations: 382.1 kB / 0.6973 GB, free: 95.67 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.377e-05/0.4377, allocations: 86.34 kB / 0.6974 GB, free: 95.61 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.813e-05/0.4378, allocations: 25.44 kB / 0.6974 GB, free: 95.61 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007324/0.4385, allocations: 419.2 kB / 0.6978 GB, free: 95.57 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.29e-05/0.4386, allocations: 0 / 0.6978 GB, free: 95.57 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.729e-05/0.4386, allocations: 15.84 kB / 0.6978 GB, free: 95.56 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.152e-05/0.4386, allocations: 7.312 kB / 0.6978 GB, free: 95.56 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006976/0.4393, allocations: 410.7 kB / 0.6982 GB, free: 95.55 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001978/0.4413, allocations: 1.123 MB / 0.6993 GB, free: 95.24 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007055/0.4484, allocations: 1.847 MB / 0.7011 GB, free: 95.12 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.357e-05/0.4485, allocations: 3.797 kB / 0.7011 GB, free: 95.12 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.213e-05/0.4485, allocations: 37.72 kB / 0.7011 GB, free: 95.09 MB / 474.7 MB Notification: Performance of pre-optimization done (n=35): time 2.345e-06/0.4485, allocations: 0 / 0.7011 GB, free: 95.09 MB / 474.7 MB Notification: Performance of matching and sorting (n=35): time 0.006581/0.4551, allocations: 2.364 MB / 0.7034 GB, free: 94.63 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.749e-05/0.4552, allocations: 58.75 kB / 0.7035 GB, free: 94.57 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004055/0.4556, allocations: 364.2 kB / 0.7038 GB, free: 94.46 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 4.163e-05/0.4556, allocations: 32.83 kB / 0.7039 GB, free: 94.43 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001133/0.4557, allocations: 203.1 kB / 0.7041 GB, free: 94.32 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001046/0.4558, allocations: 124.2 kB / 0.7042 GB, free: 94.24 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.56e-05/0.4559, allocations: 8.547 kB / 0.7042 GB, free: 94.24 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 7.754e-05/0.456, allocations: 351.6 kB / 0.7045 GB, free: 93.93 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004917/0.4565, allocations: 255.4 kB / 0.7048 GB, free: 93.92 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004334/0.4569, allocations: 254.8 kB / 0.705 GB, free: 93.91 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004474/0.4574, allocations: 263.7 kB / 0.7053 GB, free: 93.91 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/0.4574, allocations: 2.969 kB / 0.7053 GB, free: 93.91 MB / 474.7 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.004024/0.4614, allocations: 1.515 MB / 0.7067 GB, free: 93.76 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.047e-05/0.4614, allocations: 4.906 kB / 0.7068 GB, free: 93.76 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.283e-06/0.4615, allocations: 1.031 kB / 0.7068 GB, free: 93.76 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002964/0.4644, allocations: 0.8948 MB / 0.7076 GB, free: 93.68 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002166/0.4647, allocations: 45.08 kB / 0.7077 GB, free: 93.68 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005454/0.4701, allocations: 3.141 MB / 0.7107 GB, free: 92.32 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005252/0.4707, allocations: 58.02 kB / 0.7108 GB, free: 92.3 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.409e-05/0.4707, allocations: 10.25 kB / 0.7108 GB, free: 92.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 () * Number of clocked 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.0001983/0.4709, allocations: 151.3 kB / 0.7109 GB, free: 92.18 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.352e-05/0.471, allocations: 44 kB / 0.711 GB, free: 92.16 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003883/0.4749, allocations: 1.446 MB / 0.7124 GB, free: 92.03 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.991e-06/0.4749, allocations: 4.156 kB / 0.7124 GB, free: 92.03 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.963e-06/0.4749, allocations: 2.688 kB / 0.7124 GB, free: 92.03 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.841e-06/0.4749, allocations: 1.25 kB / 0.7124 GB, free: 92.03 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006704/0.4756, allocations: 0.5372 MB / 0.7129 GB, free: 91.83 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.749e-06/0.4756, allocations: 4.531 kB / 0.7129 GB, free: 91.82 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002977/0.4759, allocations: 37.97 kB / 0.713 GB, free: 91.82 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002364/0.4783, allocations: 0.7481 MB / 0.7137 GB, free: 91.76 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.161e-05/0.4784, allocations: 13.31 kB / 0.7137 GB, free: 91.75 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003568/0.4819, allocations: 2.596 MB / 0.7163 GB, free: 90.11 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.966e-06/0.482, allocations: 8.469 kB / 0.7163 GB, free: 90.11 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003911/0.4859, allocations: 1.848 MB / 0.7181 GB, free: 89.35 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001194/0.486, allocations: 124 kB / 0.7182 GB, free: 89.22 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.483e-05/0.4861, allocations: 15.8 kB / 0.7182 GB, free: 89.21 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000434/0.4865, allocations: 41.28 kB / 0.7182 GB, free: 89.2 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001906/0.4867, allocations: 89.83 kB / 0.7183 GB, free: 89.14 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.662e-05/0.4867, allocations: 11.75 kB / 0.7183 GB, free: 89.14 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0002528/0.487, allocations: 293.8 kB / 0.7186 GB, free: 88.95 MB / 474.7 MB Notification: Performance of sort global known variables: time 2.01e-07/0.487, allocations: 2.125 kB / 0.7186 GB, free: 88.95 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0004962/0.4875, allocations: 154.5 kB / 0.7188 GB, free: 88.92 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 () * Number of clocked 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.004066/0.4916, allocations: 2.411 MB / 0.7211 GB, free: 87.47 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.002474/0.4941, allocations: 1.182 MB / 0.7223 GB, free: 86.76 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.4941, allocations: 0 / 0.7223 GB, free: 86.76 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001529/0.4956, allocations: 0.8111 MB / 0.7231 GB, free: 86.13 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003168/0.496, allocations: 30.2 kB / 0.7231 GB, free: 86.11 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006715/0.5027, allocations: 3.915 MB / 0.7269 GB, free: 82.15 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000183/0.5029, allocations: 0.8227 MB / 0.7277 GB, free: 81.3 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0001243/0.503, allocations: 30.97 kB / 0.7278 GB, free: 81.27 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001666/0.5032, allocations: 131.4 kB / 0.7279 GB, free: 81.14 MB / 474.7 MB Notification: Performance of SimCode: time 6.01e-07/0.5032, allocations: 0 / 0.7279 GB, free: 81.14 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02179/0.525, allocations: 10.95 MB / 0.7386 GB, free: 70.41 MB / 474.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001577/0.5252, allocations: 224.3 kB / 0.7388 GB, free: 70.17 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.049/2.574, allocations: 3.625 kB / 0.7388 GB, free: 70.17 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)