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.001086/0.00109, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.008842/0.008842, allocations: 170 kB / 16.26 MB, free: 6.613 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.558/1.558, allocations: 205.4 MB / 222.4 MB, free: 5.785 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.386/0.386, allocations: 38.03 MB / 308.8 MB, free: 10.08 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.0005577/0.0005578, allocations: 16 kB / 377 MB, free: 14.84 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1443/0.1449, allocations: 57.52 MB / 434.6 MB, free: 5.219 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.SimpleDriveTrain): time 0.002298/0.1472, allocations: 1.609 MB / 436.2 MB, free: 3.598 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008241/0.1481, allocations: 0.5269 MB / 436.7 MB, free: 3.062 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.165e-05/0.1482, allocations: 4 kB / 436.7 MB, free: 3.059 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001207/0.1483, allocations: 15.86 kB / 436.7 MB, free: 3.043 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 9.604e-05/0.1484, allocations: 39.69 kB / 436.8 MB, free: 3.004 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001867/0.1486, allocations: 27.98 kB / 436.8 MB, free: 2.977 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001765/0.1488, allocations: 135.3 kB / 436.9 MB, free: 2.844 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001873/0.149, allocations: 61.94 kB / 437 MB, free: 2.773 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001128/0.1491, allocations: 51.73 kB / 437 MB, free: 2.723 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001089/0.1492, allocations: 55.72 kB / 437.1 MB, free: 2.668 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.826e-05/0.1493, allocations: 8 kB / 437.1 MB, free: 2.66 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.96e-05/0.1493, allocations: 4 kB / 437.1 MB, free: 2.656 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 2.958e-05/0.1493, allocations: 23.91 kB / 437.1 MB, free: 2.633 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 7.757e-05/0.1494, allocations: 85.36 kB / 437.2 MB, free: 2.543 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001622/0.1496, allocations: 143.7 kB / 437.3 MB, free: 2.402 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.578e-06/0.1496, allocations: 0 / 437.3 MB, free: 2.402 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.934e-06/0.1496, allocations: 0 / 437.3 MB, free: 2.402 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.601e-06/0.1496, allocations: 8 kB / 437.4 MB, free: 2.395 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.0005635/0.1502, allocations: 411 kB / 437.8 MB, free: 1.945 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.011e-05/0.1502, allocations: 8.031 kB / 437.8 MB, free: 1.938 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.606e-05/0.1503, allocations: 16.75 kB / 437.8 MB, free: 1.922 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002213/0.1505, allocations: 200.2 kB / 438 MB, free: 1.688 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.552e-05/0.1505, allocations: 12.38 kB / 438 MB, free: 1.676 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.572e-05/0.1506, allocations: 16.31 kB / 438 MB, free: 1.66 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002716/0.1509, allocations: 137.7 kB / 438.1 MB, free: 1.52 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.202e-05/0.1509, allocations: 0 / 438.1 MB, free: 1.52 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.756e-05/0.1509, allocations: 11.94 kB / 438.1 MB, free: 1.508 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.344e-06/0.1509, allocations: 4 kB / 438.2 MB, free: 1.504 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001865/0.1511, allocations: 87.94 kB / 438.2 MB, free: 1.418 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006634/0.1518, allocations: 468.2 kB / 438.7 MB, free: 0.9102 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002139/0.152, allocations: 122.4 kB / 438.8 MB, free: 0.7812 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001064/0.1521, allocations: 64.84 kB / 438.9 MB, free: 0.7148 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.543e-05/0.1522, allocations: 7.969 kB / 438.9 MB, free: 0.707 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.988e-05/0.1522, allocations: 34.56 kB / 438.9 MB, free: 0.6641 MB / 366.1 MB Notification: Performance of pre-optimization done (n=13): time 1.353e-06/0.1522, allocations: 0 / 438.9 MB, free: 0.6641 MB / 366.1 MB Notification: Performance of matching and sorting (n=19): time 0.001456/0.1537, allocations: 0.8148 MB / 439.7 MB, free: 15.75 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.332e-05/0.1537, allocations: 55.41 kB / 439.8 MB, free: 15.69 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001215/0.1539, allocations: 141.4 kB / 439.9 MB, free: 15.54 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.632e-05/0.1539, allocations: 33.64 kB / 440 MB, free: 15.5 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.762e-05/0.154, allocations: 108.3 kB / 440.1 MB, free: 15.39 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.917e-05/0.154, allocations: 67 kB / 440.1 MB, free: 15.33 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.529e-05/0.1541, allocations: 25.72 kB / 440.2 MB, free: 15.3 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001561/0.1542, allocations: 318.8 kB / 440.5 MB, free: 14.98 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.932e-05/0.1543, allocations: 47.97 kB / 440.5 MB, free: 14.93 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001285/0.1545, allocations: 87.34 kB / 440.6 MB, free: 14.83 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002134/0.1547, allocations: 127.4 kB / 440.7 MB, free: 14.7 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.62e-07/0.1547, allocations: 0 / 440.7 MB, free: 14.7 MB / 382.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0003528/0.1551, allocations: 222 kB / 440.9 MB, free: 14.47 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.907e-05/0.1551, allocations: 4 kB / 440.9 MB, free: 14.46 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.094e-06/0.1551, allocations: 3.938 kB / 440.9 MB, free: 14.46 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001683/0.1553, allocations: 44.83 kB / 441 MB, free: 14.41 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000163/0.1554, allocations: 35.92 kB / 441 MB, free: 14.38 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001331/0.1568, allocations: 1.557 MB / 442.6 MB, free: 12.69 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.162e-05/0.1569, allocations: 12.09 kB / 442.6 MB, free: 12.68 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.229e-05/0.1569, allocations: 8 kB / 442.6 MB, free: 12.67 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.0001134/0.157, allocations: 133.7 kB / 442.7 MB, free: 12.53 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.424e-05/0.1571, allocations: 15.81 kB / 442.7 MB, free: 12.52 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.356e-05/0.1571, allocations: 21.19 kB / 442.8 MB, free: 12.49 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.443e-06/0.1571, allocations: 3.938 kB / 442.8 MB, free: 12.49 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.542e-06/0.1571, allocations: 0 / 442.8 MB, free: 12.49 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.129e-06/0.1571, allocations: 8 kB / 442.8 MB, free: 12.48 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007073/0.1579, allocations: 0.5582 MB / 443.3 MB, free: 11.86 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.754e-06/0.1579, allocations: 4.031 kB / 443.3 MB, free: 11.86 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001556/0.158, allocations: 39.97 kB / 443.4 MB, free: 11.82 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.695e-05/0.1581, allocations: 28.84 kB / 443.4 MB, free: 11.79 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.284e-05/0.1582, allocations: 4 kB / 443.4 MB, free: 11.78 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001029/0.1592, allocations: 1.37 MB / 444.8 MB, free: 10.28 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.09e-06/0.1592, allocations: 8 kB / 444.8 MB, free: 10.27 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004912/0.1597, allocations: 349.1 kB / 445.1 MB, free: 9.91 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.45e-05/0.1598, allocations: 89.03 kB / 445.2 MB, free: 9.805 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.886e-05/0.1598, allocations: 8 kB / 445.2 MB, free: 9.797 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.116e-05/0.1599, allocations: 8 kB / 445.2 MB, free: 9.789 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.93e-05/0.16, allocations: 11.97 kB / 445.2 MB, free: 9.777 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.287e-06/0.16, allocations: 4 kB / 445.3 MB, free: 9.773 MB / 382.1 MB Notification: Performance of sorting global known variables: time 8.98e-05/0.1601, allocations: 115.3 kB / 445.4 MB, free: 9.66 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.793e-06/0.1601, allocations: 0 / 445.4 MB, free: 9.66 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003449/0.1605, allocations: 43.94 kB / 445.4 MB, free: 9.617 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.0001638/0.1606, allocations: 99.19 kB / 445.5 MB, free: 9.512 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0005128/0.1611, allocations: 274.1 kB / 445.8 MB, free: 9.234 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.514e-06/0.1612, allocations: 0 / 445.8 MB, free: 9.234 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002511/0.1614, allocations: 194.5 kB / 446 MB, free: 9.031 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004136/0.1618, allocations: 23.92 kB / 446 MB, free: 9.008 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009083/0.1628, allocations: 0.5327 MB / 446.5 MB, free: 8.453 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003039/0.1631, allocations: 0.7168 MB / 447.2 MB, free: 7.711 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.43e-05/0.1631, allocations: 9.422 kB / 447.2 MB, free: 7.695 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.402e-05/0.1632, allocations: 19.44 kB / 447.3 MB, free: 7.68 MB / 382.1 MB Notification: Performance of SimCode: time 4.11e-07/0.1632, allocations: 0 / 447.3 MB, free: 7.68 MB / 382.1 MB Notification: Performance of Templates: time 0.004769/0.168, allocations: 1.488 MB / 448.7 MB, free: 6.191 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: