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.001594/0.001594, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.419/1.419, allocations: 222.9 MB / 238.8 MB, free: 4.746 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.001475/0.001476, allocations: 192.5 kB / 289.1 MB, free: 2.5 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4834/0.4834, allocations: 78.52 MB / 417.8 MB, free: 3.328 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001438/0.001438, allocations: 75.88 kB / 496.9 MB, free: 6.707 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1328/0.1343, allocations: 68.16 MB / 0.5518 GB, free: 2.504 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.InductiveMotorIII_SIMBOpenline_Test): time 0.2522/0.3866, allocations: 3.136 MB / 0.5548 GB, free: 37.67 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001699/0.3884, allocations: 0.9626 MB / 0.5558 GB, free: 37.67 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001479/0.3885, allocations: 4.688 kB / 0.5558 GB, free: 37.67 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003077/0.3888, allocations: 79.7 kB / 0.5559 GB, free: 37.66 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002948/0.3892, allocations: 125.9 kB / 0.556 GB, free: 37.66 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008367/0.39, allocations: 443 kB / 0.5564 GB, free: 37.64 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004351/0.3905, allocations: 488.9 kB / 0.5569 GB, free: 37.62 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001815/0.3907, allocations: 82.73 kB / 0.557 GB, free: 37.61 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002038/0.3909, allocations: 192.5 kB / 0.5571 GB, free: 37.57 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002962/0.3912, allocations: 264.6 kB / 0.5574 GB, free: 37.52 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 5.833e-05/0.3912, allocations: 28.06 kB / 0.5574 GB, free: 37.52 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001731/0.3914, allocations: 78.5 kB / 0.5575 GB, free: 37.52 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 7.89e-05/0.3915, allocations: 94.92 kB / 0.5576 GB, free: 37.5 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000166/0.3917, allocations: 207.5 kB / 0.5578 GB, free: 37.43 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004807/0.3922, allocations: 0.5438 MB / 0.5583 GB, free: 37.35 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.3922, allocations: 1.125 kB / 0.5583 GB, free: 37.35 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.3922, allocations: 0 / 0.5583 GB, free: 37.35 MB / 430.1 MB Notification: Performance of Transformations before backend: time 7.975e-06/0.3922, allocations: 0.5312 kB / 0.5583 GB, free: 37.35 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.003239/0.3955, allocations: 1.12 MB / 0.5594 GB, free: 36.82 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.473e-05/0.3955, allocations: 11.81 kB / 0.5594 GB, free: 36.82 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.034e-05/0.3956, allocations: 63.56 kB / 0.5595 GB, free: 36.78 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001562/0.3972, allocations: 272.7 kB / 0.5597 GB, free: 36.75 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000492/0.3977, allocations: 402.1 kB / 0.5601 GB, free: 36.51 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001076/0.3978, allocations: 88.86 kB / 0.5602 GB, free: 36.44 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.113e-05/0.3978, allocations: 29.22 kB / 0.5602 GB, free: 36.44 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007796/0.3986, allocations: 395.7 kB / 0.5606 GB, free: 36.4 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.066e-05/0.3987, allocations: 0.7031 kB / 0.5606 GB, free: 36.4 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.012e-05/0.3987, allocations: 11.66 kB / 0.5606 GB, free: 36.4 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.796e-06/0.3987, allocations: 4.719 kB / 0.5606 GB, free: 36.4 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007387/0.3995, allocations: 398.4 kB / 0.561 GB, free: 36.4 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001824/0.4013, allocations: 1.095 MB / 0.5621 GB, free: 36.09 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006259/0.4076, allocations: 1.376 MB / 0.5634 GB, free: 36.06 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005253/0.4081, allocations: 277 kB / 0.5637 GB, free: 36.05 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.479e-05/0.4082, allocations: 12.95 kB / 0.5637 GB, free: 36.04 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.11e-05/0.4082, allocations: 41.31 kB / 0.5637 GB, free: 36 MB / 430.1 MB Notification: Performance of pre-optimization done (n=35): time 3.857e-06/0.4082, allocations: 0 / 0.5637 GB, free: 36 MB / 430.1 MB Notification: Performance of matching and sorting (n=35): time 0.005781/0.414, allocations: 1.956 MB / 0.5656 GB, free: 35.62 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.35e-05/0.4141, allocations: 58 kB / 0.5657 GB, free: 35.56 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000459/0.4145, allocations: 396.1 kB / 0.5661 GB, free: 35.45 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 4.05e-05/0.4146, allocations: 36.36 kB / 0.5661 GB, free: 35.42 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001219/0.4147, allocations: 204.2 kB / 0.5663 GB, free: 35.31 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.501e-05/0.4148, allocations: 122.2 kB / 0.5664 GB, free: 35.23 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001261/0.415, allocations: 59.92 kB / 0.5665 GB, free: 35.21 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 7.869e-05/0.415, allocations: 350.5 kB / 0.5668 GB, free: 34.9 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004388/0.4155, allocations: 226 kB / 0.567 GB, free: 34.9 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004343/0.4159, allocations: 236.2 kB / 0.5673 GB, free: 34.89 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008582/0.4168, allocations: 0.4885 MB / 0.5677 GB, free: 34.87 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.835e-06/0.4168, allocations: 0 / 0.5677 GB, free: 34.87 MB / 430.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.00367/0.4205, allocations: 1.275 MB / 0.569 GB, free: 34.76 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.961e-05/0.4205, allocations: 9.906 kB / 0.569 GB, free: 34.76 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.333e-06/0.4205, allocations: 0 / 0.569 GB, free: 34.76 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002789/0.4233, allocations: 0.7701 MB / 0.5697 GB, free: 34.7 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002212/0.4236, allocations: 35.8 kB / 0.5698 GB, free: 34.7 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004994/0.4286, allocations: 2.869 MB / 0.5726 GB, free: 33.36 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005147/0.4291, allocations: 45.08 kB / 0.5726 GB, free: 33.35 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.367e-05/0.4291, allocations: 11.36 kB / 0.5726 GB, free: 33.35 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 (not torn): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(7,6)} Notification: Performance of prepare postOptimizeDAE: time 0.000207/0.4293, allocations: 152.7 kB / 0.5728 GB, free: 33.23 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.3e-05/0.4294, allocations: 43.12 kB / 0.5728 GB, free: 33.21 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003364/0.4328, allocations: 1.207 MB / 0.574 GB, free: 33.12 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.26e-06/0.4328, allocations: 6.438 kB / 0.574 GB, free: 33.12 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.931e-06/0.4328, allocations: 7.188 kB / 0.574 GB, free: 33.11 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.15e-06/0.4328, allocations: 0 / 0.574 GB, free: 33.11 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005314/0.4334, allocations: 0.5366 MB / 0.5745 GB, free: 32.9 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.108e-06/0.4334, allocations: 0.5 kB / 0.5745 GB, free: 32.9 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002534/0.4337, allocations: 37.92 kB / 0.5746 GB, free: 32.9 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001959/0.4356, allocations: 0.6214 MB / 0.5752 GB, free: 32.86 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.701e-05/0.4357, allocations: 4.625 kB / 0.5752 GB, free: 32.86 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003286/0.439, allocations: 2.361 MB / 0.5775 GB, free: 31.55 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.617e-06/0.439, allocations: 5.562 kB / 0.5775 GB, free: 31.55 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004215/0.4432, allocations: 1.573 MB / 0.579 GB, free: 31.21 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001859/0.4434, allocations: 121.8 kB / 0.5791 GB, free: 31.09 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.861e-05/0.4435, allocations: 10.12 kB / 0.5792 GB, free: 31.09 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004424/0.4439, allocations: 35.83 kB / 0.5792 GB, free: 31.08 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002691/0.4442, allocations: 81.41 kB / 0.5793 GB, free: 31.07 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.358e-05/0.4443, allocations: 12.89 kB / 0.5793 GB, free: 31.07 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0003563/0.4446, allocations: 291.5 kB / 0.5796 GB, free: 30.91 MB / 430.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.4446, allocations: 3 kB / 0.5796 GB, free: 30.91 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0005685/0.4452, allocations: 139.3 kB / 0.5797 GB, free: 30.89 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 (not torn): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(4,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.004351/0.4496, allocations: 2.135 MB / 0.5818 GB, free: 29.79 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.002669/0.4522, allocations: 1.066 MB / 0.5828 GB, free: 29.24 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.946e-06/0.4523, allocations: 3.938 kB / 0.5828 GB, free: 29.24 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001598/0.4539, allocations: 0.7239 MB / 0.5835 GB, free: 28.79 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000493/0.4544, allocations: 35.92 kB / 0.5836 GB, free: 28.77 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01255/0.4669, allocations: 5.847 MB / 0.5893 GB, free: 25.9 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003203/0.4673, allocations: 0.8054 MB / 0.5901 GB, free: 25.2 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001752/0.4675, allocations: 38.48 kB / 0.5901 GB, free: 25.2 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002071/0.4677, allocations: 135.8 kB / 0.5902 GB, free: 25.09 MB / 430.1 MB Notification: Performance of SimCode: time 1.072e-06/0.4677, allocations: 0 / 0.5902 GB, free: 25.09 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0352/0.5029, allocations: 11.11 MB / 0.6011 GB, free: 24.02 MB / 430.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002289/0.5032, allocations: 242.3 kB / 0.6013 GB, free: 23.77 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.037/2.541, allocations: 0 / 0.6013 GB, free: 23.77 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/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)