Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Tests.Machines.PSAT.InductiveMotorIII_SIMBOpenline_Test.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo", uses=false) Using package OpenIPSL with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.InductiveMotorIII_SIMBOpenline_Test,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Machines_PSAT_InductiveMotorIII_SIMBOpenline_Test",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.InductiveMotorIII_SIMBOpenline_Test,fileNamePrefix="OpenIPSL_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001324/0.001324, allocations: 99.78 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.312/1.312, allocations: 223.2 MB / 238.9 MB, free: 5.652 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001081/0.001081, allocations: 177 kB / 290.2 MB, free: 2.352 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4992/0.4992, allocations: 78.53 MB / 419.8 MB, free: 4.332 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005355/0.0005355, allocations: 12 kB / 499.7 MB, free: 6.301 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1738/0.1744, allocations: 69.36 MB / 0.5558 GB, free: 0.8984 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.InductiveMotorIII_SIMBOpenline_Test): time 0.2849/0.4593, allocations: 2.51 MB / 0.5582 GB, free: 37.62 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001554/0.4609, allocations: 0.9156 MB / 0.5591 GB, free: 37.5 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001378/0.4611, allocations: 3.938 kB / 0.5591 GB, free: 37.5 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002387/0.4613, allocations: 70.89 kB / 0.5592 GB, free: 37.48 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002937/0.4616, allocations: 147.2 kB / 0.5593 GB, free: 37.46 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007949/0.4624, allocations: 369.6 kB / 0.5597 GB, free: 37.42 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004071/0.4629, allocations: 317.8 kB / 0.56 GB, free: 37.41 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000212/0.4631, allocations: 81.8 kB / 0.5601 GB, free: 37.39 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002274/0.4633, allocations: 181.8 kB / 0.5602 GB, free: 37.35 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003329/0.4636, allocations: 241.7 kB / 0.5605 GB, free: 37.31 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 5.082e-05/0.4637, allocations: 23.53 kB / 0.5605 GB, free: 37.31 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001512/0.4639, allocations: 68.06 kB / 0.5605 GB, free: 37.3 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 7.483e-05/0.4639, allocations: 90.95 kB / 0.5606 GB, free: 37.29 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 7.296e-05/0.464, allocations: 94.11 kB / 0.5607 GB, free: 37.24 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004425/0.4645, allocations: 410.6 kB / 0.5611 GB, free: 37.21 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.126e-06/0.4645, allocations: 0 / 0.5611 GB, free: 37.21 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.994e-06/0.4645, allocations: 0 / 0.5611 GB, free: 37.21 MB / 430.1 MB Notification: Performance of Transformations before backend: time 6.863e-06/0.4645, allocations: 0 / 0.5611 GB, free: 37.21 MB / 430.1 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.003111/0.4676, allocations: 1.074 MB / 0.5622 GB, free: 36.7 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.969e-05/0.4677, allocations: 8.375 kB / 0.5622 GB, free: 36.7 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.944e-05/0.4678, allocations: 70.52 kB / 0.5622 GB, free: 36.66 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00159/0.4694, allocations: 273 kB / 0.5625 GB, free: 36.63 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005/0.4699, allocations: 390.9 kB / 0.5629 GB, free: 36.39 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001145/0.47, allocations: 92.23 kB / 0.563 GB, free: 36.33 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.436e-05/0.4701, allocations: 24.41 kB / 0.563 GB, free: 36.33 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007961/0.4709, allocations: 424.6 kB / 0.5634 GB, free: 36.29 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.186e-05/0.4709, allocations: 0.5938 kB / 0.5634 GB, free: 36.29 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.188e-05/0.471, allocations: 14.27 kB / 0.5634 GB, free: 36.28 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.546e-06/0.471, allocations: 6.125 kB / 0.5634 GB, free: 36.28 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007256/0.4717, allocations: 418.5 kB / 0.5638 GB, free: 36.28 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001909/0.4736, allocations: 1.119 MB / 0.5649 GB, free: 35.96 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006954/0.4806, allocations: 1.839 MB / 0.5667 GB, free: 35.89 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.039e-05/0.4807, allocations: 7.859 kB / 0.5667 GB, free: 35.89 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.105e-05/0.4807, allocations: 36.94 kB / 0.5667 GB, free: 35.85 MB / 430.1 MB Notification: Performance of pre-optimization done (n=35): time 2.084e-06/0.4807, allocations: 0 / 0.5667 GB, free: 35.85 MB / 430.1 MB Notification: Performance of matching and sorting (n=35): time 0.006432/0.4872, allocations: 2.359 MB / 0.569 GB, free: 35.39 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.864e-05/0.4872, allocations: 57.03 kB / 0.5691 GB, free: 35.33 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004698/0.4877, allocations: 395.6 kB / 0.5695 GB, free: 35.23 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 4.08e-05/0.4877, allocations: 29.64 kB / 0.5695 GB, free: 35.2 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001292/0.4879, allocations: 213.1 kB / 0.5697 GB, free: 35.08 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.558e-05/0.488, allocations: 120.6 kB / 0.5698 GB, free: 35 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.797e-05/0.488, allocations: 14.38 kB / 0.5698 GB, free: 35 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 7.891e-05/0.4881, allocations: 348.2 kB / 0.5702 GB, free: 34.68 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004721/0.4886, allocations: 251.2 kB / 0.5704 GB, free: 34.68 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004531/0.489, allocations: 254.7 kB / 0.5707 GB, free: 34.68 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005062/0.4895, allocations: 264.7 kB / 0.5709 GB, free: 34.67 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.4896, allocations: 6.656 kB / 0.5709 GB, free: 34.66 MB / 430.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.00388/0.4934, allocations: 1.511 MB / 0.5724 GB, free: 34.51 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.432e-05/0.4935, allocations: 5.219 kB / 0.5724 GB, free: 34.51 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.708e-06/0.4935, allocations: 3 kB / 0.5724 GB, free: 34.51 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002939/0.4964, allocations: 0.8929 MB / 0.5733 GB, free: 34.44 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002233/0.4967, allocations: 39.88 kB / 0.5733 GB, free: 34.44 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005809/0.5025, allocations: 3.142 MB / 0.5764 GB, free: 33.08 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005392/0.5031, allocations: 64.12 kB / 0.5764 GB, free: 33.06 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.217e-05/0.5031, allocations: 7.562 kB / 0.5764 GB, free: 33.06 MB / 430.1 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.0002223/0.5033, allocations: 152 kB / 0.5766 GB, free: 32.94 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.178e-05/0.5034, allocations: 42 kB / 0.5766 GB, free: 32.92 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003863/0.5073, allocations: 1.458 MB / 0.578 GB, free: 32.78 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.144e-06/0.5073, allocations: 7.625 kB / 0.5781 GB, free: 32.78 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.152e-06/0.5073, allocations: 2.938 kB / 0.5781 GB, free: 32.78 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.773e-06/0.5073, allocations: 0 / 0.5781 GB, free: 32.78 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006111/0.5079, allocations: 0.528 MB / 0.5786 GB, free: 32.58 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.45e-06/0.508, allocations: 1.125 kB / 0.5786 GB, free: 32.58 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002516/0.5082, allocations: 38.61 kB / 0.5786 GB, free: 32.58 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002398/0.5106, allocations: 0.7527 MB / 0.5793 GB, free: 32.51 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.796e-05/0.5107, allocations: 5.656 kB / 0.5794 GB, free: 32.51 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004507/0.5152, allocations: 2.608 MB / 0.5819 GB, free: 30.99 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.327e-06/0.5152, allocations: 1.281 kB / 0.5819 GB, free: 30.99 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004939/0.5202, allocations: 1.844 MB / 0.5837 GB, free: 30.38 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002089/0.5204, allocations: 119.4 kB / 0.5838 GB, free: 30.26 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.153e-05/0.5205, allocations: 10.5 kB / 0.5838 GB, free: 30.25 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004609/0.5209, allocations: 48.33 kB / 0.5839 GB, free: 30.24 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002575/0.5212, allocations: 84.72 kB / 0.584 GB, free: 30.23 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.329e-05/0.5212, allocations: 9.656 kB / 0.584 GB, free: 30.23 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0003561/0.5216, allocations: 291.6 kB / 0.5842 GB, free: 30.07 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5216, allocations: 1.219 kB / 0.5842 GB, free: 30.07 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0006502/0.5223, allocations: 139 kB / 0.5844 GB, free: 30.05 MB / 430.1 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.005113/0.5274, allocations: 2.395 MB / 0.5867 GB, free: 28.91 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.002958/0.5304, allocations: 1.183 MB / 0.5879 GB, free: 28.34 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.519e-06/0.5304, allocations: 1.062 kB / 0.5879 GB, free: 28.34 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001793/0.5322, allocations: 0.8096 MB / 0.5887 GB, free: 27.88 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004391/0.5327, allocations: 28.73 kB / 0.5887 GB, free: 27.87 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008285/0.541, allocations: 3.907 MB / 0.5925 GB, free: 26.17 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003626/0.5414, allocations: 0.8268 MB / 0.5933 GB, free: 25.46 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001722/0.5415, allocations: 25.45 kB / 0.5933 GB, free: 25.46 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002253/0.5418, allocations: 132.4 kB / 0.5935 GB, free: 25.36 MB / 430.1 MB Notification: Performance of SimCode: time 1.633e-06/0.5418, allocations: 4 kB / 0.5935 GB, free: 25.36 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03153/0.5733, allocations: 10.83 MB / 0.604 GB, free: 24.76 MB / 430.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003079/0.5737, allocations: 221.9 kB / 0.6043 GB, free: 24.53 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.938/2.511, allocations: 0 / 0.6043 GB, free: 24.53 MB / 430.1 MB (rm -f OpenIPSL_OpenIPSL.Tests.Machines.PSAT.InductiveMotorIII_SIMBOpenline_Test.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Machines.PSAT.InductiveMotorIII_SIMBOpenline_Test.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Machines.PSAT.InductiveMotorIII_SIMBOpenline_Test.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Machines.PSAT.InductiveMotorIII_SIMBOpenline_Test.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_OpenIPSL_Tests_Machines_PSAT_InductiveMotorIII_SIMBOpenline_Test_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_OpenIPSL_Tests_Machines_PSAT_InductiveMotorIII_SIMBOpenline_Test.fmu > OpenIPSL_OpenIPSL.Tests.Machines.PSAT.InductiveMotorIII_SIMBOpenline_Test.pipe 2>&1) Environment - environmentSimulation: