Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.InductiveMotorV_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.1.0-master/package.mo", uses=false) Using package OpenIPSL with version 3.1.0-dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/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.InductiveMotorV_SIMBOpenline_Test,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Machines_PSAT_InductiveMotorV_SIMBOpenline_Test",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.InductiveMotorV_SIMBOpenline_Test,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Machines_PSAT_InductiveMotorV_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.001157/0.001157, allocations: 108 kB / 15.6 MB, free: 132 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.327/1.327, allocations: 222.9 MB / 239.3 MB, free: 4.59 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.001638/0.001638, allocations: 196.4 kB / 289.6 MB, free: 2.316 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5093/0.5093, allocations: 91.9 MB / 431.6 MB, free: 9.223 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001696/0.001696, allocations: 83.86 kB / 0.502 GB, free: 7.586 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3243/0.326, allocations: 71.27 MB / 0.5716 GB, free: 36.65 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.InductiveMotorV_SIMBOpenline_Test): time 0.003165/0.3292, allocations: 3.076 MB / 0.5746 GB, free: 35.07 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001293/0.3305, allocations: 0.9672 MB / 0.5755 GB, free: 34.64 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001373/0.3306, allocations: 2.625 kB / 0.5755 GB, free: 34.64 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002455/0.3309, allocations: 97.16 kB / 0.5756 GB, free: 34.59 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002755/0.3312, allocations: 156.5 kB / 0.5758 GB, free: 34.52 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008049/0.332, allocations: 476.9 kB / 0.5762 GB, free: 34.34 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.000367/0.3324, allocations: 0.5311 MB / 0.5767 GB, free: 34.08 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001645/0.3326, allocations: 92.7 kB / 0.5768 GB, free: 34.05 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001881/0.3327, allocations: 223.6 kB / 0.577 GB, free: 33.93 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002912/0.333, allocations: 297.1 kB / 0.5773 GB, free: 33.8 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 6.377e-05/0.3331, allocations: 49.77 kB / 0.5774 GB, free: 33.79 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001585/0.3333, allocations: 100.6 kB / 0.5775 GB, free: 33.77 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 7.09e-05/0.3334, allocations: 112.4 kB / 0.5776 GB, free: 33.7 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001507/0.3335, allocations: 240.8 kB / 0.5778 GB, free: 33.55 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000443/0.334, allocations: 0.5851 MB / 0.5784 GB, free: 33.29 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.526e-06/0.334, allocations: 0 / 0.5784 GB, free: 33.29 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.334, allocations: 0 / 0.5784 GB, free: 33.29 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.282e-05/0.334, allocations: 0.6875 kB / 0.5784 GB, free: 33.29 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.003183/0.3372, allocations: 1.156 MB / 0.5795 GB, free: 32.66 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.644e-05/0.3372, allocations: 8.562 kB / 0.5795 GB, free: 32.66 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.398e-05/0.3373, allocations: 62.11 kB / 0.5796 GB, free: 32.6 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001604/0.3389, allocations: 277.8 kB / 0.5798 GB, free: 32.55 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004221/0.3394, allocations: 416.3 kB / 0.5802 GB, free: 32.21 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.428e-05/0.3395, allocations: 92.72 kB / 0.5803 GB, free: 32.14 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.521e-05/0.3395, allocations: 37.91 kB / 0.5804 GB, free: 32.12 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007338/0.3403, allocations: 402.8 kB / 0.5807 GB, free: 31.96 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.1e-05/0.3403, allocations: 3.125 kB / 0.5807 GB, free: 31.96 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.92e-05/0.3403, allocations: 10.78 kB / 0.5808 GB, free: 31.95 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.386e-06/0.3404, allocations: 5.625 kB / 0.5808 GB, free: 31.95 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006904/0.341, allocations: 394.3 kB / 0.5811 GB, free: 31.82 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001755/0.3428, allocations: 1.13 MB / 0.5822 GB, free: 31.2 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006692/0.3495, allocations: 1.371 MB / 0.5836 GB, free: 30.98 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005274/0.3501, allocations: 277.9 kB / 0.5838 GB, free: 30.87 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.23e-05/0.3501, allocations: 4.719 kB / 0.5839 GB, free: 30.87 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.777e-05/0.3502, allocations: 40.03 kB / 0.5839 GB, free: 30.82 MB / 430.1 MB Notification: Performance of pre-optimization done (n=35): time 2.505e-06/0.3502, allocations: 4 kB / 0.5839 GB, free: 30.82 MB / 430.1 MB Notification: Performance of matching and sorting (n=35): time 0.006472/0.3566, allocations: 1.988 MB / 0.5858 GB, free: 30.1 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.626e-05/0.3567, allocations: 60.06 kB / 0.5859 GB, free: 30.03 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004678/0.3572, allocations: 429.8 kB / 0.5863 GB, free: 29.82 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 3.77e-05/0.3572, allocations: 29.7 kB / 0.5863 GB, free: 29.78 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001062/0.3573, allocations: 209.3 kB / 0.5865 GB, free: 29.61 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.905e-05/0.3574, allocations: 119.2 kB / 0.5866 GB, free: 29.51 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001238/0.3575, allocations: 66.06 kB / 0.5867 GB, free: 29.47 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 6.448e-05/0.3576, allocations: 350.9 kB / 0.587 GB, free: 29.14 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004688/0.3581, allocations: 240.2 kB / 0.5873 GB, free: 29.05 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005189/0.3586, allocations: 239.9 kB / 0.5875 GB, free: 28.97 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001125/0.3598, allocations: 0.5079 MB / 0.588 GB, free: 28.75 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.497e-06/0.3598, allocations: 4 kB / 0.588 GB, free: 28.74 MB / 430.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.004326/0.3641, allocations: 1.373 MB / 0.5893 GB, free: 28.35 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.811e-05/0.3641, allocations: 8.25 kB / 0.5893 GB, free: 28.34 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.981e-06/0.3641, allocations: 0 / 0.5893 GB, free: 28.34 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003416/0.3676, allocations: 0.8903 MB / 0.5902 GB, free: 28.16 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002115/0.3678, allocations: 36.92 kB / 0.5903 GB, free: 28.16 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00615/0.3739, allocations: 3.387 MB / 0.5936 GB, free: 25.97 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005163/0.3745, allocations: 45.3 kB / 0.5936 GB, free: 25.96 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.254e-05/0.3745, allocations: 12.23 kB / 0.5936 GB, free: 25.95 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 {(8,7)} Notification: Performance of prepare postOptimizeDAE: time 0.0001771/0.3747, allocations: 151.2 kB / 0.5938 GB, free: 25.81 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.973e-05/0.3748, allocations: 47.78 kB / 0.5938 GB, free: 25.79 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003769/0.3786, allocations: 1.229 MB / 0.595 GB, free: 25.42 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.511e-06/0.3786, allocations: 3.438 kB / 0.595 GB, free: 25.42 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.468e-06/0.3786, allocations: 2.625 kB / 0.595 GB, free: 25.42 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.442e-06/0.3786, allocations: 8.406 kB / 0.595 GB, free: 25.41 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005909/0.3792, allocations: 0.551 MB / 0.5956 GB, free: 25.07 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.855e-06/0.3792, allocations: 1.25 kB / 0.5956 GB, free: 25.07 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002869/0.3795, allocations: 38.89 kB / 0.5956 GB, free: 25.07 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002313/0.3818, allocations: 0.6283 MB / 0.5962 GB, free: 24.93 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.874e-05/0.3819, allocations: 9.656 kB / 0.5962 GB, free: 24.93 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003841/0.3857, allocations: 2.558 MB / 0.5987 GB, free: 23.09 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.3858, allocations: 0 / 0.5987 GB, free: 23.09 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004328/0.3901, allocations: 1.608 MB / 0.6003 GB, free: 22.5 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001048/0.3902, allocations: 126 kB / 0.6004 GB, free: 22.37 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.164e-05/0.3903, allocations: 11.45 kB / 0.6004 GB, free: 22.36 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004616/0.3908, allocations: 31.3 kB / 0.6004 GB, free: 22.36 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002246/0.391, allocations: 87.73 kB / 0.6005 GB, free: 22.34 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.959e-05/0.391, allocations: 12.06 kB / 0.6005 GB, free: 22.34 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0003152/0.3913, allocations: 304.2 kB / 0.6008 GB, free: 22.18 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3914, allocations: 0 / 0.6008 GB, free: 22.18 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0005284/0.3919, allocations: 154.8 kB / 0.601 GB, free: 22.15 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (motorTypeI.s,motorTypeI.e1r,motorTypeI.e1m,motorTypeI.e2r,motorTypeI.e2m) * 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.004765/0.3967, allocations: 2.162 MB / 0.6031 GB, free: 21.02 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.003024/0.3997, allocations: 1.155 MB / 0.6042 GB, free: 20.42 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.566e-06/0.3997, allocations: 0 / 0.6042 GB, free: 20.42 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001735/0.4015, allocations: 0.7445 MB / 0.6049 GB, free: 19.96 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000389/0.4019, allocations: 34.34 kB / 0.605 GB, free: 19.94 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01274/0.4146, allocations: 6.13 MB / 0.611 GB, free: 16.93 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002621/0.4149, allocations: 0.8152 MB / 0.6118 GB, free: 16.22 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001349/0.4151, allocations: 29.25 kB / 0.6118 GB, free: 16.22 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001959/0.4153, allocations: 146.9 kB / 0.6119 GB, free: 16.11 MB / 430.1 MB Notification: Performance of SimCode: time 5.11e-07/0.4153, allocations: 0 / 0.6119 GB, free: 16.11 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04435/0.4596, allocations: 12.77 MB / 0.6244 GB, free: 7.812 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.11/11.57, allocations: 3.75 kB / 0.6244 GB, free: 7.809 MB / 430.1 MB (rm -f OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.InductiveMotorV_SIMBOpenline_Test.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.InductiveMotorV_SIMBOpenline_Test.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.InductiveMotorV_SIMBOpenline_Test.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.InductiveMotorV_SIMBOpenline_Test.sim & python3 -m fmpy simulate --output-file OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.InductiveMotorV_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_dev_OpenIPSL_Tests_Machines_PSAT_InductiveMotorV_SIMBOpenline_Test.fmu > OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.InductiveMotorV_SIMBOpenline_Test.pipe 2>&1)