Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.InductiveMotorI_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: translateModel(OpenIPSL.Tests.Machines.PSAT.InductiveMotorI_SIMBOpenline_Test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_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_2.0.0_OpenIPSL.Tests.Machines.PSAT.InductiveMotorI_SIMBOpenline_Test") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.08484/0.08484, allocations: 12.61 MB / 28.86 MB, free: 244 kB / 19.63 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001048/0.001048, allocations: 115.4 kB / 32.46 MB, free: 3.395 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.335/1.335, allocations: 205.1 MB / 241 MB, free: 12.38 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.001406/0.001406, allocations: 191.2 kB / 291.3 MB, free: 13.4 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4218/0.4218, allocations: 78.52 MB / 419.9 MB, free: 11.28 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.002635/0.002636, allocations: 139.8 kB / 0.4895 GB, free: 10.07 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2713/0.2739, allocations: 68.1 MB / 0.556 GB, free: 32.96 MB / 398.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.InductiveMotorI_SIMBOpenline_Test): time 0.003234/0.2772, allocations: 2.795 MB / 0.5587 GB, free: 30.93 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001282/0.2785, allocations: 0.9324 MB / 0.5596 GB, free: 30.27 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001149/0.2786, allocations: 3.062 kB / 0.5596 GB, free: 30.27 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002426/0.2789, allocations: 99.42 kB / 0.5597 GB, free: 30.21 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002545/0.2792, allocations: 121.8 kB / 0.5598 GB, free: 30.13 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008252/0.28, allocations: 441.1 kB / 0.5603 GB, free: 29.86 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003359/0.2803, allocations: 425 kB / 0.5607 GB, free: 29.61 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001665/0.2805, allocations: 95.06 kB / 0.5608 GB, free: 29.55 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001399/0.2807, allocations: 170.5 kB / 0.5609 GB, free: 29.45 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000282/0.281, allocations: 234.3 kB / 0.5611 GB, free: 29.29 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.504e-05/0.281, allocations: 33.5 kB / 0.5612 GB, free: 29.29 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001699/0.2812, allocations: 87.12 kB / 0.5613 GB, free: 29.26 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.449e-05/0.2813, allocations: 87.23 kB / 0.5613 GB, free: 29.19 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001792/0.2815, allocations: 188.8 kB / 0.5615 GB, free: 29.05 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004957/0.282, allocations: 0.4997 MB / 0.562 GB, free: 28.68 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.349e-06/0.282, allocations: 0 / 0.562 GB, free: 28.68 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.964e-06/0.282, allocations: 0 / 0.562 GB, free: 28.68 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.865e-06/0.282, allocations: 1.438 kB / 0.562 GB, free: 28.68 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: 57 * Number of variables: 57 Notification: Performance of Generate backend data structure: time 0.002901/0.2849, allocations: 1.02 MB / 0.563 GB, free: 27.95 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.893e-05/0.2849, allocations: 12.98 kB / 0.563 GB, free: 27.95 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001577/0.2865, allocations: 257.5 kB / 0.5633 GB, free: 27.84 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003862/0.2869, allocations: 357 kB / 0.5636 GB, free: 27.51 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.104e-05/0.287, allocations: 82 kB / 0.5637 GB, free: 27.43 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.714e-05/0.2871, allocations: 27.59 kB / 0.5637 GB, free: 27.42 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007133/0.2878, allocations: 370.8 kB / 0.5641 GB, free: 27.2 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.154e-05/0.2878, allocations: 3.938 kB / 0.5641 GB, free: 27.2 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.397e-05/0.2879, allocations: 9.469 kB / 0.5641 GB, free: 27.19 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.859e-06/0.2879, allocations: 5.875 kB / 0.5641 GB, free: 27.19 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006993/0.2886, allocations: 361.8 kB / 0.5644 GB, free: 27.02 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00168/0.2903, allocations: 1.012 MB / 0.5654 GB, free: 26.21 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006182/0.2965, allocations: 1.359 MB / 0.5667 GB, free: 25.61 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005327/0.297, allocations: 265.1 kB / 0.567 GB, free: 25.48 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.728e-05/0.2971, allocations: 3.75 kB / 0.567 GB, free: 25.48 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.027e-05/0.2971, allocations: 35.81 kB / 0.567 GB, free: 25.43 MB / 398.1 MB Notification: Performance of pre-optimization done (n=31): time 2.434e-06/0.2971, allocations: 0 / 0.567 GB, free: 25.43 MB / 398.1 MB Notification: Performance of matching and sorting (n=31): time 0.006185/0.3033, allocations: 1.981 MB / 0.569 GB, free: 24.3 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.652e-05/0.3034, allocations: 55.19 kB / 0.569 GB, free: 24.23 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000334/0.3037, allocations: 316.9 kB / 0.5693 GB, free: 24.02 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.322e-05/0.3038, allocations: 35.08 kB / 0.5694 GB, free: 23.98 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.864e-05/0.3039, allocations: 189.6 kB / 0.5695 GB, free: 23.81 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.489e-05/0.3039, allocations: 111.4 kB / 0.5696 GB, free: 23.71 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000117/0.3041, allocations: 47.48 kB / 0.5697 GB, free: 23.68 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 6.009e-05/0.3041, allocations: 350.8 kB / 0.57 GB, free: 23.34 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004321/0.3046, allocations: 218.4 kB / 0.5702 GB, free: 23.23 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004138/0.305, allocations: 220.1 kB / 0.5704 GB, free: 23.12 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008391/0.3058, allocations: 474.3 kB / 0.5709 GB, free: 22.88 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.065e-06/0.3059, allocations: 0 / 0.5709 GB, free: 22.88 MB / 398.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.003788/0.3097, allocations: 1.244 MB / 0.5721 GB, free: 22.25 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.114e-05/0.3097, allocations: 8.812 kB / 0.5721 GB, free: 22.25 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.346e-06/0.3097, allocations: 3.938 kB / 0.5721 GB, free: 22.24 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002835/0.3125, allocations: 0.7683 MB / 0.5729 GB, free: 21.77 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001949/0.3128, allocations: 35.92 kB / 0.5729 GB, free: 21.74 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004726/0.3175, allocations: 3.129 MB / 0.576 GB, free: 18.48 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005101/0.318, allocations: 47.81 kB / 0.576 GB, free: 18.43 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.982e-05/0.3181, allocations: 7.984 kB / 0.576 GB, free: 18.42 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 (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.0001568/0.3182, allocations: 150.8 kB / 0.5762 GB, free: 18.27 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.601e-05/0.3183, allocations: 35.53 kB / 0.5762 GB, free: 18.23 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003264/0.3216, allocations: 1.214 MB / 0.5774 GB, free: 17 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.917e-06/0.3216, allocations: 4 kB / 0.5774 GB, free: 16.99 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.568e-06/0.3216, allocations: 4 kB / 0.5774 GB, free: 16.99 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.3216, allocations: 0 / 0.5774 GB, free: 16.99 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004094/0.322, allocations: 0.5127 MB / 0.5779 GB, free: 16.43 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/0.322, allocations: 4 kB / 0.5779 GB, free: 16.42 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001916/0.3222, allocations: 39.86 kB / 0.5779 GB, free: 16.38 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002254/0.3245, allocations: 0.6737 MB / 0.5786 GB, free: 15.7 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.618e-05/0.3245, allocations: 8.125 kB / 0.5786 GB, free: 15.69 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003685/0.3282, allocations: 2.684 MB / 0.5812 GB, free: 12.87 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.3283, allocations: 0 / 0.5812 GB, free: 12.87 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003797/0.3321, allocations: 1.582 MB / 0.5828 GB, free: 11.26 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001436/0.3322, allocations: 116.6 kB / 0.5829 GB, free: 11.13 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.294e-05/0.3323, allocations: 4 kB / 0.5829 GB, free: 11.12 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003993/0.3327, allocations: 40.11 kB / 0.5829 GB, free: 11.09 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002175/0.3329, allocations: 83.86 kB / 0.583 GB, free: 11 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.897e-05/0.333, allocations: 12 kB / 0.583 GB, free: 10.99 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001824/0.3331, allocations: 227.1 kB / 0.5832 GB, free: 10.77 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.3331, allocations: 3.938 kB / 0.5832 GB, free: 10.77 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004677/0.3336, allocations: 139.8 kB / 0.5834 GB, free: 10.63 MB / 398.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.0001521/0.3338, allocations: 117.6 kB / 0.5835 GB, free: 10.5 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.002038/0.3358, allocations: 0.9795 MB / 0.5844 GB, free: 9.469 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.3358, allocations: 0 / 0.5844 GB, free: 9.469 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001408/0.3373, allocations: 0.7092 MB / 0.5851 GB, free: 8.703 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003524/0.3376, allocations: 39.59 kB / 0.5852 GB, free: 8.668 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005929/0.3436, allocations: 1.084 MB / 0.5862 GB, free: 7.562 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000195/0.3438, allocations: 0.7912 MB / 0.587 GB, free: 6.746 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 9.925e-05/0.3439, allocations: 18.3 kB / 0.587 GB, free: 6.73 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.788e-05/0.344, allocations: 23.44 kB / 0.587 GB, free: 6.707 MB / 398.1 MB Notification: Performance of SimCode: time 1.022e-06/0.344, allocations: 0 / 0.587 GB, free: 6.707 MB / 398.1 MB Notification: Performance of Templates: time 0.01094/0.3549, allocations: 8.105 MB / 0.5949 GB, free: 14.62 MB / 414.1 MB make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.InductiveMotorI_SIMBOpenline_Test.makefile (rm -f OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.InductiveMotorI_SIMBOpenline_Test.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.InductiveMotorI_SIMBOpenline_Test.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.InductiveMotorI_SIMBOpenline_Test.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.InductiveMotorI_SIMBOpenline_Test.sim & ./OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.InductiveMotorI_SIMBOpenline_Test -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.InductiveMotorI_SIMBOpenline_Test.pipe 2>&1)