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.0008328/0.0008328, allocations: 99.42 kB / 16.02 MB, free: 72 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.379/1.379, allocations: 223.3 MB / 240 MB, free: 5.391 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.001029/0.001029, allocations: 172.5 kB / 291.3 MB, free: 2.066 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5046/0.5046, allocations: 91.92 MB / 434.3 MB, free: 10.27 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003636/0.0003636, allocations: 8 kB / 0.5054 GB, free: 7.262 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3704/0.3708, allocations: 72.46 MB / 0.5762 GB, free: 36.61 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.InductiveMotorI_SIMBOpenline_Test): time 0.002478/0.3733, allocations: 2.59 MB / 0.5787 GB, free: 35.21 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001261/0.3746, allocations: 0.8909 MB / 0.5796 GB, free: 34.59 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001017/0.3747, allocations: 2.719 kB / 0.5796 GB, free: 34.59 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002276/0.3749, allocations: 68.53 kB / 0.5796 GB, free: 34.56 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002221/0.3752, allocations: 104.5 kB / 0.5797 GB, free: 34.49 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007383/0.3759, allocations: 426.9 kB / 0.5801 GB, free: 34.24 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003018/0.3762, allocations: 407.5 kB / 0.5805 GB, free: 34.04 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001522/0.3764, allocations: 75.08 kB / 0.5806 GB, free: 34 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001099/0.3765, allocations: 146.9 kB / 0.5808 GB, free: 33.93 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000256/0.3768, allocations: 216.1 kB / 0.581 GB, free: 33.84 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 3.625e-05/0.3768, allocations: 17.41 kB / 0.581 GB, free: 33.84 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001335/0.377, allocations: 70.97 kB / 0.581 GB, free: 33.82 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 4.878e-05/0.377, allocations: 67.3 kB / 0.5811 GB, free: 33.78 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001204/0.3771, allocations: 203.3 kB / 0.5813 GB, free: 33.64 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002865/0.3774, allocations: 368.8 kB / 0.5817 GB, free: 33.52 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.437e-06/0.3774, allocations: 0.8438 kB / 0.5817 GB, free: 33.52 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.142e-06/0.3775, allocations: 0 / 0.5817 GB, free: 33.52 MB / 430.1 MB Notification: Performance of Transformations before backend: time 6.091e-06/0.3775, allocations: 3.688 kB / 0.5817 GB, free: 33.52 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.002545/0.38, allocations: 0.9635 MB / 0.5826 GB, free: 32.99 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.653e-05/0.3801, allocations: 8.625 kB / 0.5826 GB, free: 32.99 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001566/0.3816, allocations: 267 kB / 0.5829 GB, free: 32.95 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003671/0.382, allocations: 352.2 kB / 0.5832 GB, free: 32.64 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001032/0.3821, allocations: 92.61 kB / 0.5833 GB, free: 32.56 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.667e-05/0.3822, allocations: 25.16 kB / 0.5833 GB, free: 32.55 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007192/0.3829, allocations: 395.7 kB / 0.5837 GB, free: 32.41 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.061e-05/0.3829, allocations: 0.875 kB / 0.5837 GB, free: 32.41 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.523e-05/0.383, allocations: 6.5 kB / 0.5837 GB, free: 32.4 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.753e-06/0.383, allocations: 5.656 kB / 0.5837 GB, free: 32.4 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000698/0.3837, allocations: 395.7 kB / 0.5841 GB, free: 32.28 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001755/0.3854, allocations: 1.047 MB / 0.5851 GB, free: 31.7 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006832/0.3923, allocations: 1.836 MB / 0.5869 GB, free: 31.43 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005531/0.3929, allocations: 283.4 kB / 0.5872 GB, free: 31.32 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.812e-05/0.3929, allocations: 6.625 kB / 0.5872 GB, free: 31.32 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.05e-05/0.393, allocations: 32.19 kB / 0.5872 GB, free: 31.28 MB / 430.1 MB Notification: Performance of pre-optimization done (n=31): time 2.555e-06/0.393, allocations: 7.094 kB / 0.5872 GB, free: 31.27 MB / 430.1 MB Notification: Performance of matching and sorting (n=31): time 0.007324/0.4003, allocations: 2.401 MB / 0.5895 GB, free: 30.52 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.915e-05/0.4004, allocations: 55.28 kB / 0.5896 GB, free: 30.46 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003546/0.4007, allocations: 323.5 kB / 0.5899 GB, free: 30.29 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 3.269e-05/0.4008, allocations: 33.7 kB / 0.5899 GB, free: 30.25 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.992e-05/0.4009, allocations: 185.7 kB / 0.5901 GB, free: 30.1 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.762e-05/0.401, allocations: 108.2 kB / 0.5902 GB, free: 30.01 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.279e-05/0.401, allocations: 28.55 kB / 0.5902 GB, free: 29.99 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 6.658e-05/0.4011, allocations: 344.5 kB / 0.5906 GB, free: 29.66 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005092/0.4016, allocations: 246.9 kB / 0.5908 GB, free: 29.57 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005005/0.4021, allocations: 248.7 kB / 0.591 GB, free: 29.49 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00107/0.4032, allocations: 0.5027 MB / 0.5915 GB, free: 29.29 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.4032, allocations: 1.281 kB / 0.5915 GB, free: 29.29 MB / 430.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.004472/0.4077, allocations: 1.499 MB / 0.593 GB, free: 28.91 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.445e-05/0.4077, allocations: 5.656 kB / 0.593 GB, free: 28.91 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.945e-06/0.4077, allocations: 0 / 0.593 GB, free: 28.91 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003337/0.4111, allocations: 0.8858 MB / 0.5939 GB, free: 28.74 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002085/0.4113, allocations: 33.84 kB / 0.5939 GB, free: 28.73 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005629/0.417, allocations: 3.052 MB / 0.5969 GB, free: 26.79 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005435/0.4175, allocations: 68.19 kB / 0.597 GB, free: 26.77 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.89e-05/0.4175, allocations: 9.5 kB / 0.597 GB, free: 26.77 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.0001904/0.4177, allocations: 140.1 kB / 0.5971 GB, free: 26.63 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.763e-05/0.4178, allocations: 40.03 kB / 0.5971 GB, free: 26.61 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004368/0.4222, allocations: 1.456 MB / 0.5986 GB, free: 26.22 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.113e-06/0.4222, allocations: 7.469 kB / 0.5986 GB, free: 26.22 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.682e-06/0.4222, allocations: 2.688 kB / 0.5986 GB, free: 26.22 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.661e-06/0.4223, allocations: 1.828 kB / 0.5986 GB, free: 26.22 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005706/0.4228, allocations: 0.5206 MB / 0.5991 GB, free: 25.89 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.276e-06/0.4228, allocations: 0 / 0.5991 GB, free: 25.89 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002106/0.4231, allocations: 30.91 kB / 0.5991 GB, free: 25.88 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002892/0.426, allocations: 0.7951 MB / 0.5999 GB, free: 25.73 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.362e-05/0.426, allocations: 11.09 kB / 0.5999 GB, free: 25.72 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004333/0.4303, allocations: 2.658 MB / 0.6025 GB, free: 23.92 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/0.4304, allocations: 0 / 0.6025 GB, free: 23.92 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00497/0.4353, allocations: 1.836 MB / 0.6043 GB, free: 23.32 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001446/0.4355, allocations: 118.7 kB / 0.6044 GB, free: 23.2 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.884e-05/0.4356, allocations: 5.281 kB / 0.6044 GB, free: 23.2 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004435/0.436, allocations: 50.34 kB / 0.6044 GB, free: 23.18 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002716/0.4363, allocations: 81.67 kB / 0.6045 GB, free: 23.18 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.749e-05/0.4363, allocations: 9.375 kB / 0.6045 GB, free: 23.17 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0002665/0.4366, allocations: 233.1 kB / 0.6048 GB, free: 23.05 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4366, allocations: 1.156 kB / 0.6048 GB, free: 23.05 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0005956/0.4372, allocations: 141.5 kB / 0.6049 GB, free: 23.03 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.0001761/0.4374, allocations: 110.8 kB / 0.605 GB, free: 22.93 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.00264/0.44, allocations: 1.102 MB / 0.6061 GB, free: 22.36 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.055e-06/0.4401, allocations: 0 / 0.6061 GB, free: 22.36 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001914/0.442, allocations: 0.7903 MB / 0.6068 GB, free: 21.91 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003945/0.4424, allocations: 28.7 kB / 0.6069 GB, free: 21.9 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006195/0.4486, allocations: 1.266 MB / 0.6081 GB, free: 21.31 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002686/0.4489, allocations: 0.7921 MB / 0.6089 GB, free: 20.61 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001071/0.449, allocations: 22.56 kB / 0.6089 GB, free: 20.6 MB / 430.1 MB Notification: Performance of SimCode: time 7.21e-07/0.449, allocations: 5.25 kB / 0.6089 GB, free: 20.59 MB / 430.1 MB Notification: Performance of Templates: time 0.01424/0.4632, allocations: 9.392 MB / 0.6181 GB, free: 18.03 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)