Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.InductiveMotorI_SIMBOpenline_Test.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo", uses=false) 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 3.2.3+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 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 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo) Running command: "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.InductiveMotorI_SIMBOpenline_Test,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Machines_PSAT_InductiveMotorI_SIMBOpenline_Test",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.InductiveMotorI_SIMBOpenline_Test,fileNamePrefix="OpenIPSL_2_0_0_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/Modelica_Synchronous 0.93.0-master/package.mo): time 0.1028/0.1028, allocations: 12.6 MB / 28.1 MB, free: 184 kB / 19.63 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001129/0.001129, allocations: 107.5 kB / 31.7 MB, free: 3.492 MB / 26.18 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.304/1.304, allocations: 205.1 MB / 240.3 MB, free: 12.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001366/0.001366, allocations: 188.5 kB / 290.5 MB, free: 13.48 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4306/0.4306, allocations: 78.5 MB / 419.2 MB, free: 11.33 MB / 302.1 MB Notification: Modelica_Synchronous requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: OpenIPSL requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002833/0.002833, allocations: 135.8 kB / 499.9 MB, free: 10.72 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2964/0.2992, allocations: 68.11 MB / 0.5547 GB, free: 32.67 MB / 398.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.InductiveMotorI_SIMBOpenline_Test): time 0.004085/0.3034, allocations: 2.783 MB / 0.5574 GB, free: 30.65 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002036/0.3054, allocations: 0.9396 MB / 0.5583 GB, free: 29.98 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003841/0.3059, allocations: 3.281 kB / 0.5583 GB, free: 29.98 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003266/0.3062, allocations: 86.86 kB / 0.5584 GB, free: 29.94 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003294/0.3066, allocations: 129.9 kB / 0.5585 GB, free: 29.84 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009562/0.3075, allocations: 448.3 kB / 0.559 GB, free: 29.58 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003774/0.3079, allocations: 421.8 kB / 0.5594 GB, free: 29.37 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002084/0.3081, allocations: 94.89 kB / 0.5594 GB, free: 29.33 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001737/0.3083, allocations: 169.3 kB / 0.5596 GB, free: 29.24 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003297/0.3087, allocations: 227.6 kB / 0.5598 GB, free: 29.13 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.727e-05/0.3087, allocations: 33 kB / 0.5599 GB, free: 29.13 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001986/0.3089, allocations: 86.09 kB / 0.5599 GB, free: 29.12 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.407e-05/0.309, allocations: 91.03 kB / 0.56 GB, free: 29.05 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001437/0.3092, allocations: 188 kB / 0.5602 GB, free: 28.91 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005097/0.3097, allocations: 497.8 kB / 0.5607 GB, free: 28.55 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/0.3097, allocations: 0 / 0.5607 GB, free: 28.55 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.114e-06/0.3097, allocations: 0 / 0.5607 GB, free: 28.55 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.649e-05/0.3097, allocations: 5.125 kB / 0.5607 GB, free: 28.54 MB / 398.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.002953/0.3127, allocations: 1.024 MB / 0.5617 GB, free: 27.81 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.266e-05/0.3127, allocations: 13.52 kB / 0.5617 GB, free: 27.8 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.574e-05/0.3128, allocations: 57.55 kB / 0.5618 GB, free: 27.75 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001569/0.3144, allocations: 259 kB / 0.562 GB, free: 27.64 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003728/0.3148, allocations: 357.2 kB / 0.5623 GB, free: 27.31 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001192/0.3149, allocations: 89.42 kB / 0.5624 GB, free: 27.23 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.155e-05/0.315, allocations: 22.44 kB / 0.5624 GB, free: 27.22 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007192/0.3157, allocations: 367.1 kB / 0.5628 GB, free: 27 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.096e-05/0.3157, allocations: 0 / 0.5628 GB, free: 27 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.749e-05/0.3158, allocations: 14.12 kB / 0.5628 GB, free: 26.99 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.428e-06/0.3158, allocations: 5.125 kB / 0.5628 GB, free: 26.99 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007457/0.3165, allocations: 366.2 kB / 0.5632 GB, free: 26.82 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001825/0.3184, allocations: 1.016 MB / 0.5642 GB, free: 26.01 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006716/0.3251, allocations: 1.367 MB / 0.5655 GB, free: 25.4 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005054/0.3256, allocations: 264.3 kB / 0.5657 GB, free: 25.27 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.859e-05/0.3257, allocations: 4.406 kB / 0.5657 GB, free: 25.27 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.648e-05/0.3257, allocations: 35.59 kB / 0.5658 GB, free: 25.22 MB / 398.1 MB Notification: Performance of pre-optimization done (n=31): time 1.794e-06/0.3257, allocations: 0 / 0.5658 GB, free: 25.22 MB / 398.1 MB Notification: Performance of matching and sorting (n=31): time 0.006818/0.3325, allocations: 1.978 MB / 0.5677 GB, free: 24.09 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.765e-05/0.3326, allocations: 57.69 kB / 0.5678 GB, free: 24.02 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003221/0.3329, allocations: 317.9 kB / 0.5681 GB, free: 23.81 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.365e-05/0.333, allocations: 33.48 kB / 0.5681 GB, free: 23.78 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.94e-05/0.3331, allocations: 186.6 kB / 0.5683 GB, free: 23.61 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.496e-05/0.3331, allocations: 107.1 kB / 0.5684 GB, free: 23.51 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001195/0.3333, allocations: 55.83 kB / 0.5684 GB, free: 23.47 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 6.129e-05/0.3333, allocations: 347 kB / 0.5688 GB, free: 23.13 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004653/0.3338, allocations: 217.8 kB / 0.569 GB, free: 23.02 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004752/0.3343, allocations: 232 kB / 0.5692 GB, free: 22.91 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009521/0.3353, allocations: 470.8 kB / 0.5696 GB, free: 22.67 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.995e-06/0.3353, allocations: 0 / 0.5696 GB, free: 22.67 MB / 398.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.00428/0.3396, allocations: 1.244 MB / 0.5709 GB, free: 22.03 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.925e-05/0.3396, allocations: 8.609 kB / 0.5709 GB, free: 22.03 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.113e-05/0.3396, allocations: 1.188 kB / 0.5709 GB, free: 22.03 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003214/0.3429, allocations: 0.7567 MB / 0.5716 GB, free: 21.67 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001979/0.3431, allocations: 27.2 kB / 0.5716 GB, free: 21.66 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005191/0.3483, allocations: 3.148 MB / 0.5747 GB, free: 18.55 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005468/0.3488, allocations: 63.7 kB / 0.5748 GB, free: 18.49 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.839e-05/0.3489, allocations: 8 kB / 0.5748 GB, free: 18.48 MB / 398.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.0001857/0.3491, allocations: 145.8 kB / 0.5749 GB, free: 18.33 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.813e-05/0.3492, allocations: 31.62 kB / 0.5749 GB, free: 18.3 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003623/0.3528, allocations: 1.211 MB / 0.5761 GB, free: 17.07 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.26e-06/0.3528, allocations: 4 kB / 0.5761 GB, free: 17.06 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.911e-06/0.3528, allocations: 4 kB / 0.5761 GB, free: 17.06 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.014e-06/0.3528, allocations: 7.984 kB / 0.5761 GB, free: 17.05 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005594/0.3534, allocations: 0.5127 MB / 0.5766 GB, free: 16.49 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.25e-06/0.3534, allocations: 7.875 kB / 0.5767 GB, free: 16.48 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002023/0.3536, allocations: 31.98 kB / 0.5767 GB, free: 16.45 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00239/0.356, allocations: 0.6737 MB / 0.5773 GB, free: 15.77 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.183e-05/0.3561, allocations: 8 kB / 0.5774 GB, free: 15.76 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003921/0.36, allocations: 2.681 MB / 0.58 GB, free: 12.94 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.495e-06/0.36, allocations: 4.031 kB / 0.58 GB, free: 12.93 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004118/0.3641, allocations: 1.574 MB / 0.5815 GB, free: 11.33 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001231/0.3643, allocations: 120.6 kB / 0.5816 GB, free: 11.2 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.576e-05/0.3643, allocations: 11.88 kB / 0.5816 GB, free: 11.18 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004147/0.3648, allocations: 40.02 kB / 0.5817 GB, free: 11.14 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000202/0.365, allocations: 83.88 kB / 0.5818 GB, free: 11.06 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.481e-05/0.365, allocations: 4 kB / 0.5818 GB, free: 11.06 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001854/0.3652, allocations: 235.1 kB / 0.582 GB, free: 10.83 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3652, allocations: 0 / 0.582 GB, free: 10.83 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004751/0.3657, allocations: 139.8 kB / 0.5821 GB, free: 10.69 MB / 398.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.004295/0.37, allocations: 2.13 MB / 0.5842 GB, free: 8.523 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.002314/0.3723, allocations: 0.9947 MB / 0.5852 GB, free: 7.473 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.3723, allocations: 0 / 0.5852 GB, free: 7.473 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001581/0.3739, allocations: 0.7091 MB / 0.5859 GB, free: 6.707 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004182/0.3743, allocations: 35.25 kB / 0.5859 GB, free: 6.676 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01556/0.3899, allocations: 5.657 MB / 0.5914 GB, free: 0.9258 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002302/0.3902, allocations: 0.7873 MB / 0.5922 GB, free: 112 kB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001053/0.3903, allocations: 22.28 kB / 0.5922 GB, free: 92 kB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001872/0.3905, allocations: 111.4 kB / 0.5923 GB, free: 15.98 MB / 414.1 MB Notification: Performance of SimCode: time 9.02e-07/0.3905, allocations: 0 / 0.5923 GB, free: 15.98 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03519/0.4257, allocations: 11.36 MB / 0.6034 GB, free: 4.727 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.12/11.55, allocations: 15.58 kB / 0.6034 GB, free: 4.711 MB / 414.1 MB (rm -f OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.InductiveMotorI_SIMBOpenline_Test.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.InductiveMotorI_SIMBOpenline_Test.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.InductiveMotorI_SIMBOpenline_Test.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.InductiveMotorI_SIMBOpenline_Test.sim & python3 -m fmpy simulate --output-file OpenIPSL_2.0.0_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_2_0_0_OpenIPSL_Tests_Machines_PSAT_InductiveMotorI_SIMBOpenline_Test.fmu > OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.InductiveMotorI_SIMBOpenline_Test.pipe 2>&1)