Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.Rotational.TestDCPMMachine.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001445/0.001445, allocations: 81.55 kB / 19.76 MB, free: 2.027 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.417/1.417, allocations: 177.2 MB / 200.1 MB, free: 8.332 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002845/0.002845, allocations: 156.5 kB / 256.6 MB, free: 4.262 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.1/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.1/package.mo): time 0.03924/0.03924, allocations: 6.649 MB / 319.6 MB, free: 5.34 MB / 302.1 MB " [Timeout remaining time 180] Using package HanserModelica with version 2.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.1/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(HanserModelica.Rotational.TestDCPMMachine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.Rotational.TestDCPMMachine") translateModel(HanserModelica.Rotational.TestDCPMMachine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.Rotational.TestDCPMMachine") [Timeout 660] "Notification: HanserModelica requested package Complex of version 4.0.0. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: HanserModelica requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002607/0.002607, allocations: 79.88 kB / 446.4 MB, free: 10.4 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1422/0.1448, allocations: 55.58 MB / 0.4902 GB, free: 2.719 MB / 414.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.Rotational.TestDCPMMachine): time 0.00471/0.1495, allocations: 2.708 MB / 0.4929 GB, free: 15.99 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001433/0.151, allocations: 0.6661 MB / 0.4935 GB, free: 15.32 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001614/0.1511, allocations: 7.938 kB / 0.4935 GB, free: 15.31 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001868/0.1513, allocations: 47.5 kB / 0.4936 GB, free: 15.27 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002641/0.1516, allocations: 95.19 kB / 0.4937 GB, free: 15.17 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001895/0.1518, allocations: 91.84 kB / 0.4938 GB, free: 15.08 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004488/0.1522, allocations: 374.4 kB / 0.4941 GB, free: 14.71 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002376/0.1525, allocations: 97.02 kB / 0.4942 GB, free: 14.62 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001917/0.1526, allocations: 147.5 kB / 0.4943 GB, free: 14.47 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002128/0.1529, allocations: 135.3 kB / 0.4945 GB, free: 14.34 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 5.769e-05/0.1529, allocations: 36 kB / 0.4945 GB, free: 14.3 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.566e-05/0.153, allocations: 36 kB / 0.4945 GB, free: 14.27 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 8.253e-05/0.1531, allocations: 71.77 kB / 0.4946 GB, free: 14.2 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001547/0.1532, allocations: 143.4 kB / 0.4947 GB, free: 14.06 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005079/0.1537, allocations: 418.4 kB / 0.4951 GB, free: 13.65 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/0.1537, allocations: 4 kB / 0.4951 GB, free: 13.64 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.154e-06/0.1537, allocations: 0 / 0.4951 GB, free: 13.64 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.371e-05/0.1537, allocations: 0 / 0.4951 GB, free: 13.64 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: 74 * Number of variables: 74 Notification: Performance of Generate backend data structure: time 0.0009931/0.1547, allocations: 0.5248 MB / 0.4957 GB, free: 13.09 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.242e-05/0.1548, allocations: 8.031 kB / 0.4957 GB, free: 13.08 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.284e-05/0.1549, allocations: 40.64 kB / 0.4957 GB, free: 13.04 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004048/0.1553, allocations: 210.1 kB / 0.4959 GB, free: 12.81 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.433e-05/0.1553, allocations: 25.03 kB / 0.4959 GB, free: 12.79 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.558e-05/0.1554, allocations: 36.33 kB / 0.496 GB, free: 12.75 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005783/0.1559, allocations: 303.9 kB / 0.4963 GB, free: 12.44 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.934e-05/0.156, allocations: 0 / 0.4963 GB, free: 12.44 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.947e-05/0.156, allocations: 8 kB / 0.4963 GB, free: 12.43 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.048e-05/0.156, allocations: 8 kB / 0.4963 GB, free: 12.43 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004834/0.1565, allocations: 210.4 kB / 0.4965 GB, free: 12.22 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001573/0.1581, allocations: 0.8376 MB / 0.4973 GB, free: 11.33 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004206/0.1585, allocations: 138.5 kB / 0.4974 GB, free: 11.19 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000185/0.1587, allocations: 77.03 kB / 0.4975 GB, free: 11.11 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.882e-05/0.1587, allocations: 8 kB / 0.4975 GB, free: 11.1 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.664e-05/0.1587, allocations: 38.44 kB / 0.4975 GB, free: 11.05 MB / 430.1 MB Notification: Performance of pre-optimization done (n=15): time 1.432e-06/0.1587, allocations: 0 / 0.4975 GB, free: 11.05 MB / 430.1 MB Notification: Performance of matching and sorting (n=16): time 0.001529/0.1602, allocations: 0.5351 MB / 0.4981 GB, free: 10.48 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.331e-05/0.1603, allocations: 59.41 kB / 0.4981 GB, free: 10.41 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001985/0.1605, allocations: 183.6 kB / 0.4983 GB, free: 10.22 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.543e-05/0.1605, allocations: 29.7 kB / 0.4983 GB, free: 10.19 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001378/0.1606, allocations: 188.4 kB / 0.4985 GB, free: 10 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.719e-05/0.1607, allocations: 63.47 kB / 0.4986 GB, free: 9.938 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.497e-05/0.1608, allocations: 41.66 kB / 0.4986 GB, free: 9.891 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001802/0.161, allocations: 322.8 kB / 0.4989 GB, free: 9.566 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001688/0.1611, allocations: 59.97 kB / 0.499 GB, free: 9.508 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001999/0.1613, allocations: 96.25 kB / 0.4991 GB, free: 9.398 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003414/0.1617, allocations: 168.2 kB / 0.4992 GB, free: 9.219 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.446e-06/0.1617, allocations: 3.938 kB / 0.4992 GB, free: 9.215 MB / 430.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0005108/0.1622, allocations: 236.8 kB / 0.4994 GB, free: 8.977 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.735e-05/0.1622, allocations: 4 kB / 0.4995 GB, free: 8.973 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.205e-06/0.1622, allocations: 4 kB / 0.4995 GB, free: 8.969 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001426/0.1624, allocations: 16.84 kB / 0.4995 GB, free: 8.949 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002011/0.1626, allocations: 51.91 kB / 0.4995 GB, free: 8.898 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001114/0.1637, allocations: 1.244 MB / 0.5007 GB, free: 7.547 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001243/0.1638, allocations: 8.031 kB / 0.5007 GB, free: 7.539 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.454e-05/0.1638, allocations: 8 kB / 0.5008 GB, free: 7.531 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (22): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001624/0.164, allocations: 149.7 kB / 0.5009 GB, free: 7.375 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.092e-05/0.164, allocations: 15.91 kB / 0.5009 GB, free: 7.359 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.424e-05/0.1641, allocations: 25.75 kB / 0.5009 GB, free: 7.34 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.028e-06/0.1641, allocations: 4 kB / 0.5009 GB, free: 7.336 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.885e-06/0.1641, allocations: 3.938 kB / 0.5009 GB, free: 7.332 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.951e-06/0.1641, allocations: 4.078 kB / 0.5009 GB, free: 7.328 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009499/0.165, allocations: 0.5077 MB / 0.5014 GB, free: 6.777 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.043e-06/0.165, allocations: 0 / 0.5014 GB, free: 6.777 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002055/0.1652, allocations: 39.91 kB / 0.5015 GB, free: 6.738 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.298e-05/0.1653, allocations: 24.84 kB / 0.5015 GB, free: 6.711 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.569e-05/0.1653, allocations: 4 kB / 0.5015 GB, free: 6.707 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001082/0.1664, allocations: 1.245 MB / 0.5027 GB, free: 5.359 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.216e-06/0.1664, allocations: 11.88 kB / 0.5027 GB, free: 5.348 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006779/0.1671, allocations: 368.3 kB / 0.5031 GB, free: 4.965 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.902e-05/0.1671, allocations: 11.91 kB / 0.5031 GB, free: 4.953 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.669e-05/0.1671, allocations: 16.09 kB / 0.5031 GB, free: 4.938 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001598/0.1673, allocations: 8.031 kB / 0.5031 GB, free: 4.93 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.545e-05/0.1674, allocations: 19.97 kB / 0.5031 GB, free: 4.91 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.208e-05/0.1674, allocations: 4 kB / 0.5031 GB, free: 4.906 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.00013/0.1675, allocations: 129.2 kB / 0.5033 GB, free: 4.781 MB / 430.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1675, allocations: 0 / 0.5033 GB, free: 4.781 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0003497/0.1679, allocations: 60 kB / 0.5033 GB, free: 4.723 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 3 (machine.inductor.i,machine.inertia.w,load.phi) * 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 (15): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001237/0.168, allocations: 99.17 kB / 0.5034 GB, free: 4.617 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0006003/0.1686, allocations: 262.5 kB / 0.5037 GB, free: 4.348 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.1686, allocations: 0 / 0.5037 GB, free: 4.348 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003161/0.1689, allocations: 190.6 kB / 0.5039 GB, free: 4.148 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004085/0.1693, allocations: 36.34 kB / 0.5039 GB, free: 4.113 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001379/0.1707, allocations: 0.6851 MB / 0.5046 GB, free: 3.395 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001799/0.1709, allocations: 150.5 kB / 0.5047 GB, free: 3.227 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 9.283e-05/0.171, allocations: 21.62 kB / 0.5047 GB, free: 3.207 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.416e-05/0.171, allocations: 16.5 kB / 0.5047 GB, free: 3.191 MB / 430.1 MB Notification: Performance of SimCode: time 4.21e-07/0.171, allocations: 0 / 0.5047 GB, free: 3.191 MB / 430.1 MB Notification: Performance of Templates: time 0.00679/0.1778, allocations: 2.198 MB / 0.5069 GB, free: 1.027 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f HanserModelica_HanserModelica.Rotational.TestDCPMMachine.makefile [Timeout 660] (rm -f HanserModelica_HanserModelica.Rotational.TestDCPMMachine.pipe ; mkfifo HanserModelica_HanserModelica.Rotational.TestDCPMMachine.pipe ; head -c 1048576 < HanserModelica_HanserModelica.Rotational.TestDCPMMachine.pipe >> ../files/HanserModelica_HanserModelica.Rotational.TestDCPMMachine.sim & ./HanserModelica_HanserModelica.Rotational.TestDCPMMachine -abortSlowSimulation -alarm=480 -s ida -lv LOG_STATS > HanserModelica_HanserModelica.Rotational.TestDCPMMachine.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.310911162989214] Failed to read output from testmodel.py, exit status != 0: 0.39518477802630514 0.406494936 0.250048401 Calling exit ...