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.001412/0.001412, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.002085/0.002085, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.594/1.594, allocations: 205.4 MB / 222.1 MB, free: 5.547 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.3839/0.3839, allocations: 38.04 MB / 308.4 MB, free: 10.58 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.0006047/0.0006051, allocations: 20 kB / 376.4 MB, free: 15.2 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1456/0.1462, allocations: 57.52 MB / 433.9 MB, free: 5.586 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.SimpleDriveTrain): time 0.002759/0.149, allocations: 1.532 MB / 435.5 MB, free: 4.043 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001225/0.1503, allocations: 0.5 MB / 436 MB, free: 3.535 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002133/0.1506, allocations: 4 kB / 436 MB, free: 3.531 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 5.907e-05/0.1506, allocations: 15.86 kB / 436 MB, free: 3.516 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002231/0.1509, allocations: 47.89 kB / 436 MB, free: 3.469 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000291/0.1512, allocations: 19.98 kB / 436 MB, free: 3.449 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003493/0.1515, allocations: 107.7 kB / 436.1 MB, free: 3.344 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002931/0.1518, allocations: 45.7 kB / 436.2 MB, free: 3.289 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001508/0.152, allocations: 51.84 kB / 436.2 MB, free: 3.238 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001356/0.1521, allocations: 55.77 kB / 436.3 MB, free: 3.184 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.467e-05/0.1522, allocations: 8 kB / 436.3 MB, free: 3.176 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.486e-05/0.1522, allocations: 8 kB / 436.3 MB, free: 3.168 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 2.819e-05/0.1522, allocations: 15.92 kB / 436.3 MB, free: 3.152 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 4.978e-05/0.1523, allocations: 53.58 kB / 436.4 MB, free: 3.094 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001468/0.1524, allocations: 111.9 kB / 436.5 MB, free: 2.984 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.066e-06/0.1525, allocations: 0 / 436.5 MB, free: 2.984 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.675e-06/0.1525, allocations: 0 / 436.5 MB, free: 2.984 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.462e-06/0.1525, allocations: 0 / 436.5 MB, free: 2.984 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.0006396/0.1531, allocations: 414.9 kB / 436.9 MB, free: 2.531 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.221e-05/0.1532, allocations: 8.031 kB / 436.9 MB, free: 2.523 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.686e-05/0.1532, allocations: 19.77 kB / 436.9 MB, free: 2.504 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002719/0.1535, allocations: 198.9 kB / 437.1 MB, free: 2.27 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.954e-05/0.1536, allocations: 11.94 kB / 437.1 MB, free: 2.258 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.98e-05/0.1536, allocations: 16 kB / 437.1 MB, free: 2.242 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003071/0.1539, allocations: 125.6 kB / 437.3 MB, free: 2.113 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.252e-05/0.1539, allocations: 15.88 kB / 437.3 MB, free: 2.098 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.067e-05/0.154, allocations: 4 kB / 437.3 MB, free: 2.094 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.265e-05/0.154, allocations: 7.953 kB / 437.3 MB, free: 2.086 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001979/0.1542, allocations: 83.89 kB / 437.4 MB, free: 2.004 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007997/0.155, allocations: 476.2 kB / 437.8 MB, free: 1.488 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002451/0.1553, allocations: 118.5 kB / 438 MB, free: 1.363 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.539e-05/0.1553, allocations: 4 kB / 438 MB, free: 1.359 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.675e-05/0.1553, allocations: 38.56 kB / 438 MB, free: 1.312 MB / 366.1 MB Notification: Performance of pre-optimization done (n=13): time 1.493e-06/0.1553, allocations: 0 / 438 MB, free: 1.312 MB / 366.1 MB Notification: Performance of matching and sorting (n=19): time 0.001788/0.1571, allocations: 0.8023 MB / 438.8 MB, free: 424 kB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.13e-05/0.1572, allocations: 55.41 kB / 438.9 MB, free: 356 kB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001678/0.1574, allocations: 141.8 kB / 439 MB, free: 208 kB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.341e-05/0.1574, allocations: 25.7 kB / 439 MB, free: 176 kB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001062/0.1575, allocations: 116.3 kB / 439.1 MB, free: 56 kB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.961e-05/0.1576, allocations: 71.03 kB / 439.2 MB, free: 15.98 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.655e-06/0.1577, allocations: 4 kB / 439.2 MB, free: 15.98 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001449/0.1578, allocations: 330.8 kB / 439.5 MB, free: 15.65 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.718e-05/0.1579, allocations: 44.3 kB / 439.6 MB, free: 15.61 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001226/0.158, allocations: 76.16 kB / 439.6 MB, free: 15.52 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001249/0.1582, allocations: 59.98 kB / 439.7 MB, free: 15.46 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.233e-06/0.1582, allocations: 0 / 439.7 MB, free: 15.46 MB / 382.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004031/0.1586, allocations: 210.2 kB / 439.9 MB, free: 15.25 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.177e-05/0.1586, allocations: 7.953 kB / 439.9 MB, free: 15.24 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.055e-06/0.1586, allocations: 4 kB / 439.9 MB, free: 15.23 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001743/0.1588, allocations: 40.88 kB / 440 MB, free: 15.19 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001879/0.159, allocations: 39.91 kB / 440 MB, free: 15.15 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001522/0.1606, allocations: 1.577 MB / 441.6 MB, free: 13.45 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.669e-05/0.1607, allocations: 4.031 kB / 441.6 MB, free: 13.44 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.496e-05/0.1607, allocations: 8 kB / 441.6 MB, free: 13.43 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001309/0.1608, allocations: 126.8 kB / 441.7 MB, free: 13.3 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.018e-05/0.1609, allocations: 19.97 kB / 441.7 MB, free: 13.28 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.961e-05/0.1609, allocations: 17.61 kB / 441.7 MB, free: 13.26 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.448e-06/0.1609, allocations: 4 kB / 441.8 MB, free: 13.26 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.227e-06/0.161, allocations: 3.938 kB / 441.8 MB, free: 13.25 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.097e-06/0.161, allocations: 3.938 kB / 441.8 MB, free: 13.25 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007945/0.1618, allocations: 0.5545 MB / 442.3 MB, free: 12.63 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.648e-06/0.1618, allocations: 0 / 442.3 MB, free: 12.63 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001648/0.162, allocations: 43.88 kB / 442.4 MB, free: 12.59 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001036/0.1621, allocations: 32.83 kB / 442.4 MB, free: 12.55 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.444e-05/0.1621, allocations: 0 / 442.4 MB, free: 12.55 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001155/0.1632, allocations: 1.386 MB / 443.8 MB, free: 11.04 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.402e-06/0.1633, allocations: 0 / 443.8 MB, free: 11.04 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005137/0.1638, allocations: 363.1 kB / 444.1 MB, free: 10.66 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.518e-05/0.1639, allocations: 88.95 kB / 444.2 MB, free: 10.55 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.837e-05/0.1639, allocations: 4 kB / 444.2 MB, free: 10.55 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.265e-05/0.164, allocations: 8.062 kB / 444.2 MB, free: 10.54 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.418e-05/0.164, allocations: 19.97 kB / 444.2 MB, free: 10.52 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.867e-06/0.1641, allocations: 4 kB / 444.3 MB, free: 10.52 MB / 382.1 MB Notification: Performance of sorting global known variables: time 7.614e-05/0.1641, allocations: 107.2 kB / 444.4 MB, free: 10.41 MB / 382.1 MB Notification: Performance of sort global known variables: time 3.61e-07/0.1641, allocations: 0 / 444.4 MB, free: 10.41 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003355/0.1645, allocations: 44 kB / 444.4 MB, free: 10.37 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001216/0.1646, allocations: 103.1 kB / 444.5 MB, free: 10.26 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0004913/0.1651, allocations: 261.9 kB / 444.8 MB, free: 9.992 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/0.1651, allocations: 0 / 444.8 MB, free: 9.992 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002592/0.1654, allocations: 190.7 kB / 444.9 MB, free: 9.793 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000293/0.1657, allocations: 32.61 kB / 445 MB, free: 9.766 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009022/0.1666, allocations: 0.5137 MB / 445.5 MB, free: 9.227 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003414/0.167, allocations: 0.7246 MB / 446.2 MB, free: 8.477 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 7.646e-05/0.1671, allocations: 9.422 kB / 446.2 MB, free: 8.461 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.697e-05/0.1671, allocations: 15.44 kB / 446.2 MB, free: 8.449 MB / 382.1 MB Notification: Performance of SimCode: time 5.01e-07/0.1671, allocations: 0 / 446.2 MB, free: 8.449 MB / 382.1 MB Notification: Performance of Templates: time 0.004475/0.1716, allocations: 1.436 MB / 447.7 MB, free: 7.012 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Rotational.ForUsersGuide.SimpleDriveTrain.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: