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.001491/0.001491, allocations: 88.72 kB / 19.44 MB, free: 348 kB / 13.93 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.573/1.573, allocations: 177.1 MB / 199.7 MB, free: 4.816 MB / 186.7 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.001947/0.001947, allocations: 174.9 kB / 256.3 MB, free: 352 kB / 234.7 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.06776/0.06776, allocations: 6.662 MB / 319.4 MB, free: 1.371 MB / 298.7 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: Performance of FrontEnd - loaded program: time 3.847e-06/3.847e-06, allocations: 0 / 390.9 MB, free: 58.69 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.952e-05/5.337e-05, allocations: 6.375 kB / 390.9 MB, free: 58.69 MB / 314.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.Rotational.TestDCPMMachine): time 0.005851/0.005905, allocations: 2.722 MB / 393.6 MB, free: 55.96 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.002043/0.007947, allocations: 0.6593 MB / 394.3 MB, free: 55.3 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004672/0.008414, allocations: 4 kB / 394.3 MB, free: 55.3 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003782/0.008793, allocations: 55.44 kB / 394.3 MB, free: 55.25 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000672/0.009465, allocations: 103 kB / 394.4 MB, free: 55.14 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003772/0.009842, allocations: 87.89 kB / 394.5 MB, free: 55.06 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006872/0.01053, allocations: 394.2 kB / 394.9 MB, free: 54.67 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003319/0.01086, allocations: 101 kB / 395 MB, free: 54.57 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005218/0.01138, allocations: 215.6 kB / 395.2 MB, free: 54.36 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002731/0.01166, allocations: 107.7 kB / 395.3 MB, free: 54.25 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001005/0.01176, allocations: 39.94 kB / 395.4 MB, free: 54.21 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.501e-05/0.01185, allocations: 36 kB / 395.4 MB, free: 54.18 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 7.029e-05/0.01192, allocations: 79.67 kB / 395.5 MB, free: 54.1 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002223/0.01214, allocations: 119.8 kB / 395.6 MB, free: 53.98 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000656/0.0128, allocations: 418.7 kB / 396 MB, free: 53.57 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.216e-06/0.01281, allocations: 0 / 396 MB, free: 53.57 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.245e-06/0.01281, allocations: 0 / 396 MB, free: 53.57 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.109e-05/0.01283, allocations: 0 / 396 MB, free: 53.57 MB / 314.7 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.001328/0.01416, allocations: 0.5248 MB / 396.5 MB, free: 53.02 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.562e-05/0.01421, allocations: 8.031 kB / 396.5 MB, free: 53.01 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001627/0.01438, allocations: 56.75 kB / 396.6 MB, free: 52.95 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004394/0.01482, allocations: 210.5 kB / 396.8 MB, free: 52.72 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.107e-05/0.01485, allocations: 25.03 kB / 396.8 MB, free: 52.7 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.963e-05/0.01493, allocations: 28.38 kB / 396.8 MB, free: 52.67 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000782/0.01571, allocations: 304.3 kB / 397.1 MB, free: 52.37 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.296e-05/0.01574, allocations: 8.078 kB / 397.1 MB, free: 52.36 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.35e-05/0.01579, allocations: 20.11 kB / 397.2 MB, free: 52.34 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.118e-05/0.0158, allocations: 8 kB / 397.2 MB, free: 52.33 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006336/0.01643, allocations: 210.5 kB / 397.4 MB, free: 52.12 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002144/0.01857, allocations: 0.8494 MB / 398.2 MB, free: 51.22 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005381/0.01911, allocations: 134.5 kB / 398.4 MB, free: 51.08 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002318/0.01934, allocations: 80.75 kB / 398.4 MB, free: 51 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.735e-05/0.01937, allocations: 288 / 398.4 MB, free: 51 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.657e-05/0.0194, allocations: 38.5 kB / 398.5 MB, free: 50.95 MB / 314.7 MB Notification: Performance of pre-optimization done (n=15): time 2.545e-06/0.0194, allocations: 4 kB / 398.5 MB, free: 50.95 MB / 314.7 MB Notification: Performance of matching and sorting (n=16): time 0.001935/0.02134, allocations: 0.5422 MB / 399 MB, free: 50.38 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.26e-05/0.02137, allocations: 55.41 kB / 399.1 MB, free: 50.31 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002569/0.02163, allocations: 187.6 kB / 399.3 MB, free: 50.11 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.408e-05/0.02165, allocations: 25.7 kB / 399.3 MB, free: 50.08 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001137/0.02176, allocations: 192.4 kB / 399.5 MB, free: 49.89 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.347e-05/0.02182, allocations: 59.48 kB / 399.5 MB, free: 49.83 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.724e-05/0.0219, allocations: 37.7 kB / 399.6 MB, free: 49.79 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.139e-05/0.02198, allocations: 326.8 kB / 399.9 MB, free: 49.46 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002069/0.02218, allocations: 59.97 kB / 399.9 MB, free: 49.4 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002156/0.0224, allocations: 100.2 kB / 400 MB, free: 49.29 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004185/0.02282, allocations: 168.2 kB / 400.2 MB, free: 49.11 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.24e-06/0.02282, allocations: 0 / 400.2 MB, free: 49.11 MB / 314.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.000703/0.02353, allocations: 242.1 kB / 400.4 MB, free: 48.86 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.91e-05/0.02355, allocations: 10.34 kB / 400.5 MB, free: 48.86 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.131e-05/0.02357, allocations: 128 / 400.5 MB, free: 48.86 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002721/0.02384, allocations: 32.84 kB / 400.5 MB, free: 48.82 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002688/0.02411, allocations: 43.91 kB / 400.5 MB, free: 48.78 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001117/0.02522, allocations: 1.244 MB / 401.8 MB, free: 47.43 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002352/0.02546, allocations: 12.16 kB / 401.8 MB, free: 47.42 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.043e-05/0.02549, allocations: 12 kB / 401.8 MB, free: 47.41 MB / 314.7 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.000222/0.02571, allocations: 137.8 kB / 401.9 MB, free: 47.27 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.98e-05/0.02579, allocations: 27.89 kB / 402 MB, free: 47.24 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.973e-05/0.02585, allocations: 17.81 kB / 402 MB, free: 47.21 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.586e-06/0.02585, allocations: 0 / 402 MB, free: 47.21 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.963e-06/0.02586, allocations: 0 / 402 MB, free: 47.21 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.32e-06/0.02587, allocations: 3.938 kB / 402 MB, free: 47.21 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001136/0.027, allocations: 0.5161 MB / 402.5 MB, free: 46.65 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.881e-06/0.02701, allocations: 0 / 402.5 MB, free: 46.65 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002882/0.0273, allocations: 39.91 kB / 402.5 MB, free: 46.61 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001623/0.02746, allocations: 16.86 kB / 402.5 MB, free: 46.59 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.224e-05/0.02748, allocations: 11.92 kB / 402.6 MB, free: 46.58 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009849/0.02847, allocations: 1.237 MB / 403.8 MB, free: 45.24 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.873e-06/0.02847, allocations: 15.86 kB / 403.8 MB, free: 45.22 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008152/0.02929, allocations: 365.8 kB / 404.2 MB, free: 44.84 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.622e-05/0.02937, allocations: 11.91 kB / 404.2 MB, free: 44.83 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.156e-05/0.02942, allocations: 8 kB / 404.2 MB, free: 44.82 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002309/0.02965, allocations: 16.19 kB / 404.2 MB, free: 44.8 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001019/0.02975, allocations: 23.84 kB / 404.2 MB, free: 44.78 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.926e-05/0.02977, allocations: 4.094 kB / 404.2 MB, free: 44.78 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001501/0.02992, allocations: 133.2 kB / 404.4 MB, free: 44.65 MB / 314.7 MB Notification: Performance of sort global known variables: time 8e-08/0.02992, allocations: 0 / 404.4 MB, free: 44.65 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0005411/0.03046, allocations: 52 kB / 404.4 MB, free: 44.6 MB / 314.7 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.0001495/0.03061, allocations: 107.2 kB / 404.5 MB, free: 44.48 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0008151/0.03142, allocations: 267.8 kB / 404.8 MB, free: 44.21 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 4.829e-06/0.03143, allocations: 0 / 404.8 MB, free: 44.21 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003734/0.0318, allocations: 194.5 kB / 405 MB, free: 44.01 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006632/0.03247, allocations: 32.36 kB / 405 MB, free: 43.98 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001552/0.03402, allocations: 0.5884 MB / 405.6 MB, free: 43.35 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001722/0.03419, allocations: 158.4 kB / 405.7 MB, free: 43.18 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001555/0.03435, allocations: 17.64 kB / 405.8 MB, free: 43.16 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8e-05/0.03443, allocations: 16.5 kB / 405.8 MB, free: 43.14 MB / 314.7 MB Notification: Performance of SimCode: time 1.673e-06/0.03443, allocations: 0 / 405.8 MB, free: 43.14 MB / 314.7 MB Notification: Performance of Templates: time 0.00851/0.04294, allocations: 2.22 MB / 408 MB, free: 40.97 MB / 314.7 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 -lv LOG_STATS > HanserModelica_HanserModelica.Rotational.TestDCPMMachine.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.360649612965062]