Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.InductiveMotorIII_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.InductiveMotorIII_SIMBOpenline_Test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_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_dev_OpenIPSL.Tests.Machines.PSAT.InductiveMotorIII_SIMBOpenline_Test") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001062/0.001062, allocations: 106.2 kB / 16.36 MB, free: 6.355 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.313/1.313, allocations: 222.9 MB / 240 MB, free: 4.414 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.001521/0.001521, allocations: 188.5 kB / 290.3 MB, free: 2.152 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4476/0.4476, allocations: 91.9 MB / 432.4 MB, free: 9.176 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00141/0.001411, allocations: 79.88 kB / 0.5033 GB, free: 6.98 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2779/0.2793, allocations: 71.26 MB / 0.5729 GB, free: 36.91 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.InductiveMotorIII_SIMBOpenline_Test): time 0.003151/0.2825, allocations: 2.997 MB / 0.5758 GB, free: 35.38 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001202/0.2837, allocations: 0.9527 MB / 0.5767 GB, free: 34.95 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000117/0.2838, allocations: 2.625 kB / 0.5767 GB, free: 34.95 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000229/0.2841, allocations: 90.28 kB / 0.5768 GB, free: 34.91 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002403/0.2843, allocations: 155 kB / 0.577 GB, free: 34.82 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007543/0.2851, allocations: 465 kB / 0.5774 GB, free: 34.55 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003434/0.2854, allocations: 0.5067 MB / 0.5779 GB, free: 34.3 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001539/0.2856, allocations: 100.3 kB / 0.578 GB, free: 34.25 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000167/0.2858, allocations: 211.8 kB / 0.5782 GB, free: 34.15 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002654/0.286, allocations: 276.4 kB / 0.5785 GB, free: 34.02 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 5.166e-05/0.2861, allocations: 44.59 kB / 0.5785 GB, free: 34.02 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001391/0.2863, allocations: 100.4 kB / 0.5786 GB, free: 34 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 6.59e-05/0.2863, allocations: 112 kB / 0.5787 GB, free: 33.93 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001331/0.2865, allocations: 228.8 kB / 0.5789 GB, free: 33.78 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003971/0.2869, allocations: 0.5621 MB / 0.5795 GB, free: 33.53 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.2869, allocations: 2.688 kB / 0.5795 GB, free: 33.53 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.452e-06/0.2869, allocations: 1.688 kB / 0.5795 GB, free: 33.53 MB / 430.1 MB Notification: Performance of Transformations before backend: time 6.532e-06/0.2869, allocations: 0 / 0.5795 GB, free: 33.53 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.002875/0.2898, allocations: 1.112 MB / 0.5806 GB, free: 32.91 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.827e-05/0.2898, allocations: 9.375 kB / 0.5806 GB, free: 32.91 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001588/0.2914, allocations: 277.6 kB / 0.5808 GB, free: 32.86 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004096/0.2918, allocations: 403.3 kB / 0.5812 GB, free: 32.54 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.546e-05/0.2919, allocations: 87.09 kB / 0.5813 GB, free: 32.46 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.024e-05/0.292, allocations: 34.88 kB / 0.5813 GB, free: 32.45 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006658/0.2927, allocations: 397.6 kB / 0.5817 GB, free: 32.29 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.084e-05/0.2927, allocations: 0 / 0.5817 GB, free: 32.29 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.531e-05/0.2927, allocations: 14.48 kB / 0.5817 GB, free: 32.28 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.725e-06/0.2927, allocations: 7.75 kB / 0.5817 GB, free: 32.28 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006552/0.2934, allocations: 389.6 kB / 0.5821 GB, free: 32.14 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001656/0.2951, allocations: 1.091 MB / 0.5832 GB, free: 31.54 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006151/0.3012, allocations: 1.382 MB / 0.5845 GB, free: 31.31 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000482/0.3017, allocations: 272.6 kB / 0.5848 GB, free: 31.21 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.964e-05/0.3018, allocations: 8.719 kB / 0.5848 GB, free: 31.2 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.596e-05/0.3018, allocations: 36.47 kB / 0.5848 GB, free: 31.16 MB / 430.1 MB Notification: Performance of pre-optimization done (n=35): time 1.693e-06/0.3018, allocations: 1.875 kB / 0.5848 GB, free: 31.16 MB / 430.1 MB Notification: Performance of matching and sorting (n=35): time 0.005815/0.3077, allocations: 1.961 MB / 0.5867 GB, free: 30.46 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.266e-05/0.3077, allocations: 54.31 kB / 0.5868 GB, free: 30.39 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004268/0.3081, allocations: 400 kB / 0.5872 GB, free: 30.19 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 3.324e-05/0.3082, allocations: 34.23 kB / 0.5872 GB, free: 30.16 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.561e-05/0.3083, allocations: 204.5 kB / 0.5874 GB, free: 29.98 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.831e-05/0.3084, allocations: 122.9 kB / 0.5875 GB, free: 29.88 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001261/0.3085, allocations: 59.02 kB / 0.5876 GB, free: 29.84 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 6.07e-05/0.3086, allocations: 351.1 kB / 0.5879 GB, free: 29.52 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004285/0.309, allocations: 227.4 kB / 0.5881 GB, free: 29.43 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004229/0.3094, allocations: 226.5 kB / 0.5883 GB, free: 29.36 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000869/0.3103, allocations: 0.4927 MB / 0.5888 GB, free: 29.14 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.3103, allocations: 0 / 0.5888 GB, free: 29.14 MB / 430.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.003622/0.3139, allocations: 1.275 MB / 0.5901 GB, free: 28.78 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.492e-05/0.314, allocations: 16.16 kB / 0.5901 GB, free: 28.77 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.991e-06/0.314, allocations: 1.344 kB / 0.5901 GB, free: 28.77 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002663/0.3166, allocations: 0.7635 MB / 0.5908 GB, free: 28.62 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002035/0.3169, allocations: 32.92 kB / 0.5909 GB, free: 28.62 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004967/0.3218, allocations: 3.112 MB / 0.5939 GB, free: 26.56 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004359/0.3223, allocations: 45.64 kB / 0.594 GB, free: 26.54 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.424e-05/0.3223, allocations: 12.44 kB / 0.594 GB, free: 26.54 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 {(7,6)} Notification: Performance of prepare postOptimizeDAE: time 0.0001559/0.3225, allocations: 144.9 kB / 0.5941 GB, free: 26.4 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.742e-05/0.3226, allocations: 41.69 kB / 0.5941 GB, free: 26.38 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003366/0.3259, allocations: 1.214 MB / 0.5953 GB, free: 26.02 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.74e-06/0.326, allocations: 11.48 kB / 0.5953 GB, free: 26.01 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.609e-06/0.326, allocations: 6.344 kB / 0.5953 GB, free: 26.01 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.763e-06/0.326, allocations: 6.188 kB / 0.5953 GB, free: 26 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005359/0.3265, allocations: 0.5338 MB / 0.5959 GB, free: 25.67 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.254e-06/0.3265, allocations: 0 / 0.5959 GB, free: 25.67 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002604/0.3268, allocations: 35.22 kB / 0.5959 GB, free: 25.67 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00198/0.3288, allocations: 0.6249 MB / 0.5965 GB, free: 25.53 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.508e-05/0.3288, allocations: 5.938 kB / 0.5965 GB, free: 25.53 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003489/0.3323, allocations: 2.551 MB / 0.599 GB, free: 23.69 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.352e-06/0.3323, allocations: 1.062 kB / 0.599 GB, free: 23.69 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003731/0.3361, allocations: 1.578 MB / 0.6006 GB, free: 23.11 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.095e-05/0.3362, allocations: 128.7 kB / 0.6007 GB, free: 22.98 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.942e-05/0.3363, allocations: 10.83 kB / 0.6007 GB, free: 22.98 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004127/0.3367, allocations: 31.83 kB / 0.6007 GB, free: 22.97 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002094/0.3369, allocations: 86.62 kB / 0.6008 GB, free: 22.95 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.87e-05/0.3369, allocations: 6.688 kB / 0.6008 GB, free: 22.95 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0002824/0.3372, allocations: 291.7 kB / 0.6011 GB, free: 22.8 MB / 430.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3372, allocations: 0 / 0.6011 GB, free: 22.8 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0004667/0.3377, allocations: 139.2 kB / 0.6012 GB, free: 22.78 MB / 430.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.0001286/0.3378, allocations: 123.8 kB / 0.6013 GB, free: 22.68 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.002453/0.3403, allocations: 1.1 MB / 0.6024 GB, free: 22.1 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.3403, allocations: 4 kB / 0.6024 GB, free: 22.09 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001459/0.3418, allocations: 0.7183 MB / 0.6031 GB, free: 21.65 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003473/0.3421, allocations: 31.75 kB / 0.6031 GB, free: 21.63 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001306/0.3434, allocations: 0.8443 MB / 0.604 GB, free: 21.1 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00022/0.3437, allocations: 0.8067 MB / 0.6048 GB, free: 20.39 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001068/0.3438, allocations: 29.25 kB / 0.6048 GB, free: 20.39 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.947e-05/0.3439, allocations: 29.52 kB / 0.6048 GB, free: 20.38 MB / 430.1 MB Notification: Performance of SimCode: time 3.91e-07/0.3439, allocations: 0 / 0.6048 GB, free: 20.38 MB / 430.1 MB Notification: Performance of Templates: time 0.03586/0.3797, allocations: 8.336 MB / 0.613 GB, free: 18.56 MB / 430.1 MB make -j1 -f OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.InductiveMotorIII_SIMBOpenline_Test.makefile (rm -f OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.InductiveMotorIII_SIMBOpenline_Test.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.InductiveMotorIII_SIMBOpenline_Test.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.InductiveMotorIII_SIMBOpenline_Test.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.InductiveMotorIII_SIMBOpenline_Test.sim & ./OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.InductiveMotorIII_SIMBOpenline_Test -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.InductiveMotorIII_SIMBOpenline_Test.pipe 2>&1)