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.0007289/0.000729, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.202/1.202, allocations: 223.3 MB / 239.4 MB, free: 5.48 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.000889/0.0008891, allocations: 175.5 kB / 290.6 MB, free: 2.152 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.3963/0.3963, allocations: 78.55 MB / 420.3 MB, free: 4.168 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000315/0.000315, allocations: 12 kB / 0.4888 GB, free: 5.852 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1077/0.108, allocations: 69.36 MB / 0.5565 GB, free: 460 kB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.InductiveMotorIII_SIMBOpenline_Test): time 0.1868/0.2948, allocations: 2.761 MB / 0.5592 GB, free: 37.8 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001587/0.2965, allocations: 0.9482 MB / 0.5601 GB, free: 37.69 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002511/0.2967, allocations: 4.25 kB / 0.5601 GB, free: 37.69 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002628/0.297, allocations: 78.34 kB / 0.5602 GB, free: 37.66 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003825/0.2974, allocations: 120.8 kB / 0.5603 GB, free: 37.62 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008239/0.2982, allocations: 432.2 kB / 0.5607 GB, free: 37.57 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004209/0.2987, allocations: 486.5 kB / 0.5612 GB, free: 37.46 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001544/0.2988, allocations: 86.95 kB / 0.5613 GB, free: 37.44 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002095/0.299, allocations: 180.1 kB / 0.5614 GB, free: 37.39 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002782/0.2993, allocations: 264.8 kB / 0.5617 GB, free: 37.31 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 5.901e-05/0.2994, allocations: 26.53 kB / 0.5617 GB, free: 37.31 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001592/0.2996, allocations: 79.78 kB / 0.5618 GB, free: 37.31 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 5.568e-05/0.2996, allocations: 85.09 kB / 0.5619 GB, free: 37.29 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001375/0.2998, allocations: 230.1 kB / 0.5621 GB, free: 37.17 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003978/0.3002, allocations: 0.5298 MB / 0.5626 GB, free: 37.05 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.815e-06/0.3002, allocations: 3.938 kB / 0.5626 GB, free: 37.05 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.3002, allocations: 1.562 kB / 0.5626 GB, free: 37.05 MB / 430.1 MB Notification: Performance of Transformations before backend: time 7.844e-06/0.3002, allocations: 0 / 0.5626 GB, free: 37.05 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.002744/0.3029, allocations: 1.064 MB / 0.5637 GB, free: 36.53 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.251e-05/0.303, allocations: 14.38 kB / 0.5637 GB, free: 36.52 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.453e-05/0.3031, allocations: 62.61 kB / 0.5637 GB, free: 36.48 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001498/0.3046, allocations: 278.7 kB / 0.564 GB, free: 36.45 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003597/0.3049, allocations: 397.9 kB / 0.5644 GB, free: 36.2 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.54e-05/0.305, allocations: 95.89 kB / 0.5645 GB, free: 36.13 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.503e-05/0.3051, allocations: 27.94 kB / 0.5645 GB, free: 36.13 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000696/0.3058, allocations: 424.4 kB / 0.5649 GB, free: 36.09 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.768e-06/0.3058, allocations: 0 / 0.5649 GB, free: 36.09 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.396e-05/0.3059, allocations: 12.16 kB / 0.5649 GB, free: 36.09 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.262e-06/0.3059, allocations: 5.438 kB / 0.5649 GB, free: 36.09 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006605/0.3065, allocations: 412.9 kB / 0.5653 GB, free: 36.09 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001573/0.3081, allocations: 1.125 MB / 0.5664 GB, free: 35.76 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006612/0.3147, allocations: 1.846 MB / 0.5682 GB, free: 35.68 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004734/0.3152, allocations: 302.5 kB / 0.5685 GB, free: 35.66 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.232e-05/0.3153, allocations: 9.875 kB / 0.5685 GB, free: 35.66 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.331e-05/0.3153, allocations: 38.5 kB / 0.5685 GB, free: 35.62 MB / 430.1 MB Notification: Performance of pre-optimization done (n=35): time 1.593e-06/0.3153, allocations: 0 / 0.5685 GB, free: 35.62 MB / 430.1 MB Notification: Performance of matching and sorting (n=35): time 0.005943/0.3212, allocations: 2.362 MB / 0.5708 GB, free: 35.17 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.012e-05/0.3213, allocations: 61.16 kB / 0.5709 GB, free: 35.1 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003365/0.3216, allocations: 396 kB / 0.5713 GB, free: 35 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 3.051e-05/0.3217, allocations: 33.45 kB / 0.5713 GB, free: 34.96 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.596e-05/0.3218, allocations: 209.1 kB / 0.5715 GB, free: 34.85 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.892e-05/0.3218, allocations: 126.7 kB / 0.5716 GB, free: 34.77 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.832e-05/0.3219, allocations: 33.72 kB / 0.5717 GB, free: 34.75 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 5.191e-05/0.3219, allocations: 351.2 kB / 0.572 GB, free: 34.43 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004481/0.3224, allocations: 256.3 kB / 0.5722 GB, free: 34.43 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004337/0.3228, allocations: 253 kB / 0.5725 GB, free: 34.43 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008925/0.3237, allocations: 0.5447 MB / 0.573 GB, free: 34.39 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.893e-06/0.3237, allocations: 0 / 0.573 GB, free: 34.39 MB / 430.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.003819/0.3276, allocations: 1.524 MB / 0.5745 GB, free: 34.23 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.518e-05/0.3276, allocations: 6.125 kB / 0.5745 GB, free: 34.23 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.39e-06/0.3276, allocations: 0.5625 kB / 0.5745 GB, free: 34.23 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002779/0.3304, allocations: 0.8878 MB / 0.5754 GB, free: 34.17 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001966/0.3306, allocations: 43.06 kB / 0.5754 GB, free: 34.16 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004789/0.3354, allocations: 3.038 MB / 0.5784 GB, free: 32.8 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004757/0.3359, allocations: 69.17 kB / 0.5785 GB, free: 32.78 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.886e-05/0.3359, allocations: 8.031 kB / 0.5785 GB, free: 32.78 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.0001733/0.3361, allocations: 147.7 kB / 0.5786 GB, free: 32.66 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.067e-05/0.3362, allocations: 44.11 kB / 0.5786 GB, free: 32.64 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003698/0.3399, allocations: 1.447 MB / 0.5801 GB, free: 32.51 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.149e-06/0.3399, allocations: 4.094 kB / 0.5801 GB, free: 32.51 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.66e-06/0.3399, allocations: 9.625 kB / 0.5801 GB, free: 32.51 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.619e-06/0.3399, allocations: 0 / 0.5801 GB, free: 32.51 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004904/0.3404, allocations: 0.5397 MB / 0.5806 GB, free: 32.3 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.378e-06/0.3404, allocations: 2.062 kB / 0.5806 GB, free: 32.3 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002374/0.3407, allocations: 40.25 kB / 0.5806 GB, free: 32.29 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002254/0.3429, allocations: 0.746 MB / 0.5814 GB, free: 32.23 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.586e-05/0.343, allocations: 7.094 kB / 0.5814 GB, free: 32.23 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003649/0.3466, allocations: 2.528 MB / 0.5838 GB, free: 30.84 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-06/0.3466, allocations: 4.688 kB / 0.5838 GB, free: 30.83 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004279/0.3509, allocations: 1.843 MB / 0.5856 GB, free: 30.22 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001068/0.351, allocations: 122.3 kB / 0.5858 GB, free: 30.1 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.562e-05/0.3511, allocations: 9.125 kB / 0.5858 GB, free: 30.09 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000432/0.3515, allocations: 47.36 kB / 0.5858 GB, free: 30.09 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001975/0.3518, allocations: 83.23 kB / 0.5859 GB, free: 30.08 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.659e-05/0.3518, allocations: 9.938 kB / 0.5859 GB, free: 30.07 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0002654/0.3521, allocations: 289.6 kB / 0.5862 GB, free: 29.92 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.3521, allocations: 2.781 kB / 0.5862 GB, free: 29.92 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0004725/0.3525, allocations: 147.8 kB / 0.5863 GB, free: 29.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.004425/0.357, allocations: 2.393 MB / 0.5887 GB, free: 28.75 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.002598/0.3596, allocations: 1.18 MB / 0.5898 GB, free: 28.19 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.3596, allocations: 0 / 0.5898 GB, free: 28.19 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001601/0.3612, allocations: 0.8176 MB / 0.5906 GB, free: 27.72 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003888/0.3616, allocations: 31.39 kB / 0.5906 GB, free: 27.7 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01139/0.373, allocations: 6.417 MB / 0.5969 GB, free: 24.72 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002433/0.3733, allocations: 0.8098 MB / 0.5977 GB, free: 24.02 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001268/0.3734, allocations: 29.25 kB / 0.5977 GB, free: 24.01 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001768/0.3736, allocations: 134.1 kB / 0.5979 GB, free: 23.91 MB / 430.1 MB Notification: Performance of SimCode: time 7.11e-07/0.3736, allocations: 0 / 0.5979 GB, free: 23.91 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.023/0.3966, allocations: 10.89 MB / 0.6085 GB, free: 22.81 MB / 430.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001196/0.3968, allocations: 243.9 kB / 0.6087 GB, free: 22.56 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.734/2.13, allocations: 5.719 kB / 0.6087 GB, free: 22.55 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)