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.001587/0.001588, allocations: 108 kB / 15.61 MB, free: 128 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.425/1.425, allocations: 222.9 MB / 239.3 MB, free: 4.648 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.001893/0.001893, allocations: 191.7 kB / 289.6 MB, free: 2.363 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5146/0.5146, allocations: 91.9 MB / 431.6 MB, free: 9.27 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001605/0.001606, allocations: 71.88 kB / 0.502 GB, free: 7.652 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3516/0.3532, allocations: 71.27 MB / 0.5716 GB, free: 36.41 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.InductiveMotorV_SIMBOpenline_Test): time 0.00407/0.3573, allocations: 3.068 MB / 0.5746 GB, free: 34.83 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001288/0.3587, allocations: 0.9654 MB / 0.5755 GB, free: 34.41 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001402/0.3588, allocations: 4.938 kB / 0.5755 GB, free: 34.41 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002556/0.3591, allocations: 94.83 kB / 0.5756 GB, free: 34.36 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002665/0.3594, allocations: 163.5 kB / 0.5758 GB, free: 34.28 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007918/0.3602, allocations: 469.5 kB / 0.5762 GB, free: 34.11 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003488/0.3605, allocations: 0.529 MB / 0.5767 GB, free: 34 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001651/0.3607, allocations: 95.45 kB / 0.5768 GB, free: 33.98 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001744/0.3609, allocations: 227.2 kB / 0.577 GB, free: 33.92 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002872/0.3612, allocations: 299.2 kB / 0.5773 GB, free: 33.83 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 6.111e-05/0.3612, allocations: 48.47 kB / 0.5774 GB, free: 33.83 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001542/0.3614, allocations: 96.25 kB / 0.5775 GB, free: 33.82 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 7.338e-05/0.3615, allocations: 120.4 kB / 0.5776 GB, free: 33.74 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001635/0.3616, allocations: 232.4 kB / 0.5778 GB, free: 33.59 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000426/0.3621, allocations: 0.5935 MB / 0.5784 GB, free: 33.32 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.518e-06/0.3621, allocations: 0 / 0.5784 GB, free: 33.32 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.3621, allocations: 0.7188 kB / 0.5784 GB, free: 33.32 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.188e-05/0.3621, allocations: 0 / 0.5784 GB, free: 33.32 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.002936/0.3651, allocations: 1.148 MB / 0.5795 GB, free: 32.7 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.644e-05/0.3651, allocations: 10.38 kB / 0.5795 GB, free: 32.7 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.916e-05/0.3652, allocations: 66.34 kB / 0.5796 GB, free: 32.64 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001489/0.3667, allocations: 273 kB / 0.5798 GB, free: 32.59 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004156/0.3671, allocations: 420.9 kB / 0.5802 GB, free: 32.25 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.367e-05/0.3672, allocations: 88.12 kB / 0.5803 GB, free: 32.18 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.156e-05/0.3673, allocations: 36.31 kB / 0.5804 GB, free: 32.16 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000669/0.3679, allocations: 404.9 kB / 0.5807 GB, free: 32 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.055e-05/0.368, allocations: 0 / 0.5807 GB, free: 32 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.84e-05/0.368, allocations: 14.78 kB / 0.5808 GB, free: 31.99 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.314e-06/0.368, allocations: 9.281 kB / 0.5808 GB, free: 31.99 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006341/0.3687, allocations: 393.4 kB / 0.5811 GB, free: 31.86 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001702/0.3704, allocations: 1.129 MB / 0.5822 GB, free: 31.24 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006028/0.3764, allocations: 1.372 MB / 0.5836 GB, free: 31.02 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004947/0.3769, allocations: 281.9 kB / 0.5839 GB, free: 30.91 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.701e-05/0.377, allocations: 8.219 kB / 0.5839 GB, free: 30.9 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.757e-05/0.377, allocations: 36.78 kB / 0.5839 GB, free: 30.86 MB / 430.1 MB Notification: Performance of pre-optimization done (n=35): time 2.144e-06/0.377, allocations: 0 / 0.5839 GB, free: 30.86 MB / 430.1 MB Notification: Performance of matching and sorting (n=35): time 0.005874/0.3829, allocations: 1.985 MB / 0.5858 GB, free: 30.14 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.891e-05/0.3829, allocations: 66.94 kB / 0.5859 GB, free: 30.07 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004647/0.3834, allocations: 423.9 kB / 0.5863 GB, free: 29.86 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 3.266e-05/0.3834, allocations: 29.7 kB / 0.5863 GB, free: 29.83 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001081/0.3835, allocations: 210.2 kB / 0.5865 GB, free: 29.65 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.321e-05/0.3836, allocations: 121.5 kB / 0.5866 GB, free: 29.55 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001197/0.3838, allocations: 64.8 kB / 0.5867 GB, free: 29.51 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 6.121e-05/0.3838, allocations: 350.1 kB / 0.587 GB, free: 29.18 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004484/0.3843, allocations: 239.9 kB / 0.5873 GB, free: 29.1 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004637/0.3847, allocations: 239.6 kB / 0.5875 GB, free: 29.02 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009702/0.3857, allocations: 0.5075 MB / 0.588 GB, free: 28.79 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.3857, allocations: 0 / 0.588 GB, free: 28.79 MB / 430.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.004178/0.3899, allocations: 1.372 MB / 0.5893 GB, free: 28.39 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.985e-05/0.39, allocations: 9.375 kB / 0.5893 GB, free: 28.39 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.724e-06/0.39, allocations: 3.141 kB / 0.5893 GB, free: 28.39 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003191/0.3932, allocations: 0.8878 MB / 0.5902 GB, free: 28.21 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001882/0.3934, allocations: 35.91 kB / 0.5902 GB, free: 28.21 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00583/0.3992, allocations: 3.393 MB / 0.5936 GB, free: 26.02 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004862/0.3997, allocations: 46.8 kB / 0.5936 GB, free: 26 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.322e-05/0.3997, allocations: 11.34 kB / 0.5936 GB, free: 26 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.0001848/0.3999, allocations: 153.7 kB / 0.5938 GB, free: 25.85 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.214e-05/0.4, allocations: 42.91 kB / 0.5938 GB, free: 25.83 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003584/0.4036, allocations: 1.232 MB / 0.595 GB, free: 25.46 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.49e-06/0.4036, allocations: 4.375 kB / 0.595 GB, free: 25.46 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.182e-06/0.4036, allocations: 2.062 kB / 0.595 GB, free: 25.46 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.624e-06/0.4037, allocations: 2.016 kB / 0.595 GB, free: 25.46 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006063/0.4043, allocations: 0.5543 MB / 0.5956 GB, free: 25.11 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.4043, allocations: 0 / 0.5956 GB, free: 25.11 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002595/0.4045, allocations: 40.2 kB / 0.5956 GB, free: 25.11 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002134/0.4067, allocations: 0.6401 MB / 0.5962 GB, free: 24.96 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.51e-05/0.4067, allocations: 8.422 kB / 0.5962 GB, free: 24.96 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003716/0.4105, allocations: 2.542 MB / 0.5987 GB, free: 23.14 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.4105, allocations: 0 / 0.5987 GB, free: 23.14 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004151/0.4146, allocations: 1.609 MB / 0.6003 GB, free: 22.54 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001197/0.4148, allocations: 126.2 kB / 0.6004 GB, free: 22.42 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.524e-05/0.4148, allocations: 10.91 kB / 0.6004 GB, free: 22.41 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00044/0.4153, allocations: 30.78 kB / 0.6004 GB, free: 22.41 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002366/0.4155, allocations: 91.59 kB / 0.6005 GB, free: 22.38 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.777e-05/0.4156, allocations: 6.781 kB / 0.6005 GB, free: 22.38 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0003239/0.4159, allocations: 310.8 kB / 0.6008 GB, free: 22.22 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4159, allocations: 4 kB / 0.6008 GB, free: 22.22 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0005256/0.4164, allocations: 151.1 kB / 0.601 GB, free: 22.2 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.004339/0.4208, allocations: 2.159 MB / 0.6031 GB, free: 21.07 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.002778/0.4236, allocations: 1.15 MB / 0.6042 GB, free: 20.47 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.4236, allocations: 0 / 0.6042 GB, free: 20.47 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001645/0.4252, allocations: 0.7405 MB / 0.6049 GB, free: 20.01 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004071/0.4256, allocations: 36.56 kB / 0.605 GB, free: 19.99 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01302/0.4387, allocations: 6.134 MB / 0.611 GB, free: 16.98 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000269/0.439, allocations: 0.8149 MB / 0.6118 GB, free: 16.27 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001357/0.4391, allocations: 32 kB / 0.6118 GB, free: 16.27 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000215/0.4393, allocations: 143.8 kB / 0.6119 GB, free: 16.16 MB / 430.1 MB Notification: Performance of SimCode: time 1.022e-06/0.4393, allocations: 0 / 0.6119 GB, free: 16.16 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.149/1.588, allocations: 12.78 MB / 0.6244 GB, free: 7.742 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.13/15.72, allocations: 9.906 kB / 0.6244 GB, free: 7.738 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Tests_Machines_PSAT_InductiveMotorV_SIMBOpenline_Test_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Tests_Machines_PSAT_InductiveMotorV_SIMBOpenline_Test.fmu > OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.InductiveMotorV_SIMBOpenline_Test.pipe 2>&1)