Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.InductiveMotorIII_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.InductiveMotorIII_SIMBOpenline_Test,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Machines_PSAT_InductiveMotorIII_SIMBOpenline_Test",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.InductiveMotorIII_SIMBOpenline_Test,fileNamePrefix="OpenIPSL_2_0_0_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/Modelica_Synchronous 0.93.0-master/package.mo): time 0.07796/0.07796, allocations: 12.6 MB / 28.1 MB, free: 0.832 MB / 19.63 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00103/0.00103, allocations: 107.5 kB / 31.69 MB, free: 3.965 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.346/1.346, allocations: 205.1 MB / 240.3 MB, free: 12.43 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.001286/0.001286, allocations: 192.5 kB / 290.6 MB, free: 13.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4316/0.4316, 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.005269/0.005269, allocations: 135.8 kB / 499.9 MB, free: 10.72 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2807/0.286, allocations: 68.11 MB / 0.5547 GB, free: 32.94 MB / 398.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.InductiveMotorIII_SIMBOpenline_Test): time 0.003437/0.2895, allocations: 2.987 MB / 0.5576 GB, free: 30.77 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001454/0.291, allocations: 0.9996 MB / 0.5586 GB, free: 30.06 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001626/0.2911, allocations: 4.125 kB / 0.5586 GB, free: 30.06 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002524/0.2914, allocations: 95.78 kB / 0.5587 GB, free: 30.01 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002959/0.2917, allocations: 151.8 kB / 0.5588 GB, free: 29.9 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008631/0.2926, allocations: 453.7 kB / 0.5592 GB, free: 29.64 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003869/0.293, allocations: 0.5036 MB / 0.5597 GB, free: 29.36 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001713/0.2932, allocations: 101.2 kB / 0.5598 GB, free: 29.3 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001895/0.2934, allocations: 216.8 kB / 0.56 GB, free: 29.17 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002917/0.2937, allocations: 278.4 kB / 0.5603 GB, free: 28.97 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 6.47e-05/0.2937, allocations: 44 kB / 0.5603 GB, free: 28.97 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001755/0.2939, allocations: 92.16 kB / 0.5604 GB, free: 28.95 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.679e-05/0.294, allocations: 112.9 kB / 0.5605 GB, free: 28.86 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000151/0.2942, allocations: 231.1 kB / 0.5608 GB, free: 28.68 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004273/0.2946, allocations: 0.5587 MB / 0.5613 GB, free: 28.26 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.139e-06/0.2946, allocations: 1.75 kB / 0.5613 GB, free: 28.26 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.293e-06/0.2946, allocations: 0 / 0.5613 GB, free: 28.26 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.085e-06/0.2946, allocations: 0 / 0.5613 GB, free: 28.26 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.003192/0.2978, allocations: 1.126 MB / 0.5624 GB, free: 27.46 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.041e-05/0.2979, allocations: 14.3 kB / 0.5624 GB, free: 27.45 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.532e-05/0.298, allocations: 63.33 kB / 0.5625 GB, free: 27.39 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001651/0.2996, allocations: 272.5 kB / 0.5627 GB, free: 27.28 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004075/0.3, allocations: 399.6 kB / 0.5631 GB, free: 26.92 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.915e-05/0.3001, allocations: 87.33 kB / 0.5632 GB, free: 26.84 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.875e-05/0.3002, allocations: 26.06 kB / 0.5632 GB, free: 26.83 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007283/0.3009, allocations: 403.6 kB / 0.5636 GB, free: 26.59 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.086e-05/0.3009, allocations: 0 / 0.5636 GB, free: 26.59 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.697e-05/0.301, allocations: 10.62 kB / 0.5636 GB, free: 26.59 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.268e-06/0.301, allocations: 6.875 kB / 0.5636 GB, free: 26.59 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007235/0.3017, allocations: 387 kB / 0.564 GB, free: 26.41 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001794/0.3035, allocations: 1.098 MB / 0.5651 GB, free: 25.54 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006745/0.3103, allocations: 1.384 MB / 0.5664 GB, free: 24.93 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005718/0.3109, allocations: 276.2 kB / 0.5667 GB, free: 24.79 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.302e-05/0.311, allocations: 4.625 kB / 0.5667 GB, free: 24.79 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.996e-05/0.311, allocations: 40.81 kB / 0.5667 GB, free: 24.74 MB / 398.1 MB Notification: Performance of pre-optimization done (n=35): time 2.083e-06/0.311, allocations: 0 / 0.5667 GB, free: 24.74 MB / 398.1 MB Notification: Performance of matching and sorting (n=35): time 0.006346/0.3174, allocations: 1.957 MB / 0.5686 GB, free: 23.61 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.819e-05/0.3174, allocations: 59.5 kB / 0.5687 GB, free: 23.55 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000437/0.3178, allocations: 395.4 kB / 0.5691 GB, free: 23.3 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.37e-05/0.3179, allocations: 34.89 kB / 0.5691 GB, free: 23.27 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.929e-05/0.318, allocations: 203.8 kB / 0.5693 GB, free: 23.08 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.549e-05/0.3181, allocations: 121.9 kB / 0.5694 GB, free: 22.97 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001238/0.3182, allocations: 62.92 kB / 0.5695 GB, free: 22.93 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 6.003e-05/0.3183, allocations: 347.7 kB / 0.5698 GB, free: 22.59 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004855/0.3188, allocations: 232.2 kB / 0.57 GB, free: 22.47 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004818/0.3193, allocations: 227.9 kB / 0.5703 GB, free: 22.37 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009574/0.3202, allocations: 0.4886 MB / 0.5707 GB, free: 22.11 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.3202, allocations: 1.281 kB / 0.5707 GB, free: 22.11 MB / 398.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.004037/0.3243, allocations: 1.276 MB / 0.572 GB, free: 21.45 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.032e-05/0.3243, allocations: 5.531 kB / 0.572 GB, free: 21.45 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.003e-06/0.3243, allocations: 3.938 kB / 0.572 GB, free: 21.45 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002811/0.3272, allocations: 0.7634 MB / 0.5727 GB, free: 20.84 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002041/0.3274, allocations: 35.92 kB / 0.5728 GB, free: 20.8 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004977/0.3324, allocations: 3.122 MB / 0.5758 GB, free: 17.54 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005172/0.3329, allocations: 51.75 kB / 0.5759 GB, free: 17.49 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.004e-05/0.3329, allocations: 8 kB / 0.5759 GB, free: 17.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 (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.0001751/0.3331, allocations: 145.8 kB / 0.576 GB, free: 17.33 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.242e-05/0.3332, allocations: 47.38 kB / 0.5761 GB, free: 17.29 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003453/0.3367, allocations: 1.21 MB / 0.5772 GB, free: 16.06 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.469e-06/0.3367, allocations: 7.984 kB / 0.5772 GB, free: 16.05 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.3367, allocations: 3.938 kB / 0.5772 GB, free: 16.05 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.689e-06/0.3367, allocations: 0 / 0.5772 GB, free: 16.05 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004482/0.3372, allocations: 0.5245 MB / 0.5778 GB, free: 15.47 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.705e-06/0.3372, allocations: 4 kB / 0.5778 GB, free: 15.47 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002419/0.3374, allocations: 43.92 kB / 0.5778 GB, free: 15.43 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002076/0.3395, allocations: 0.6268 MB / 0.5784 GB, free: 14.79 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.496e-05/0.3395, allocations: 4 kB / 0.5784 GB, free: 14.79 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003504/0.3431, allocations: 2.556 MB / 0.5809 GB, free: 12.09 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.3431, allocations: 0 / 0.5809 GB, free: 12.09 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00383/0.3469, allocations: 1.586 MB / 0.5825 GB, free: 10.48 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001577/0.3471, allocations: 120.6 kB / 0.5826 GB, free: 10.34 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.62e-05/0.3472, allocations: 15.94 kB / 0.5826 GB, free: 10.33 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004364/0.3476, allocations: 27.97 kB / 0.5826 GB, free: 10.3 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002014/0.3478, allocations: 91.88 kB / 0.5827 GB, free: 10.21 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.514e-05/0.3478, allocations: 4 kB / 0.5827 GB, free: 10.21 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002458/0.3481, allocations: 295.1 kB / 0.583 GB, free: 9.918 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3481, allocations: 0 / 0.583 GB, free: 9.918 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004626/0.3486, allocations: 139.8 kB / 0.5831 GB, free: 9.781 MB / 398.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.004043/0.3526, allocations: 2.145 MB / 0.5852 GB, free: 7.602 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.002533/0.3552, allocations: 1.089 MB / 0.5863 GB, free: 6.457 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.3552, allocations: 0 / 0.5863 GB, free: 6.457 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001527/0.3567, allocations: 0.7285 MB / 0.587 GB, free: 5.672 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003941/0.3571, allocations: 40.89 kB / 0.587 GB, free: 5.637 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01082/0.368, allocations: 5.733 MB / 0.5926 GB, free: 15.8 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004409/0.3684, allocations: 0.8072 MB / 0.5934 GB, free: 14.96 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001633/0.3686, allocations: 34.95 kB / 0.5935 GB, free: 14.93 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002277/0.3689, allocations: 135.4 kB / 0.5936 GB, free: 14.8 MB / 414.1 MB Notification: Performance of SimCode: time 1.402e-06/0.3689, allocations: 0 / 0.5936 GB, free: 14.8 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05295/0.4218, allocations: 12.03 MB / 0.6053 GB, free: 2.895 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.19/11.61, allocations: 14.31 kB / 0.6054 GB, free: 2.887 MB / 414.1 MB (rm -f OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.InductiveMotorIII_SIMBOpenline_Test.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.InductiveMotorIII_SIMBOpenline_Test.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.InductiveMotorIII_SIMBOpenline_Test.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.InductiveMotorIII_SIMBOpenline_Test.sim & python3 -m fmpy simulate --output-file OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.InductiveMotorIII_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_InductiveMotorIII_SIMBOpenline_Test.fmu > OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.InductiveMotorIII_SIMBOpenline_Test.pipe 2>&1)