Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Rotational.ForUsersGuide.Directions3.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.Directions3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Rotational.ForUsersGuide.Directions3") translateModel(ModelicaTest.Rotational.ForUsersGuide.Directions3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Rotational.ForUsersGuide.Directions3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000901/0.000901, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.007291/0.007291, allocations: 170.1 kB / 16.27 MB, free: 6.66 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.617/1.617, allocations: 205.4 MB / 222.4 MB, free: 5.559 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.3355/0.3355, allocations: 38.04 MB / 308.8 MB, free: 10.34 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.0005998/0.0005999, allocations: 16 kB / 377 MB, free: 14.82 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.137/0.1376, allocations: 57.53 MB / 434.6 MB, free: 5.199 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.Directions3): time 0.002379/0.14, allocations: 1.365 MB / 435.9 MB, free: 3.824 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003718/0.1405, allocations: 107.7 kB / 436 MB, free: 3.719 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001094/0.1406, allocations: 7.938 kB / 436 MB, free: 3.711 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 4.578e-05/0.1406, allocations: 7.922 kB / 436.1 MB, free: 3.703 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001477/0.1408, allocations: 39.69 kB / 436.1 MB, free: 3.664 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001597/0.141, allocations: 19.98 kB / 436.1 MB, free: 3.645 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001691/0.1411, allocations: 127.4 kB / 436.2 MB, free: 3.52 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001563/0.1413, allocations: 33.09 kB / 436.3 MB, free: 3.488 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.991e-05/0.1414, allocations: 31.88 kB / 436.3 MB, free: 3.457 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.059e-05/0.1415, allocations: 51.77 kB / 436.3 MB, free: 3.406 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.241e-05/0.1415, allocations: 7.938 kB / 436.4 MB, free: 3.398 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.374e-05/0.1416, allocations: 8 kB / 436.4 MB, free: 3.391 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 2.482e-05/0.1416, allocations: 15.92 kB / 436.4 MB, free: 3.375 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 7.924e-05/0.1417, allocations: 81.44 kB / 436.5 MB, free: 3.289 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001448/0.1418, allocations: 111.8 kB / 436.6 MB, free: 3.18 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.1418, allocations: 0 / 436.6 MB, free: 3.18 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.814e-06/0.1419, allocations: 4 kB / 436.6 MB, free: 3.176 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.991e-06/0.1419, allocations: 0 / 436.6 MB, free: 3.176 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: 28 * Number of variables: 28 Notification: Performance of Generate backend data structure: time 0.0005969/0.1425, allocations: 387.4 kB / 437 MB, free: 2.742 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.652e-05/0.1425, allocations: 8.031 kB / 437 MB, free: 2.734 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.684e-05/0.1426, allocations: 12.84 kB / 437 MB, free: 2.723 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00026/0.1429, allocations: 204.1 kB / 437.2 MB, free: 2.484 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.323e-05/0.1429, allocations: 4.609 kB / 437.2 MB, free: 2.48 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.049e-05/0.143, allocations: 16.38 kB / 437.2 MB, free: 2.465 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002822/0.1432, allocations: 121.6 kB / 437.3 MB, free: 2.336 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.721e-05/0.1433, allocations: 20.02 kB / 437.3 MB, free: 2.316 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.107e-05/0.1433, allocations: 7.938 kB / 437.3 MB, free: 2.309 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.299e-05/0.1433, allocations: 4 kB / 437.3 MB, free: 2.305 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001322/0.1435, allocations: 55.97 kB / 437.4 MB, free: 2.25 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008612/0.1443, allocations: 0.5412 MB / 437.9 MB, free: 1.648 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001426/0.1445, allocations: 85.17 kB / 438 MB, free: 1.547 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.003e-05/0.1446, allocations: 21.72 kB / 438 MB, free: 1.52 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.466e-05/0.1446, allocations: 16.02 kB / 438.1 MB, free: 1.504 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.514e-05/0.1446, allocations: 38.5 kB / 438.1 MB, free: 1.457 MB / 366.1 MB Notification: Performance of pre-optimization done (n=8): time 1.854e-06/0.1446, allocations: 0 / 438.1 MB, free: 1.457 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005869/0.1452, allocations: 301.5 kB / 438.4 MB, free: 1.113 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.705e-05/0.1453, allocations: 77.11 kB / 438.5 MB, free: 1.02 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001047/0.1454, allocations: 129.8 kB / 438.6 MB, free: 0.8828 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.332e-05/0.1454, allocations: 25.7 kB / 438.6 MB, free: 0.8516 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.854e-05/0.1455, allocations: 127.5 kB / 438.7 MB, free: 0.7227 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.706e-05/0.1455, allocations: 31.55 kB / 438.8 MB, free: 0.6914 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.556e-05/0.1456, allocations: 17.66 kB / 438.8 MB, free: 0.668 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001209/0.1457, allocations: 326.8 kB / 439.1 MB, free: 348 kB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.273e-05/0.1457, allocations: 23.98 kB / 439.1 MB, free: 324 kB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.661e-05/0.1458, allocations: 92.55 kB / 439.2 MB, free: 200 kB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001329/0.146, allocations: 120.5 kB / 439.3 MB, free: 48 kB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.146, allocations: 0 / 439.3 MB, free: 48 kB / 366.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002876/0.1463, allocations: 167.1 kB / 439.5 MB, free: 15.87 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.83e-05/0.1463, allocations: 4 kB / 439.5 MB, free: 15.87 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.146e-06/0.1463, allocations: 4 kB / 439.5 MB, free: 15.86 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001788/0.1465, allocations: 41.64 kB / 439.6 MB, free: 15.82 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.81e-05/0.1466, allocations: 23.92 kB / 439.6 MB, free: 15.79 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002084/0.1487, allocations: 2.537 MB / 442.1 MB, free: 12.99 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.677e-05/0.1488, allocations: 15.84 kB / 442.1 MB, free: 12.97 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.15e-05/0.1488, allocations: 8 kB / 442.1 MB, free: 12.96 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (14): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001405/0.1489, allocations: 129.8 kB / 442.3 MB, free: 12.83 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.747e-05/0.149, allocations: 4 kB / 442.3 MB, free: 12.82 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.04e-05/0.149, allocations: 15.89 kB / 442.3 MB, free: 12.81 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.773e-06/0.149, allocations: 0 / 442.3 MB, free: 12.81 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.947e-06/0.149, allocations: 0 / 442.3 MB, free: 12.81 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.518e-06/0.1491, allocations: 4 kB / 442.3 MB, free: 12.8 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002606/0.1493, allocations: 209.4 kB / 442.5 MB, free: 12.55 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.013e-06/0.1493, allocations: 0 / 442.5 MB, free: 12.55 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.306e-05/0.1494, allocations: 16 kB / 442.5 MB, free: 12.54 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.503e-05/0.1495, allocations: 41.64 kB / 442.5 MB, free: 12.49 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.528e-06/0.1495, allocations: 0 / 442.5 MB, free: 12.49 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001917/0.1515, allocations: 2.544 MB / 445.1 MB, free: 9.68 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.1515, allocations: 256 / 445.1 MB, free: 9.68 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003012/0.1518, allocations: 308.3 kB / 445.4 MB, free: 9.355 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.937e-05/0.1519, allocations: 81.06 kB / 445.5 MB, free: 9.258 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.766e-05/0.1519, allocations: 15.92 kB / 445.5 MB, free: 9.242 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.085e-05/0.152, allocations: 0 / 445.5 MB, free: 9.242 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.423e-05/0.152, allocations: 7.938 kB / 445.5 MB, free: 9.234 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.302e-06/0.152, allocations: 7.984 kB / 445.5 MB, free: 9.227 MB / 382.1 MB Notification: Performance of sorting global known variables: time 5.436e-05/0.1521, allocations: 99.66 kB / 445.6 MB, free: 9.129 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.1521, allocations: 0 / 445.6 MB, free: 9.129 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003529/0.1524, allocations: 35.94 kB / 445.6 MB, free: 9.094 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 4 (J1.w,J2.phi,J3.w,J4.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 (6): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (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.000118/0.1526, allocations: 103.1 kB / 445.7 MB, free: 8.984 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0004536/0.153, allocations: 309.4 kB / 446 MB, free: 8.656 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.966e-06/0.153, allocations: 0 / 446 MB, free: 8.656 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002466/0.1533, allocations: 249.4 kB / 446.3 MB, free: 8.387 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000465/0.1538, allocations: 31.91 kB / 446.3 MB, free: 8.355 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008222/0.1546, allocations: 0.5708 MB / 446.9 MB, free: 7.754 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003043/0.1549, allocations: 0.7083 MB / 447.6 MB, free: 7.02 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.493e-05/0.155, allocations: 8.891 kB / 447.6 MB, free: 7.004 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.023e-05/0.155, allocations: 15.44 kB / 447.6 MB, free: 6.988 MB / 382.1 MB Notification: Performance of SimCode: time 3.21e-07/0.155, allocations: 0 / 447.6 MB, free: 6.988 MB / 382.1 MB Notification: Performance of Templates: time 0.004239/0.1592, allocations: 1.441 MB / 449.1 MB, free: 5.547 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Rotational.ForUsersGuide.Directions3.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.1_ModelicaTest.Rotational.ForUsersGuide.Directions3.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Rotational.ForUsersGuide.Directions3.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Rotational.ForUsersGuide.Directions3.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Rotational.ForUsersGuide.Directions3.sim & ./ModelicaTest_3.2.1_ModelicaTest.Rotational.ForUsersGuide.Directions3 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Rotational.ForUsersGuide.Directions3.pipe 2>&1) Environment - environmentSimulation: