Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_OpenIPSL.Tests.Machines.PSAT.InductiveMotorI_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.InductiveMotorI_SIMBOpenline_Test,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Machines_PSAT_InductiveMotorI_SIMBOpenline_Test",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.InductiveMotorI_SIMBOpenline_Test,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Machines_PSAT_InductiveMotorI_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.001123/0.001123, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.343/1.343, allocations: 222.9 MB / 239.3 MB, free: 4.602 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.001332/0.001332, allocations: 192.5 kB / 289.6 MB, free: 2.316 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4447/0.4447, allocations: 78.53 MB / 418.2 MB, free: 3.199 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002296/0.002296, allocations: 83.88 kB / 497.6 MB, free: 6.336 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.112/0.1144, allocations: 68.18 MB / 0.5525 GB, free: 2.125 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.InductiveMotorI_SIMBOpenline_Test): time 0.1897/0.3041, allocations: 2.776 MB / 0.5552 GB, free: 37.81 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001528/0.3056, allocations: 0.9023 MB / 0.5561 GB, free: 37.8 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002822/0.3059, allocations: 3.719 kB / 0.5561 GB, free: 37.8 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003518/0.3064, allocations: 89.78 kB / 0.5562 GB, free: 37.79 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003752/0.3067, allocations: 119.7 kB / 0.5563 GB, free: 37.79 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009292/0.3077, allocations: 448.2 kB / 0.5567 GB, free: 37.78 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004623/0.3082, allocations: 419.2 kB / 0.5571 GB, free: 37.77 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001894/0.3084, allocations: 88.16 kB / 0.5572 GB, free: 37.75 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002128/0.3086, allocations: 172.6 kB / 0.5573 GB, free: 37.72 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003101/0.3089, allocations: 230.9 kB / 0.5576 GB, free: 37.67 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 8.015e-05/0.309, allocations: 33.72 kB / 0.5576 GB, free: 37.67 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002038/0.3092, allocations: 90.19 kB / 0.5577 GB, free: 37.67 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 6.88e-05/0.3093, allocations: 86.58 kB / 0.5578 GB, free: 37.65 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001627/0.3094, allocations: 190 kB / 0.5579 GB, free: 37.59 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004829/0.3099, allocations: 492.3 kB / 0.5584 GB, free: 37.49 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.3099, allocations: 0 / 0.5584 GB, free: 37.49 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.132e-06/0.31, allocations: 0.6875 kB / 0.5584 GB, free: 37.49 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.184e-05/0.31, allocations: 0.9375 kB / 0.5584 GB, free: 37.49 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: 57 * Number of variables: 57 Notification: Performance of Generate backend data structure: time 0.003004/0.313, allocations: 1.026 MB / 0.5594 GB, free: 36.98 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.794e-05/0.313, allocations: 9.469 kB / 0.5594 GB, free: 36.98 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.975e-05/0.3131, allocations: 60.22 kB / 0.5595 GB, free: 36.94 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001674/0.3148, allocations: 258 kB / 0.5597 GB, free: 36.92 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004017/0.3152, allocations: 352.9 kB / 0.5601 GB, free: 36.68 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.372e-05/0.3153, allocations: 87 kB / 0.5602 GB, free: 36.61 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.844e-05/0.3154, allocations: 22.56 kB / 0.5602 GB, free: 36.61 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000702/0.3161, allocations: 367.7 kB / 0.5605 GB, free: 36.57 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.175e-05/0.3161, allocations: 4.266 kB / 0.5605 GB, free: 36.57 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.431e-05/0.3162, allocations: 7.25 kB / 0.5605 GB, free: 36.57 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.953e-06/0.3162, allocations: 4.719 kB / 0.5605 GB, free: 36.57 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006765/0.3169, allocations: 366.7 kB / 0.5609 GB, free: 36.57 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001784/0.3187, allocations: 1.028 MB / 0.5619 GB, free: 36.25 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00663/0.3253, allocations: 1.357 MB / 0.5632 GB, free: 36.23 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005012/0.3258, allocations: 266.8 kB / 0.5635 GB, free: 36.22 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.853e-05/0.3259, allocations: 5.234 kB / 0.5635 GB, free: 36.22 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.685e-05/0.3259, allocations: 35.42 kB / 0.5635 GB, free: 36.18 MB / 430.1 MB Notification: Performance of pre-optimization done (n=31): time 2.073e-06/0.3259, allocations: 0.6875 kB / 0.5635 GB, free: 36.18 MB / 430.1 MB Notification: Performance of matching and sorting (n=31): time 0.006532/0.3325, allocations: 1.981 MB / 0.5654 GB, free: 35.81 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.311e-05/0.3325, allocations: 56.66 kB / 0.5655 GB, free: 35.75 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004134/0.3329, allocations: 320 kB / 0.5658 GB, free: 35.64 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 3.985e-05/0.333, allocations: 29.45 kB / 0.5658 GB, free: 35.61 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.376e-05/0.3331, allocations: 188.3 kB / 0.566 GB, free: 35.5 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.766e-05/0.3332, allocations: 112.1 kB / 0.5661 GB, free: 35.43 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001133/0.3333, allocations: 56.14 kB / 0.5662 GB, free: 35.41 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 5.862e-05/0.3334, allocations: 348.5 kB / 0.5665 GB, free: 35.09 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004434/0.3338, allocations: 217.7 kB / 0.5667 GB, free: 35.09 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004267/0.3343, allocations: 216 kB / 0.5669 GB, free: 35.09 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008795/0.3352, allocations: 483.1 kB / 0.5674 GB, free: 35.07 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.564e-06/0.3352, allocations: 0 / 0.5674 GB, free: 35.07 MB / 430.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.004074/0.3393, allocations: 1.244 MB / 0.5686 GB, free: 34.96 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.724e-05/0.3393, allocations: 5.406 kB / 0.5686 GB, free: 34.96 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.164e-06/0.3393, allocations: 2.719 kB / 0.5686 GB, free: 34.96 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003093/0.3424, allocations: 0.7614 MB / 0.5693 GB, free: 34.9 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001948/0.3426, allocations: 32.16 kB / 0.5694 GB, free: 34.9 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005493/0.3481, allocations: 3.138 MB / 0.5724 GB, free: 33.48 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005644/0.3487, allocations: 53.03 kB / 0.5725 GB, free: 33.47 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.924e-05/0.3488, allocations: 9.5 kB / 0.5725 GB, free: 33.47 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 (21): * Single equations (assignments): 18 * 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 {(5,7)} Notification: Performance of prepare postOptimizeDAE: time 0.0001895/0.349, allocations: 154.7 kB / 0.5726 GB, free: 33.35 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.869e-05/0.3491, allocations: 33.84 kB / 0.5727 GB, free: 33.33 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003753/0.3528, allocations: 1.208 MB / 0.5739 GB, free: 33.23 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.224e-06/0.3529, allocations: 5.984 kB / 0.5739 GB, free: 33.23 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.015e-05/0.3529, allocations: 3.484 kB / 0.5739 GB, free: 33.23 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.289e-06/0.3529, allocations: 4 kB / 0.5739 GB, free: 33.23 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005572/0.3534, allocations: 0.5164 MB / 0.5744 GB, free: 33.03 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.941e-06/0.3535, allocations: 3.938 kB / 0.5744 GB, free: 33.02 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002099/0.3537, allocations: 33.55 kB / 0.5744 GB, free: 33.02 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002563/0.3562, allocations: 0.6755 MB / 0.5751 GB, free: 32.97 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.089e-05/0.3563, allocations: 12.88 kB / 0.5751 GB, free: 32.97 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004076/0.3604, allocations: 2.678 MB / 0.5777 GB, free: 31.57 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.935e-06/0.3604, allocations: 3.844 kB / 0.5777 GB, free: 31.57 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004384/0.3648, allocations: 1.576 MB / 0.5792 GB, free: 31.21 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001359/0.365, allocations: 117 kB / 0.5794 GB, free: 31.09 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.064e-05/0.365, allocations: 6.594 kB / 0.5794 GB, free: 31.08 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004522/0.3655, allocations: 40.33 kB / 0.5794 GB, free: 31.07 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000236/0.3657, allocations: 83.5 kB / 0.5795 GB, free: 31.05 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.058e-05/0.3658, allocations: 8.75 kB / 0.5795 GB, free: 31.05 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0002593/0.3661, allocations: 230.8 kB / 0.5797 GB, free: 30.93 MB / 430.1 MB Notification: Performance of sort global known variables: time 2.91e-07/0.3661, allocations: 0 / 0.5797 GB, free: 30.93 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0005763/0.3666, allocations: 137.7 kB / 0.5798 GB, free: 30.91 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (motorTypeI.s) * 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 (22): * Single equations (assignments): 19 * 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.004741/0.3714, allocations: 2.126 MB / 0.5819 GB, free: 29.81 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.002447/0.3739, allocations: 0.9987 MB / 0.5829 GB, free: 29.27 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.577e-06/0.3739, allocations: 0 / 0.5829 GB, free: 29.27 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001674/0.3756, allocations: 0.7248 MB / 0.5836 GB, free: 28.81 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000432/0.376, allocations: 26.22 kB / 0.5836 GB, free: 28.8 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01733/0.3933, allocations: 5.65 MB / 0.5891 GB, free: 26.29 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002885/0.3937, allocations: 0.7922 MB / 0.5899 GB, free: 25.59 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001231/0.3938, allocations: 24.3 kB / 0.5899 GB, free: 25.59 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001598/0.394, allocations: 110.8 kB / 0.59 GB, free: 25.5 MB / 430.1 MB Notification: Performance of SimCode: time 4.71e-07/0.394, allocations: 0 / 0.59 GB, free: 25.5 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03891/0.4329, allocations: 11.36 MB / 0.6011 GB, free: 24.08 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.21/11.64, allocations: 4.484 kB / 0.6011 GB, free: 24.08 MB / 430.1 MB (rm -f OpenIPSL_OpenIPSL.Tests.Machines.PSAT.InductiveMotorI_SIMBOpenline_Test.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Machines.PSAT.InductiveMotorI_SIMBOpenline_Test.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Machines.PSAT.InductiveMotorI_SIMBOpenline_Test.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Machines.PSAT.InductiveMotorI_SIMBOpenline_Test.sim & python3 -m fmpy simulate --output-file OpenIPSL_OpenIPSL.Tests.Machines.PSAT.InductiveMotorI_SIMBOpenline_Test_res.csv --start-time 0 --stop-time 20 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.008 OpenIPSL_OpenIPSL_Tests_Machines_PSAT_InductiveMotorI_SIMBOpenline_Test.fmu > OpenIPSL_OpenIPSL.Tests.Machines.PSAT.InductiveMotorI_SIMBOpenline_Test.pipe 2>&1)