Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.InductiveMotorI_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.InductiveMotorI_SIMBOpenline_Test,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Machines_PSAT_InductiveMotorI_SIMBOpenline_Test",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.InductiveMotorI_SIMBOpenline_Test,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Machines_PSAT_InductiveMotorI_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.001495/0.001495, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.428/1.428, allocations: 222.9 MB / 238.9 MB, free: 4.75 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.001322/0.001322, allocations: 188.5 kB / 289.1 MB, free: 2.484 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5385/0.5385, allocations: 91.9 MB / 431.2 MB, free: 9.449 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001598/0.001598, allocations: 76.2 kB / 0.5013 GB, free: 8.09 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4248/0.4264, allocations: 71.25 MB / 0.5709 GB, free: 36.52 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.InductiveMotorI_SIMBOpenline_Test): time 0.003494/0.43, allocations: 2.958 MB / 0.5738 GB, free: 35.02 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001349/0.4313, allocations: 0.9117 MB / 0.5747 GB, free: 34.61 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000127/0.4315, allocations: 6 kB / 0.5747 GB, free: 34.61 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002897/0.4318, allocations: 66.14 kB / 0.5747 GB, free: 34.59 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002438/0.432, allocations: 105.3 kB / 0.5748 GB, free: 34.54 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008146/0.4329, allocations: 429.2 kB / 0.5753 GB, free: 34.39 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.00031/0.4332, allocations: 405.5 kB / 0.5756 GB, free: 34.29 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000166/0.4334, allocations: 83.16 kB / 0.5757 GB, free: 34.26 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001306/0.4335, allocations: 160.3 kB / 0.5759 GB, free: 34.21 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002505/0.4337, allocations: 217.8 kB / 0.5761 GB, free: 34.12 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 4.46e-05/0.4338, allocations: 22.56 kB / 0.5761 GB, free: 34.12 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001581/0.434, allocations: 68.86 kB / 0.5762 GB, free: 34.11 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 6.761e-05/0.434, allocations: 76.08 kB / 0.5762 GB, free: 34.06 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001475/0.4342, allocations: 175.9 kB / 0.5764 GB, free: 33.95 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004282/0.4346, allocations: 485.2 kB / 0.5769 GB, free: 33.73 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/0.4346, allocations: 3.938 kB / 0.5769 GB, free: 33.73 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.012e-06/0.4346, allocations: 0 / 0.5769 GB, free: 33.73 MB / 430.1 MB Notification: Performance of Transformations before backend: time 6.382e-06/0.4347, allocations: 0 / 0.5769 GB, free: 33.73 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: 57 * Number of variables: 57 Notification: Performance of Generate backend data structure: time 0.002801/0.4375, allocations: 1.022 MB / 0.5779 GB, free: 33.15 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.627e-05/0.4375, allocations: 7.938 kB / 0.5779 GB, free: 33.15 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.915e-05/0.4376, allocations: 61.53 kB / 0.5779 GB, free: 33.09 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001576/0.4392, allocations: 268.3 kB / 0.5782 GB, free: 33.04 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003745/0.4396, allocations: 339.9 kB / 0.5785 GB, free: 32.75 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.66e-05/0.4397, allocations: 91.92 kB / 0.5786 GB, free: 32.67 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.331e-05/0.4397, allocations: 21.09 kB / 0.5786 GB, free: 32.66 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007014/0.4404, allocations: 372.8 kB / 0.579 GB, free: 32.52 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.109e-05/0.4405, allocations: 0 / 0.579 GB, free: 32.52 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.54e-05/0.4405, allocations: 11.16 kB / 0.579 GB, free: 32.51 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.747e-06/0.4405, allocations: 5.938 kB / 0.579 GB, free: 32.51 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006719/0.4412, allocations: 362.2 kB / 0.5793 GB, free: 32.39 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001695/0.4429, allocations: 1.027 MB / 0.5803 GB, free: 31.81 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006295/0.4492, allocations: 1.358 MB / 0.5817 GB, free: 31.6 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004692/0.4497, allocations: 262.9 kB / 0.5819 GB, free: 31.49 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.149e-05/0.4497, allocations: 7.344 kB / 0.5819 GB, free: 31.49 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.036e-05/0.4498, allocations: 36.28 kB / 0.582 GB, free: 31.45 MB / 430.1 MB Notification: Performance of pre-optimization done (n=31): time 2.184e-06/0.4498, allocations: 0 / 0.582 GB, free: 31.45 MB / 430.1 MB Notification: Performance of matching and sorting (n=31): time 0.006427/0.4562, allocations: 1.983 MB / 0.5839 GB, free: 30.75 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.017e-05/0.4563, allocations: 54.81 kB / 0.584 GB, free: 30.69 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003579/0.4566, allocations: 319.3 kB / 0.5843 GB, free: 30.52 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 3.39e-05/0.4567, allocations: 31.08 kB / 0.5843 GB, free: 30.49 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001057/0.4568, allocations: 190.1 kB / 0.5845 GB, free: 30.33 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.543e-05/0.4569, allocations: 109.6 kB / 0.5846 GB, free: 30.24 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001252/0.457, allocations: 46.83 kB / 0.5846 GB, free: 30.21 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 7.708e-05/0.4571, allocations: 348.8 kB / 0.585 GB, free: 29.88 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000451/0.4576, allocations: 216 kB / 0.5852 GB, free: 29.8 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004372/0.458, allocations: 228.7 kB / 0.5854 GB, free: 29.72 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000889/0.4589, allocations: 475.3 kB / 0.5858 GB, free: 29.52 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.4589, allocations: 0 / 0.5858 GB, free: 29.52 MB / 430.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.003995/0.4629, allocations: 1.245 MB / 0.587 GB, free: 29.17 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.374e-05/0.4629, allocations: 9.188 kB / 0.5871 GB, free: 29.17 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.554e-06/0.463, allocations: 1.312 kB / 0.5871 GB, free: 29.17 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003059/0.466, allocations: 0.7623 MB / 0.5878 GB, free: 29.01 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001937/0.4662, allocations: 33.75 kB / 0.5878 GB, free: 29 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005123/0.4714, allocations: 2.878 MB / 0.5906 GB, free: 27.08 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005001/0.4719, allocations: 50.77 kB / 0.5907 GB, free: 27.06 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.294e-05/0.4719, allocations: 12.98 kB / 0.5907 GB, free: 27.05 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 (21): * Single equations (assignments): 18 * 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 {(5,7)} Notification: Performance of prepare postOptimizeDAE: time 0.0001734/0.4721, allocations: 148 kB / 0.5908 GB, free: 26.91 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.802e-05/0.4722, allocations: 35.97 kB / 0.5909 GB, free: 26.89 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004102/0.4763, allocations: 1.215 MB / 0.5921 GB, free: 26.54 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.472e-06/0.4763, allocations: 3.125 kB / 0.5921 GB, free: 26.54 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.031e-06/0.4763, allocations: 2.125 kB / 0.5921 GB, free: 26.54 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.881e-06/0.4763, allocations: 4.438 kB / 0.5921 GB, free: 26.54 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005576/0.4769, allocations: 0.5179 MB / 0.5926 GB, free: 26.2 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.146e-06/0.4769, allocations: 0 / 0.5926 GB, free: 26.2 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002171/0.4771, allocations: 32.66 kB / 0.5926 GB, free: 26.2 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002584/0.4797, allocations: 0.6783 MB / 0.5933 GB, free: 26.05 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.524e-05/0.4798, allocations: 8.938 kB / 0.5933 GB, free: 26.05 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003897/0.4837, allocations: 2.465 MB / 0.5957 GB, free: 24.28 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.4837, allocations: 1 kB / 0.5957 GB, free: 24.28 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004698/0.4884, allocations: 1.566 MB / 0.5972 GB, free: 23.71 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001283/0.4885, allocations: 119.1 kB / 0.5973 GB, free: 23.59 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.863e-05/0.4886, allocations: 14.41 kB / 0.5973 GB, free: 23.58 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004301/0.489, allocations: 31.11 kB / 0.5974 GB, free: 23.58 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002538/0.4893, allocations: 89.52 kB / 0.5975 GB, free: 23.56 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.021e-05/0.4893, allocations: 10.8 kB / 0.5975 GB, free: 23.56 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0002634/0.4896, allocations: 234.5 kB / 0.5977 GB, free: 23.43 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4896, allocations: 1.125 kB / 0.5977 GB, free: 23.43 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0006459/0.4903, allocations: 138 kB / 0.5978 GB, free: 23.41 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (motorTypeI.s) * 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 (22): * Single equations (assignments): 19 * 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.004834/0.4951, allocations: 2.133 MB / 0.5999 GB, free: 22.3 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.002393/0.4975, allocations: 0.9818 MB / 0.6009 GB, free: 21.75 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.4975, allocations: 7.938 kB / 0.6009 GB, free: 21.74 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001679/0.4992, allocations: 0.7129 MB / 0.6016 GB, free: 21.29 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000415/0.4996, allocations: 31.53 kB / 0.6016 GB, free: 21.27 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01783/0.5175, allocations: 5.76 MB / 0.6072 GB, free: 18.62 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002736/0.5178, allocations: 0.7923 MB / 0.608 GB, free: 17.91 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.000131/0.5179, allocations: 21.47 kB / 0.608 GB, free: 17.91 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001683/0.5181, allocations: 110.9 kB / 0.6081 GB, free: 17.82 MB / 430.1 MB Notification: Performance of SimCode: time 1.242e-06/0.5181, allocations: 5.125 kB / 0.6081 GB, free: 17.82 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02501/0.5431, allocations: 10.48 MB / 0.6184 GB, free: 13.59 MB / 430.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001555/0.5433, allocations: 247.1 kB / 0.6186 GB, free: 13.34 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.023/2.567, allocations: 0 / 0.6186 GB, free: 13.34 MB / 430.1 MB (rm -f OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.InductiveMotorI_SIMBOpenline_Test.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.InductiveMotorI_SIMBOpenline_Test.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.InductiveMotorI_SIMBOpenline_Test.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.InductiveMotorI_SIMBOpenline_Test.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Tests_Machines_PSAT_InductiveMotorI_SIMBOpenline_Test_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Tests_Machines_PSAT_InductiveMotorI_SIMBOpenline_Test.fmu > OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.InductiveMotorI_SIMBOpenline_Test.pipe 2>&1)