Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_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.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.InductiveMotorV_SIMBOpenline_Test,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Machines_PSAT_InductiveMotorV_SIMBOpenline_Test",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.InductiveMotorV_SIMBOpenline_Test,fileNamePrefix="OpenIPSL_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.0008597/0.0008596, allocations: 99.38 kB / 15.37 MB, free: 0.707 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.17/1.17, allocations: 223.3 MB / 239.4 MB, free: 5.367 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.0008908/0.0008909, allocations: 180.6 kB / 290.6 MB, free: 2.035 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4019/0.4019, allocations: 78.56 MB / 420.3 MB, free: 4.238 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003205/0.0003206, allocations: 8 kB / 0.4888 GB, free: 5.898 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.104/0.1043, allocations: 69.36 MB / 0.5565 GB, free: 0.4922 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.InductiveMotorV_SIMBOpenline_Test): time 0.1837/0.288, allocations: 2.831 MB / 0.5593 GB, free: 37.76 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001546/0.2896, allocations: 0.9696 MB / 0.5602 GB, free: 37.64 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002496/0.2899, allocations: 2.312 kB / 0.5602 GB, free: 37.64 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000267/0.2902, allocations: 77.34 kB / 0.5603 GB, free: 37.62 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003635/0.2905, allocations: 132.3 kB / 0.5604 GB, free: 37.57 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008137/0.2913, allocations: 438.6 kB / 0.5608 GB, free: 37.48 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004539/0.2918, allocations: 0.5047 MB / 0.5613 GB, free: 37.37 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001559/0.292, allocations: 80.73 kB / 0.5614 GB, free: 37.35 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002279/0.2922, allocations: 199.1 kB / 0.5616 GB, free: 37.29 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003032/0.2925, allocations: 272 kB / 0.5618 GB, free: 37.22 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 5.762e-05/0.2926, allocations: 28.44 kB / 0.5619 GB, free: 37.22 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001682/0.2928, allocations: 80.92 kB / 0.562 GB, free: 37.22 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 6.177e-05/0.2928, allocations: 98.59 kB / 0.562 GB, free: 37.18 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001994/0.293, allocations: 234.9 kB / 0.5623 GB, free: 37.07 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004197/0.2935, allocations: 0.5611 MB / 0.5628 GB, free: 36.94 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.726e-06/0.2935, allocations: 0 / 0.5628 GB, free: 36.94 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.353e-06/0.2935, allocations: 0 / 0.5628 GB, free: 36.94 MB / 430.1 MB Notification: Performance of Transformations before backend: time 6.121e-06/0.2935, allocations: 0 / 0.5628 GB, free: 36.94 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.003644/0.2971, allocations: 1.09 MB / 0.5639 GB, free: 36.43 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.947e-05/0.2972, allocations: 16.25 kB / 0.5639 GB, free: 36.43 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.948e-05/0.2973, allocations: 67.44 kB / 0.564 GB, free: 36.38 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002425/0.2997, allocations: 273.4 kB / 0.5642 GB, free: 36.35 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005727/0.3003, allocations: 423.2 kB / 0.5646 GB, free: 36.09 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001147/0.3004, allocations: 90.92 kB / 0.5647 GB, free: 36.02 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.702e-05/0.3005, allocations: 39.77 kB / 0.5647 GB, free: 36.01 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001044/0.3016, allocations: 427 kB / 0.5652 GB, free: 35.97 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.304e-05/0.3016, allocations: 2.312 kB / 0.5652 GB, free: 35.97 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.1e-05/0.3017, allocations: 10.5 kB / 0.5652 GB, free: 35.97 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.226e-06/0.3017, allocations: 6 kB / 0.5652 GB, free: 35.97 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001088/0.3028, allocations: 416 kB / 0.5656 GB, free: 35.97 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002308/0.3051, allocations: 1.164 MB / 0.5667 GB, free: 35.64 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008383/0.3135, allocations: 1.83 MB / 0.5685 GB, free: 35.57 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007261/0.3143, allocations: 310.6 kB / 0.5688 GB, free: 35.55 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.434e-05/0.3143, allocations: 5.719 kB / 0.5688 GB, free: 35.55 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.884e-05/0.3144, allocations: 38.31 kB / 0.5688 GB, free: 35.51 MB / 430.1 MB Notification: Performance of pre-optimization done (n=35): time 2.545e-06/0.3144, allocations: 0 / 0.5688 GB, free: 35.51 MB / 430.1 MB Notification: Performance of matching and sorting (n=35): time 0.008886/0.3233, allocations: 2.39 MB / 0.5712 GB, free: 35.06 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.669e-05/0.3233, allocations: 62.09 kB / 0.5712 GB, free: 34.99 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005883/0.3239, allocations: 424.5 kB / 0.5716 GB, free: 34.88 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 4.542e-05/0.324, allocations: 29.39 kB / 0.5717 GB, free: 34.85 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001139/0.3241, allocations: 220 kB / 0.5719 GB, free: 34.73 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.984e-05/0.3242, allocations: 121.9 kB / 0.572 GB, free: 34.65 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.454e-05/0.3242, allocations: 37.55 kB / 0.572 GB, free: 34.64 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 5.729e-05/0.3243, allocations: 349.4 kB / 0.5724 GB, free: 34.32 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004712/0.3248, allocations: 265.3 kB / 0.5726 GB, free: 34.32 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004457/0.3252, allocations: 267.3 kB / 0.5729 GB, free: 34.32 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009167/0.3262, allocations: 0.556 MB / 0.5734 GB, free: 34.29 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.3262, allocations: 0 / 0.5734 GB, free: 34.29 MB / 430.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.004178/0.3304, allocations: 1.611 MB / 0.575 GB, free: 34.12 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.512e-05/0.3304, allocations: 10.16 kB / 0.575 GB, free: 34.12 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.312e-06/0.3304, allocations: 5.547 kB / 0.575 GB, free: 34.12 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003177/0.3336, allocations: 1.009 MB / 0.576 GB, free: 34.05 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001777/0.3338, allocations: 40.11 kB / 0.576 GB, free: 34.04 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005238/0.339, allocations: 3.294 MB / 0.5792 GB, free: 32.67 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004479/0.3395, allocations: 60.92 kB / 0.5793 GB, free: 32.65 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.984e-05/0.3395, allocations: 15.09 kB / 0.5793 GB, free: 32.65 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.0001607/0.3397, allocations: 151.1 kB / 0.5795 GB, free: 32.53 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.139e-05/0.3397, allocations: 40.34 kB / 0.5795 GB, free: 32.51 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003749/0.3435, allocations: 1.47 MB / 0.5809 GB, free: 32.38 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.609e-06/0.3435, allocations: 4.469 kB / 0.5809 GB, free: 32.38 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.3435, allocations: 2.5 kB / 0.5809 GB, free: 32.38 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.352e-06/0.3435, allocations: 3.844 kB / 0.5809 GB, free: 32.38 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004984/0.344, allocations: 0.5519 MB / 0.5815 GB, free: 32.16 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.505e-06/0.3441, allocations: 0 / 0.5815 GB, free: 32.16 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002519/0.3443, allocations: 44.89 kB / 0.5815 GB, free: 32.16 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002197/0.3465, allocations: 0.7522 MB / 0.5823 GB, free: 32.09 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.172e-05/0.3466, allocations: 5.562 kB / 0.5823 GB, free: 32.09 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003558/0.3501, allocations: 2.525 MB / 0.5847 GB, free: 30.54 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.203e-06/0.3501, allocations: 0 / 0.5847 GB, free: 30.54 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004354/0.3545, allocations: 1.87 MB / 0.5866 GB, free: 29.92 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.689e-05/0.3546, allocations: 135.5 kB / 0.5867 GB, free: 29.79 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.765e-05/0.3547, allocations: 6.469 kB / 0.5867 GB, free: 29.78 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004552/0.3551, allocations: 45.14 kB / 0.5867 GB, free: 29.77 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001997/0.3553, allocations: 87.14 kB / 0.5868 GB, free: 29.76 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.983e-05/0.3554, allocations: 10.66 kB / 0.5868 GB, free: 29.76 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0002889/0.3557, allocations: 308.6 kB / 0.5871 GB, free: 29.6 MB / 430.1 MB Notification: Performance of sort global known variables: time 8.21e-07/0.3557, allocations: 1.781 kB / 0.5871 GB, free: 29.6 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0005004/0.3562, allocations: 151.5 kB / 0.5873 GB, free: 29.58 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.004495/0.3607, allocations: 2.423 MB / 0.5896 GB, free: 28.42 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.002688/0.3634, allocations: 1.226 MB / 0.5908 GB, free: 27.84 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.3634, allocations: 0 / 0.5908 GB, free: 27.84 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001652/0.3651, allocations: 0.8245 MB / 0.5916 GB, free: 27.37 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004039/0.3655, allocations: 41.86 kB / 0.5917 GB, free: 27.34 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01219/0.3777, allocations: 6.847 MB / 0.5984 GB, free: 24.16 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002141/0.3779, allocations: 0.8177 MB / 0.5992 GB, free: 23.45 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001267/0.378, allocations: 29.97 kB / 0.5992 GB, free: 23.45 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001846/0.3782, allocations: 149.1 kB / 0.5993 GB, free: 23.34 MB / 430.1 MB Notification: Performance of SimCode: time 5.51e-07/0.3782, allocations: 0 / 0.5993 GB, free: 23.34 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02308/0.4013, allocations: 11.58 MB / 0.6106 GB, free: 21.61 MB / 430.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000145/0.4015, allocations: 250.9 kB / 0.6109 GB, free: 21.36 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.793/2.195, allocations: 0 / 0.6109 GB, free: 21.36 MB / 430.1 MB (rm -f OpenIPSL_OpenIPSL.Tests.Machines.PSAT.InductiveMotorV_SIMBOpenline_Test.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Machines.PSAT.InductiveMotorV_SIMBOpenline_Test.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Machines.PSAT.InductiveMotorV_SIMBOpenline_Test.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Machines.PSAT.InductiveMotorV_SIMBOpenline_Test.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_OpenIPSL_Tests_Machines_PSAT_InductiveMotorV_SIMBOpenline_Test_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_OpenIPSL_Tests_Machines_PSAT_InductiveMotorV_SIMBOpenline_Test.fmu > OpenIPSL_OpenIPSL.Tests.Machines.PSAT.InductiveMotorV_SIMBOpenline_Test.pipe 2>&1)