Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.InductiveMotorIII_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.InductiveMotorIII_SIMBOpenline_Test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.InductiveMotorIII_SIMBOpenline_Test") translateModel(OpenIPSL.Tests.Machines.PSAT.InductiveMotorIII_SIMBOpenline_Test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.InductiveMotorIII_SIMBOpenline_Test") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.08667/0.08667, allocations: 12.6 MB / 28.1 MB, free: 0.8203 MB / 19.63 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001038/0.001038, allocations: 111.5 kB / 31.7 MB, free: 3.949 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.428/1.428, allocations: 205.1 MB / 240.3 MB, free: 12.43 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.001349/0.001349, allocations: 184.5 kB / 290.5 MB, free: 13.48 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4681/0.4681, allocations: 78.5 MB / 419.2 MB, free: 11.35 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.002568/0.002568, allocations: 131.8 kB / 499.8 MB, free: 10.84 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3191/0.3217, allocations: 68.11 MB / 0.5546 GB, free: 32.53 MB / 398.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.InductiveMotorIII_SIMBOpenline_Test): time 0.004026/0.3258, allocations: 3 MB / 0.5575 GB, free: 30.35 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001944/0.3278, allocations: 1.001 MB / 0.5585 GB, free: 29.64 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002608/0.3281, allocations: 2.438 kB / 0.5585 GB, free: 29.64 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003596/0.3285, allocations: 94.05 kB / 0.5586 GB, free: 29.59 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003931/0.3289, allocations: 154.8 kB / 0.5587 GB, free: 29.48 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001066/0.3299, allocations: 445.6 kB / 0.5591 GB, free: 29.23 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005555/0.3305, allocations: 0.507 MB / 0.5596 GB, free: 28.97 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002062/0.3307, allocations: 98.39 kB / 0.5597 GB, free: 28.93 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002832/0.331, allocations: 215 kB / 0.5599 GB, free: 28.82 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003935/0.3314, allocations: 279.5 kB / 0.5602 GB, free: 28.68 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 7.842e-05/0.3315, allocations: 43.16 kB / 0.5602 GB, free: 28.68 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002175/0.3317, allocations: 96.84 kB / 0.5603 GB, free: 28.67 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.39e-05/0.3318, allocations: 114 kB / 0.5604 GB, free: 28.57 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001615/0.332, allocations: 226.7 kB / 0.5607 GB, free: 28.4 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005481/0.3325, allocations: 0.5666 MB / 0.5612 GB, free: 27.97 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.549e-06/0.3325, allocations: 3.938 kB / 0.5612 GB, free: 27.96 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.3325, allocations: 1.188 kB / 0.5612 GB, free: 27.96 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.426e-06/0.3326, allocations: 0 / 0.5612 GB, free: 27.96 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: 65 * Number of variables: 65 Notification: Performance of Generate backend data structure: time 0.003368/0.3359, allocations: 1.108 MB / 0.5623 GB, free: 27.18 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.548e-05/0.336, allocations: 17.42 kB / 0.5623 GB, free: 27.18 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00164/0.3376, allocations: 273.1 kB / 0.5626 GB, free: 27.06 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005533/0.3382, allocations: 402.6 kB / 0.563 GB, free: 26.7 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001103/0.3383, allocations: 83.22 kB / 0.563 GB, free: 26.62 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.091e-05/0.3384, allocations: 30.38 kB / 0.5631 GB, free: 26.61 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007892/0.3392, allocations: 399.9 kB / 0.5634 GB, free: 26.38 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.096e-05/0.3392, allocations: 4 kB / 0.5634 GB, free: 26.38 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.041e-05/0.3393, allocations: 11.28 kB / 0.5635 GB, free: 26.37 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.01e-05/0.3393, allocations: 5.594 kB / 0.5635 GB, free: 26.37 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000761/0.34, allocations: 384.5 kB / 0.5638 GB, free: 26.2 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001926/0.342, allocations: 1.1 MB / 0.5649 GB, free: 25.32 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006538/0.3485, allocations: 1.385 MB / 0.5663 GB, free: 24.71 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005632/0.3491, allocations: 276.1 kB / 0.5665 GB, free: 24.57 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.707e-05/0.3492, allocations: 4 kB / 0.5665 GB, free: 24.57 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.374e-05/0.3492, allocations: 36.94 kB / 0.5666 GB, free: 24.52 MB / 398.1 MB Notification: Performance of pre-optimization done (n=35): time 2.885e-06/0.3492, allocations: 0 / 0.5666 GB, free: 24.52 MB / 398.1 MB Notification: Performance of matching and sorting (n=35): time 0.006318/0.3556, allocations: 1.962 MB / 0.5685 GB, free: 23.39 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.307e-05/0.3556, allocations: 55 kB / 0.5685 GB, free: 23.33 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005612/0.3562, allocations: 398.8 kB / 0.5689 GB, free: 23.09 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.568e-05/0.3563, allocations: 32.02 kB / 0.5689 GB, free: 23.05 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001321/0.3564, allocations: 207.2 kB / 0.5691 GB, free: 22.86 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001063/0.3565, allocations: 126 kB / 0.5693 GB, free: 22.75 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001322/0.3567, allocations: 59.34 kB / 0.5693 GB, free: 22.71 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 8.584e-05/0.3568, allocations: 347.7 kB / 0.5696 GB, free: 22.37 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000497/0.3573, allocations: 227.7 kB / 0.5699 GB, free: 22.26 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004859/0.3577, allocations: 236.3 kB / 0.5701 GB, free: 22.14 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001026/0.3588, allocations: 496.7 kB / 0.5706 GB, free: 21.89 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.416e-06/0.3588, allocations: 0 / 0.5706 GB, free: 21.89 MB / 398.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.00391/0.3627, allocations: 1.274 MB / 0.5718 GB, free: 21.24 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.546e-05/0.3628, allocations: 4.312 kB / 0.5718 GB, free: 21.24 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.253e-06/0.3628, allocations: 0 / 0.5718 GB, free: 21.24 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002796/0.3656, allocations: 0.7698 MB / 0.5726 GB, free: 20.8 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002351/0.3658, allocations: 39.92 kB / 0.5726 GB, free: 20.76 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004991/0.3708, allocations: 3.119 MB / 0.5756 GB, free: 17.5 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005292/0.3714, allocations: 47.75 kB / 0.5757 GB, free: 17.46 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.33e-05/0.3714, allocations: 8 kB / 0.5757 GB, free: 17.45 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 (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 {(7,6)} Notification: Performance of prepare postOptimizeDAE: time 0.0001973/0.3716, allocations: 157.7 kB / 0.5758 GB, free: 17.29 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.863e-05/0.3717, allocations: 43.44 kB / 0.5759 GB, free: 17.24 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003255/0.375, allocations: 1.21 MB / 0.5771 GB, free: 16.02 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.873e-06/0.375, allocations: 4 kB / 0.5771 GB, free: 16.01 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/0.375, allocations: 0 / 0.5771 GB, free: 16.01 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.641e-06/0.375, allocations: 7.938 kB / 0.5771 GB, free: 16 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000527/0.3756, allocations: 0.5245 MB / 0.5776 GB, free: 15.43 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.646e-06/0.3756, allocations: 0 / 0.5776 GB, free: 15.43 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000242/0.3758, allocations: 43.91 kB / 0.5776 GB, free: 15.39 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001967/0.3778, allocations: 0.6191 MB / 0.5782 GB, free: 14.76 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.625e-05/0.3779, allocations: 8 kB / 0.5782 GB, free: 14.75 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003548/0.3814, allocations: 2.572 MB / 0.5808 GB, free: 12.04 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/0.3814, allocations: 0 / 0.5808 GB, free: 12.04 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003791/0.3852, allocations: 1.574 MB / 0.5823 GB, free: 10.44 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001442/0.3854, allocations: 128.6 kB / 0.5824 GB, free: 10.3 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.149e-05/0.3855, allocations: 7.938 kB / 0.5824 GB, free: 10.29 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000448/0.3859, allocations: 31.97 kB / 0.5825 GB, free: 10.26 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002148/0.3862, allocations: 91.8 kB / 0.5825 GB, free: 10.17 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.673e-05/0.3862, allocations: 15.94 kB / 0.5826 GB, free: 10.15 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002634/0.3865, allocations: 291.2 kB / 0.5828 GB, free: 9.867 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3865, allocations: 3.938 kB / 0.5828 GB, free: 9.863 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004887/0.387, allocations: 139.8 kB / 0.583 GB, free: 9.727 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (motorTypeI.s,motorTypeI.epr,motorTypeI.epm) * 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.0001653/0.3871, allocations: 101.7 kB / 0.5831 GB, free: 9.621 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.002509/0.3897, allocations: 1.1 MB / 0.5841 GB, free: 8.465 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/0.3897, allocations: 0 / 0.5841 GB, free: 8.465 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001459/0.3911, allocations: 0.7288 MB / 0.5849 GB, free: 7.68 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003723/0.3915, allocations: 34.77 kB / 0.5849 GB, free: 7.648 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001438/0.393, allocations: 0.855 MB / 0.5857 GB, free: 6.762 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002072/0.3932, allocations: 0.8149 MB / 0.5865 GB, free: 5.922 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001222/0.3933, allocations: 26.97 kB / 0.5865 GB, free: 5.891 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.505e-05/0.3934, allocations: 31.42 kB / 0.5866 GB, free: 5.859 MB / 398.1 MB Notification: Performance of SimCode: time 2.9e-07/0.3934, allocations: 4 kB / 0.5866 GB, free: 5.855 MB / 398.1 MB Notification: Performance of Templates: time 0.01259/0.406, allocations: 8.329 MB / 0.5947 GB, free: 13.54 MB / 414.1 MB make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.InductiveMotorIII_SIMBOpenline_Test.makefile (rm -f OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.InductiveMotorIII_SIMBOpenline_Test.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.InductiveMotorIII_SIMBOpenline_Test.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.InductiveMotorIII_SIMBOpenline_Test.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.InductiveMotorIII_SIMBOpenline_Test.sim & ./OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.InductiveMotorIII_SIMBOpenline_Test -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.InductiveMotorIII_SIMBOpenline_Test.pipe 2>&1)