Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Rotational.ForUsersGuide.SimpleDriveTrain.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/Complex 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/ModelicaTest 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 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(ModelicaTest.Rotational.ForUsersGuide.SimpleDriveTrain,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Rotational.ForUsersGuide.SimpleDriveTrain") translateModel(ModelicaTest.Rotational.ForUsersGuide.SimpleDriveTrain,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Rotational.ForUsersGuide.SimpleDriveTrain") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001249/0.001249, allocations: 103.4 kB / 15.33 MB, free: 0.5078 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001511/0.001511, allocations: 191.7 kB / 16.25 MB, free: 6.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.585/1.585, allocations: 205.1 MB / 222.1 MB, free: 4.695 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.3506/0.3506, allocations: 37.98 MB / 307.4 MB, free: 9.953 MB / 254.1 MB 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: ModelicaTest requested package Modelica of version 3.2.1. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002112/0.002112, allocations: 74.62 kB / 374.7 MB, free: 15.54 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1401/0.1422, allocations: 56.47 MB / 431.2 MB, free: 6.969 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.SimpleDriveTrain): time 0.00355/0.1458, allocations: 1.952 MB / 433.2 MB, free: 5 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008666/0.1467, allocations: 0.5307 MB / 433.7 MB, free: 4.461 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.765e-05/0.1468, allocations: 4 kB / 433.7 MB, free: 4.457 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001471/0.147, allocations: 19.86 kB / 433.7 MB, free: 4.438 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 8.124e-05/0.1471, allocations: 31.75 kB / 433.7 MB, free: 4.406 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001688/0.1472, allocations: 31.91 kB / 433.8 MB, free: 4.375 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001917/0.1474, allocations: 147.3 kB / 433.9 MB, free: 4.23 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001685/0.1476, allocations: 69.62 kB / 434 MB, free: 4.156 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.802e-05/0.1477, allocations: 55.8 kB / 434 MB, free: 4.102 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001118/0.1478, allocations: 63.7 kB / 434.1 MB, free: 4.039 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.713e-05/0.1479, allocations: 12 kB / 434.1 MB, free: 4.027 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.475e-05/0.1479, allocations: 12 kB / 434.1 MB, free: 4.016 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 3.35e-05/0.1479, allocations: 31.84 kB / 434.2 MB, free: 3.984 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 7.479e-05/0.148, allocations: 67.66 kB / 434.2 MB, free: 3.918 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002261/0.1482, allocations: 159.7 kB / 434.4 MB, free: 3.762 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.38e-06/0.1483, allocations: 0 / 434.4 MB, free: 3.762 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.1483, allocations: 0 / 434.4 MB, free: 3.762 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.992e-06/0.1483, allocations: 0 / 434.4 MB, free: 3.762 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.0005547/0.1488, allocations: 423.1 kB / 434.8 MB, free: 3.301 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.172e-05/0.1489, allocations: 15.89 kB / 434.8 MB, free: 3.285 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.84e-05/0.1489, allocations: 16.75 kB / 434.8 MB, free: 3.27 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002335/0.1492, allocations: 196.1 kB / 435 MB, free: 3.039 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.726e-05/0.1492, allocations: 20.36 kB / 435 MB, free: 3.02 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.798e-05/0.1492, allocations: 20.38 kB / 435.1 MB, free: 3 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002691/0.1495, allocations: 125.8 kB / 435.2 MB, free: 2.871 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.477e-05/0.1495, allocations: 7.906 kB / 435.2 MB, free: 2.863 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.599e-05/0.1496, allocations: 4 kB / 435.2 MB, free: 2.859 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.865e-06/0.1496, allocations: 4 kB / 435.2 MB, free: 2.855 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001704/0.1498, allocations: 83.88 kB / 435.3 MB, free: 2.773 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007347/0.1505, allocations: 472.2 kB / 435.7 MB, free: 2.262 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002391/0.1507, allocations: 122.4 kB / 435.9 MB, free: 2.133 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001169/0.1509, allocations: 60.81 kB / 435.9 MB, free: 2.07 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.57e-05/0.1509, allocations: 12 kB / 435.9 MB, free: 2.059 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.434e-05/0.151, allocations: 34.5 kB / 436 MB, free: 2.016 MB / 366.1 MB Notification: Performance of pre-optimization done (n=13): time 1.253e-06/0.151, allocations: 0 / 436 MB, free: 2.016 MB / 366.1 MB Notification: Performance of matching and sorting (n=19): time 0.001673/0.1526, allocations: 0.8025 MB / 436.8 MB, free: 1.121 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.237e-05/0.1527, allocations: 63.34 kB / 436.8 MB, free: 1.047 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001662/0.1529, allocations: 134.2 kB / 437 MB, free: 0.9062 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.142e-05/0.1529, allocations: 33.69 kB / 437 MB, free: 0.8672 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001104/0.1531, allocations: 112.3 kB / 437.1 MB, free: 0.7539 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.101e-05/0.1531, allocations: 59.11 kB / 437.2 MB, free: 0.6953 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.232e-05/0.1532, allocations: 41.61 kB / 437.2 MB, free: 0.6484 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001792/0.1534, allocations: 326.8 kB / 437.5 MB, free: 328 kB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000104/0.1535, allocations: 39.98 kB / 437.6 MB, free: 288 kB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001216/0.1536, allocations: 79.34 kB / 437.6 MB, free: 196 kB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002233/0.1539, allocations: 139.3 kB / 437.8 MB, free: 44 kB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.012e-06/0.1539, allocations: 0 / 437.8 MB, free: 44 kB / 366.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0003924/0.1543, allocations: 202.2 kB / 438 MB, free: 15.84 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.321e-05/0.1543, allocations: 7.938 kB / 438 MB, free: 15.83 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.063e-05/0.1543, allocations: 4 kB / 438 MB, free: 15.82 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001909/0.1545, allocations: 40.84 kB / 438 MB, free: 15.78 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000188/0.1547, allocations: 43.94 kB / 438.1 MB, free: 15.74 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001683/0.1564, allocations: 1.732 MB / 439.8 MB, free: 13.87 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.202e-05/0.1565, allocations: 4 kB / 439.8 MB, free: 13.87 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.386e-05/0.1565, allocations: 8 kB / 439.8 MB, free: 13.86 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (17): * Single equations (assignments): 16 * 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,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001322/0.1567, allocations: 129.8 kB / 439.9 MB, free: 13.72 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.827e-05/0.1567, allocations: 11.81 kB / 439.9 MB, free: 13.71 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.92e-05/0.1568, allocations: 21.25 kB / 440 MB, free: 13.69 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.072e-06/0.1568, allocations: 7.969 kB / 440 MB, free: 13.68 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.478e-06/0.1568, allocations: 4 kB / 440 MB, free: 13.68 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.771e-06/0.1568, allocations: 0 / 440 MB, free: 13.68 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007695/0.1576, allocations: 0.5505 MB / 440.5 MB, free: 13.06 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.547e-06/0.1576, allocations: 4 kB / 440.5 MB, free: 13.06 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001625/0.1577, allocations: 39.91 kB / 440.6 MB, free: 13.02 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.849e-05/0.1579, allocations: 28.84 kB / 440.6 MB, free: 12.99 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.541e-05/0.1579, allocations: 8 kB / 440.6 MB, free: 12.98 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001149/0.159, allocations: 1.485 MB / 442.1 MB, free: 11.36 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.159, allocations: 0 / 442.1 MB, free: 11.36 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004798/0.1595, allocations: 348.4 kB / 442.4 MB, free: 11 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.589e-05/0.1596, allocations: 85.02 kB / 442.5 MB, free: 10.9 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.859e-05/0.1596, allocations: 4 kB / 442.5 MB, free: 10.89 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.888e-05/0.1597, allocations: 4 kB / 442.5 MB, free: 10.89 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.812e-05/0.1598, allocations: 23.97 kB / 442.5 MB, free: 10.87 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.075e-06/0.1598, allocations: 7.938 kB / 442.5 MB, free: 10.86 MB / 382.1 MB Notification: Performance of sorting global known variables: time 6.11e-05/0.1599, allocations: 111.2 kB / 442.7 MB, free: 10.75 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1599, allocations: 3.938 kB / 442.7 MB, free: 10.75 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003045/0.1602, allocations: 40 kB / 442.7 MB, free: 10.71 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (J1.phi,J1.w) * 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 (16): * Single equations (assignments): 15 * 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,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001135/0.1603, allocations: 107.1 kB / 442.8 MB, free: 10.59 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0005533/0.1609, allocations: 270.6 kB / 443.1 MB, free: 10.32 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.306e-06/0.1609, allocations: 0 / 443.1 MB, free: 10.32 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002501/0.1611, allocations: 192.6 kB / 443.3 MB, free: 10.12 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003717/0.1615, allocations: 20.08 kB / 443.3 MB, free: 10.1 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009552/0.1625, allocations: 0.4899 MB / 443.8 MB, free: 9.578 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003094/0.1628, allocations: 0.7166 MB / 444.5 MB, free: 8.836 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.647e-05/0.1629, allocations: 13.42 kB / 444.5 MB, free: 8.816 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.117e-05/0.1629, allocations: 11.44 kB / 444.5 MB, free: 8.809 MB / 382.1 MB Notification: Performance of SimCode: time 3e-07/0.1629, allocations: 0 / 444.5 MB, free: 8.809 MB / 382.1 MB Notification: Performance of Templates: time 0.004076/0.167, allocations: 1.584 MB / 446.1 MB, free: 7.227 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Rotational.ForUsersGuide.SimpleDriveTrain.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Rotational.ForUsersGuide.SimpleDriveTrain.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Rotational.ForUsersGuide.SimpleDriveTrain.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Rotational.ForUsersGuide.SimpleDriveTrain.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Rotational.ForUsersGuide.SimpleDriveTrain.sim & ./ModelicaTest_3.2.1_ModelicaTest.Rotational.ForUsersGuide.SimpleDriveTrain -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Rotational.ForUsersGuide.SimpleDriveTrain.pipe 2>&1)