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: translateModel(OpenIPSL.Tests.Machines.PSAT.InductiveMotorI_SIMBOpenline_Test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.InductiveMotorI_SIMBOpenline_Test") translateModel(OpenIPSL.Tests.Machines.PSAT.InductiveMotorI_SIMBOpenline_Test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.InductiveMotorI_SIMBOpenline_Test") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001399/0.001399, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.372/1.372, allocations: 222.9 MB / 238.9 MB, free: 4.73 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.001301/0.001301, allocations: 184.5 kB / 289.1 MB, free: 2.477 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5211/0.5211, allocations: 91.9 MB / 431.2 MB, free: 9.469 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001454/0.001454, allocations: 79.86 kB / 0.5012 GB, free: 8.195 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3443/0.3457, allocations: 71.27 MB / 0.5708 GB, free: 36.43 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.InductiveMotorI_SIMBOpenline_Test): time 0.003119/0.3489, allocations: 2.947 MB / 0.5737 GB, free: 34.94 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001363/0.3503, allocations: 0.9115 MB / 0.5746 GB, free: 34.53 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001355/0.3504, allocations: 2.625 kB / 0.5746 GB, free: 34.53 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002615/0.3507, allocations: 71.95 kB / 0.5746 GB, free: 34.5 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002417/0.351, allocations: 95.8 kB / 0.5747 GB, free: 34.45 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007729/0.3518, allocations: 434.1 kB / 0.5751 GB, free: 34.3 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.000298/0.3521, allocations: 402.5 kB / 0.5755 GB, free: 34.2 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000144/0.3522, allocations: 82.3 kB / 0.5756 GB, free: 34.18 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001115/0.3524, allocations: 150.9 kB / 0.5758 GB, free: 34.14 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002278/0.3526, allocations: 221.7 kB / 0.576 GB, free: 34.08 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 4.149e-05/0.3526, allocations: 21.69 kB / 0.576 GB, free: 34.08 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001468/0.3528, allocations: 73.84 kB / 0.5761 GB, free: 34.07 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 5.223e-05/0.3528, allocations: 73.8 kB / 0.5761 GB, free: 34.05 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001172/0.353, allocations: 184.2 kB / 0.5763 GB, free: 33.93 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003735/0.3534, allocations: 476.5 kB / 0.5768 GB, free: 33.73 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.446e-06/0.3534, allocations: 0 / 0.5768 GB, free: 33.73 MB / 430.1 MB Notification: Performance of FrontEnd: time 6.51e-07/0.3534, allocations: 0 / 0.5768 GB, free: 33.73 MB / 430.1 MB Notification: Performance of Transformations before backend: time 5.611e-06/0.3534, allocations: 0 / 0.5768 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.002653/0.356, allocations: 1.026 MB / 0.5778 GB, free: 33.14 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.451e-05/0.3561, allocations: 13.59 kB / 0.5778 GB, free: 33.14 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001592/0.3577, allocations: 259 kB / 0.578 GB, free: 33.09 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003373/0.358, allocations: 349.2 kB / 0.5784 GB, free: 32.79 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.624e-05/0.3581, allocations: 85.72 kB / 0.5784 GB, free: 32.72 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.005e-05/0.3582, allocations: 25.31 kB / 0.5785 GB, free: 32.71 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000658/0.3588, allocations: 367.9 kB / 0.5788 GB, free: 32.57 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.107e-06/0.3589, allocations: 3.938 kB / 0.5788 GB, free: 32.56 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.626e-05/0.3589, allocations: 14.67 kB / 0.5788 GB, free: 32.55 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.035e-06/0.3589, allocations: 9.562 kB / 0.5788 GB, free: 32.55 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006549/0.3596, allocations: 363 kB / 0.5792 GB, free: 32.43 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001634/0.3612, allocations: 1.027 MB / 0.5802 GB, free: 31.84 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006219/0.3675, allocations: 1.358 MB / 0.5815 GB, free: 31.63 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005205/0.368, allocations: 260.7 kB / 0.5818 GB, free: 31.53 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.858e-05/0.3681, allocations: 14.69 kB / 0.5818 GB, free: 31.52 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.968e-05/0.3681, allocations: 30.56 kB / 0.5818 GB, free: 31.48 MB / 430.1 MB Notification: Performance of pre-optimization done (n=31): time 2.064e-06/0.3681, allocations: 0 / 0.5818 GB, free: 31.48 MB / 430.1 MB Notification: Performance of matching and sorting (n=31): time 0.006387/0.3745, allocations: 1.981 MB / 0.5837 GB, free: 30.79 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.604e-05/0.3746, allocations: 58.75 kB / 0.5838 GB, free: 30.72 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003717/0.3749, allocations: 318.4 kB / 0.5841 GB, free: 30.56 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 4.012e-05/0.375, allocations: 30.86 kB / 0.5841 GB, free: 30.52 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.905e-05/0.3751, allocations: 197.3 kB / 0.5843 GB, free: 30.36 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.43e-05/0.3752, allocations: 105.2 kB / 0.5844 GB, free: 30.27 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001245/0.3753, allocations: 54.23 kB / 0.5845 GB, free: 30.23 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 6.32e-05/0.3754, allocations: 344.3 kB / 0.5848 GB, free: 29.91 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004556/0.3759, allocations: 221.5 kB / 0.585 GB, free: 29.83 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004437/0.3763, allocations: 221.2 kB / 0.5852 GB, free: 29.75 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008723/0.3772, allocations: 467.8 kB / 0.5857 GB, free: 29.55 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.3772, allocations: 0 / 0.5857 GB, free: 29.55 MB / 430.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.003988/0.3812, allocations: 1.249 MB / 0.5869 GB, free: 29.21 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.304e-05/0.3812, allocations: 9.094 kB / 0.5869 GB, free: 29.21 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.606e-06/0.3812, allocations: 0 / 0.5869 GB, free: 29.21 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003078/0.3843, allocations: 0.7621 MB / 0.5876 GB, free: 29.05 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001852/0.3845, allocations: 30.28 kB / 0.5877 GB, free: 29.04 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005088/0.3896, allocations: 2.882 MB / 0.5905 GB, free: 27.11 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005245/0.3902, allocations: 55.25 kB / 0.5905 GB, free: 27.09 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.395e-05/0.3902, allocations: 12.98 kB / 0.5905 GB, free: 27.09 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.0001887/0.3904, allocations: 143.1 kB / 0.5907 GB, free: 26.95 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.783e-05/0.3905, allocations: 36.84 kB / 0.5907 GB, free: 26.93 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00382/0.3943, allocations: 1.21 MB / 0.5919 GB, free: 26.57 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.931e-06/0.3943, allocations: 6.906 kB / 0.5919 GB, free: 26.57 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.3943, allocations: 2.344 kB / 0.5919 GB, free: 26.57 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.062e-06/0.3944, allocations: 3.906 kB / 0.5919 GB, free: 26.57 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005303/0.3949, allocations: 0.5173 MB / 0.5924 GB, free: 26.24 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.705e-06/0.3949, allocations: 0 / 0.5924 GB, free: 26.24 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002131/0.3951, allocations: 32.19 kB / 0.5924 GB, free: 26.23 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002518/0.3976, allocations: 0.682 MB / 0.5931 GB, free: 26.09 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.761e-05/0.3977, allocations: 5.375 kB / 0.5931 GB, free: 26.08 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003799/0.4015, allocations: 2.47 MB / 0.5955 GB, free: 24.31 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.807e-06/0.4015, allocations: 3.281 kB / 0.5955 GB, free: 24.31 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00449/0.406, allocations: 1.573 MB / 0.5971 GB, free: 23.74 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000116/0.4061, allocations: 117.8 kB / 0.5972 GB, free: 23.62 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.316e-05/0.4062, allocations: 6.75 kB / 0.5972 GB, free: 23.61 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004145/0.4066, allocations: 40.75 kB / 0.5972 GB, free: 23.6 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002728/0.4069, allocations: 77.83 kB / 0.5973 GB, free: 23.59 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.266e-05/0.407, allocations: 10.52 kB / 0.5973 GB, free: 23.59 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0002474/0.4072, allocations: 230 kB / 0.5975 GB, free: 23.47 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.4072, allocations: 0 / 0.5975 GB, free: 23.47 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0005586/0.4078, allocations: 141.1 kB / 0.5977 GB, free: 23.45 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.000166/0.408, allocations: 111.9 kB / 0.5978 GB, free: 23.35 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.002367/0.4103, allocations: 0.9858 MB / 0.5987 GB, free: 22.8 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/0.4104, allocations: 1.094 kB / 0.5987 GB, free: 22.8 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001591/0.4119, allocations: 0.7096 MB / 0.5994 GB, free: 22.36 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004427/0.4124, allocations: 35.16 kB / 0.5995 GB, free: 22.34 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006535/0.4189, allocations: 1.212 MB / 0.6006 GB, free: 21.77 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002598/0.4192, allocations: 0.7883 MB / 0.6014 GB, free: 21.07 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001194/0.4194, allocations: 21.06 kB / 0.6014 GB, free: 21.07 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.221e-05/0.4194, allocations: 22.08 kB / 0.6015 GB, free: 21.07 MB / 430.1 MB Notification: Performance of SimCode: time 6.92e-07/0.4195, allocations: 0 / 0.6015 GB, free: 21.07 MB / 430.1 MB Notification: Performance of Templates: time 0.01375/0.4332, allocations: 7.317 MB / 0.6086 GB, free: 20.33 MB / 430.1 MB make -j1 -f OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.InductiveMotorI_SIMBOpenline_Test.makefile (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 & ./OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.InductiveMotorI_SIMBOpenline_Test -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.InductiveMotorI_SIMBOpenline_Test.pipe 2>&1)