Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.InductiveMotorV_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.InductiveMotorV_SIMBOpenline_Test,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Machines_PSAT_InductiveMotorV_SIMBOpenline_Test",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.InductiveMotorV_SIMBOpenline_Test,fileNamePrefix="OpenIPSL_2_0_0_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/Modelica_Synchronous 0.93.0-master/package.mo): time 0.08612/0.08612, allocations: 12.6 MB / 28.1 MB, free: 248 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.001026/0.001026, allocations: 103.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.317/1.317, 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.001248/0.001248, allocations: 192.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.42/0.42, allocations: 78.5 MB / 419.2 MB, free: 11.34 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.00254/0.00254, allocations: 139.8 kB / 499.9 MB, free: 10.73 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2663/0.2689, allocations: 68.11 MB / 0.5547 GB, free: 32.73 MB / 398.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.InductiveMotorV_SIMBOpenline_Test): time 0.003711/0.2726, allocations: 3.061 MB / 0.5577 GB, free: 30.5 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001586/0.2742, allocations: 1.019 MB / 0.5587 GB, free: 29.78 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001911/0.2744, allocations: 2.781 kB / 0.5587 GB, free: 29.78 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003437/0.2748, allocations: 94.28 kB / 0.5588 GB, free: 29.73 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003667/0.2752, allocations: 157.5 kB / 0.5589 GB, free: 29.62 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009566/0.2761, allocations: 467.2 kB / 0.5593 GB, free: 29.36 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005082/0.2766, allocations: 0.5474 MB / 0.5599 GB, free: 29.05 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001866/0.2768, allocations: 89.7 kB / 0.56 GB, free: 29.02 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002313/0.2771, allocations: 228.9 kB / 0.5602 GB, free: 28.87 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003223/0.2774, allocations: 295.8 kB / 0.5605 GB, free: 28.66 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 7.63e-05/0.2775, allocations: 46.41 kB / 0.5605 GB, free: 28.66 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001864/0.2777, allocations: 104.9 kB / 0.5606 GB, free: 28.64 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.055e-05/0.2778, allocations: 117.5 kB / 0.5607 GB, free: 28.54 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000157/0.2779, allocations: 236.2 kB / 0.561 GB, free: 28.36 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004577/0.2784, allocations: 0.5843 MB / 0.5615 GB, free: 27.91 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.905e-06/0.2784, allocations: 0 / 0.5615 GB, free: 27.91 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.2784, allocations: 0 / 0.5615 GB, free: 27.91 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.166e-05/0.2784, allocations: 0 / 0.5615 GB, free: 27.91 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: 65 * Number of variables: 65 Notification: Performance of Generate backend data structure: time 0.003345/0.2818, allocations: 1.153 MB / 0.5626 GB, free: 27.11 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.835e-05/0.2818, allocations: 13.8 kB / 0.5627 GB, free: 27.11 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.588e-05/0.2819, allocations: 58.83 kB / 0.5627 GB, free: 27.05 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001642/0.2836, allocations: 275.4 kB / 0.563 GB, free: 26.93 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004968/0.2841, allocations: 428.6 kB / 0.5634 GB, free: 26.55 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000104/0.2842, allocations: 90.8 kB / 0.5635 GB, free: 26.46 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.123e-05/0.2843, allocations: 26.69 kB / 0.5635 GB, free: 26.46 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007534/0.285, allocations: 403.7 kB / 0.5639 GB, free: 26.22 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.342e-05/0.285, allocations: 0 / 0.5639 GB, free: 26.22 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.025e-05/0.2851, allocations: 18.53 kB / 0.5639 GB, free: 26.21 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.288e-06/0.2851, allocations: 6.094 kB / 0.5639 GB, free: 26.21 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007397/0.2859, allocations: 389.9 kB / 0.5643 GB, free: 26.03 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001785/0.2876, allocations: 1.122 MB / 0.5654 GB, free: 25.14 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006454/0.2941, allocations: 1.371 MB / 0.5667 GB, free: 24.54 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005361/0.2947, allocations: 287.8 kB / 0.567 GB, free: 24.39 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.793e-05/0.2947, allocations: 3.469 kB / 0.567 GB, free: 24.39 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.785e-05/0.2948, allocations: 40.75 kB / 0.567 GB, free: 24.34 MB / 398.1 MB Notification: Performance of pre-optimization done (n=35): time 1.944e-06/0.2948, allocations: 0 / 0.567 GB, free: 24.34 MB / 398.1 MB Notification: Performance of matching and sorting (n=35): time 0.006067/0.3008, allocations: 1.992 MB / 0.569 GB, free: 23.2 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.557e-05/0.3009, allocations: 58.81 kB / 0.569 GB, free: 23.13 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004598/0.3013, allocations: 423.8 kB / 0.5694 GB, free: 22.87 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.608e-05/0.3014, allocations: 35.8 kB / 0.5695 GB, free: 22.83 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001003/0.3015, allocations: 207.8 kB / 0.5697 GB, free: 22.64 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.041e-05/0.3016, allocations: 125.9 kB / 0.5698 GB, free: 22.53 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001285/0.3017, allocations: 56.33 kB / 0.5698 GB, free: 22.49 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 6.891e-05/0.3018, allocations: 356 kB / 0.5702 GB, free: 22.14 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004902/0.3023, allocations: 240.7 kB / 0.5704 GB, free: 22.03 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004831/0.3028, allocations: 246.6 kB / 0.5706 GB, free: 21.91 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009972/0.3038, allocations: 0.4966 MB / 0.5711 GB, free: 21.65 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.066e-06/0.3038, allocations: 0 / 0.5711 GB, free: 21.65 MB / 398.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.004229/0.308, allocations: 1.37 MB / 0.5725 GB, free: 20.94 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.158e-05/0.3081, allocations: 9.219 kB / 0.5725 GB, free: 20.93 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.206e-06/0.3081, allocations: 3.984 kB / 0.5725 GB, free: 20.93 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0032/0.3113, allocations: 0.8855 MB / 0.5733 GB, free: 20.06 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000213/0.3115, allocations: 43.92 kB / 0.5734 GB, free: 20.02 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005584/0.3171, allocations: 3.384 MB / 0.5767 GB, free: 16.5 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000535/0.3177, allocations: 51.78 kB / 0.5767 GB, free: 16.45 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.972e-05/0.3177, allocations: 15.94 kB / 0.5768 GB, free: 16.43 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 (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.0001718/0.3179, allocations: 149.8 kB / 0.5769 GB, free: 16.27 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.104e-05/0.318, allocations: 43.44 kB / 0.5769 GB, free: 16.23 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003389/0.3214, allocations: 1.229 MB / 0.5781 GB, free: 14.98 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.088e-06/0.3214, allocations: 4 kB / 0.5781 GB, free: 14.98 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.857e-06/0.3214, allocations: 0 / 0.5781 GB, free: 14.98 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.03e-06/0.3214, allocations: 0 / 0.5781 GB, free: 14.98 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004727/0.3219, allocations: 0.5594 MB / 0.5787 GB, free: 14.37 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.477e-06/0.3219, allocations: 3.984 kB / 0.5787 GB, free: 14.37 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002629/0.3222, allocations: 39.92 kB / 0.5787 GB, free: 14.33 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002061/0.3242, allocations: 0.6269 MB / 0.5793 GB, free: 13.69 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.015e-05/0.3243, allocations: 4 kB / 0.5794 GB, free: 13.69 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003621/0.3279, allocations: 2.564 MB / 0.5819 GB, free: 10.99 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.412e-06/0.3279, allocations: 0 / 0.5819 GB, free: 10.99 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003904/0.3318, allocations: 1.602 MB / 0.5834 GB, free: 9.359 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001523/0.332, allocations: 128.6 kB / 0.5835 GB, free: 9.215 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.944e-05/0.3321, allocations: 8 kB / 0.5836 GB, free: 9.207 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004643/0.3326, allocations: 31.95 kB / 0.5836 GB, free: 9.176 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002141/0.3328, allocations: 99.81 kB / 0.5837 GB, free: 9.078 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.825e-05/0.3328, allocations: 8 kB / 0.5837 GB, free: 9.07 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002652/0.3331, allocations: 315.1 kB / 0.584 GB, free: 8.762 MB / 398.1 MB Notification: Performance of sort global known variables: time 3.2e-07/0.3331, allocations: 0 / 0.584 GB, free: 8.762 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0005033/0.3336, allocations: 147.8 kB / 0.5841 GB, free: 8.617 MB / 398.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.004067/0.3377, allocations: 2.159 MB / 0.5862 GB, free: 6.418 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.002687/0.3404, allocations: 1.143 MB / 0.5873 GB, free: 5.219 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.3404, allocations: 0 / 0.5873 GB, free: 5.219 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001535/0.3419, allocations: 0.7441 MB / 0.5881 GB, free: 4.418 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004697/0.3424, allocations: 38.44 kB / 0.5881 GB, free: 4.387 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01186/0.3543, allocations: 6.125 MB / 0.5941 GB, free: 14.16 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003659/0.3547, allocations: 0.8235 MB / 0.5949 GB, free: 13.31 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.000145/0.3548, allocations: 30.95 kB / 0.5949 GB, free: 13.29 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002188/0.3551, allocations: 147.3 kB / 0.5951 GB, free: 13.14 MB / 414.1 MB Notification: Performance of SimCode: time 2.294e-06/0.3551, allocations: 0 / 0.5951 GB, free: 13.14 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0377/0.3928, allocations: 12.78 MB / 0.6075 GB, free: 492 kB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.2/11.59, allocations: 4 kB / 0.6075 GB, free: 488 kB / 414.1 MB (rm -f OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.InductiveMotorV_SIMBOpenline_Test.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.InductiveMotorV_SIMBOpenline_Test.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.InductiveMotorV_SIMBOpenline_Test.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.InductiveMotorV_SIMBOpenline_Test.sim & python3 -m fmpy simulate --output-file OpenIPSL_2.0.0_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_2_0_0_OpenIPSL_Tests_Machines_PSAT_InductiveMotorV_SIMBOpenline_Test.fmu > OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.InductiveMotorV_SIMBOpenline_Test.pipe 2>&1)