Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_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.2+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+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.2_ModelicaTest.Rotational.ForUsersGuide.Directions3") translateModel(ModelicaTest.Rotational.ForUsersGuide.Directions3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_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.001194/0.001194, allocations: 91.84 kB / 15.06 MB, free: 1.098 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.001565/0.001566, allocations: 172.7 kB / 15.95 MB, free: 208 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.763/1.763, allocations: 205.4 MB / 222.1 MB, free: 5.891 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.3724/0.3724, allocations: 40 MB / 310.4 MB, free: 9.855 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.2. 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.0005803/0.0005804, allocations: 16 kB / 378.8 MB, free: 12.66 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1395/0.1401, allocations: 57.96 MB / 436.8 MB, free: 2.594 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.Directions3): time 0.002141/0.1423, allocations: 1.33 MB / 438.1 MB, free: 1.254 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003555/0.1427, allocations: 107.7 kB / 438.2 MB, free: 1.148 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.907e-05/0.1428, allocations: 7.938 kB / 438.2 MB, free: 1.141 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 4.777e-05/0.1428, allocations: 7.922 kB / 438.3 MB, free: 1.133 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001362/0.143, allocations: 35.77 kB / 438.3 MB, free: 1.098 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001506/0.1431, allocations: 15.98 kB / 438.3 MB, free: 1.082 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001953/0.1433, allocations: 119.4 kB / 438.4 MB, free: 0.9648 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000168/0.1435, allocations: 32.94 kB / 438.5 MB, free: 0.9336 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001156/0.1436, allocations: 39.86 kB / 438.5 MB, free: 0.8945 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.863e-05/0.1438, allocations: 43.78 kB / 438.5 MB, free: 0.8516 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 3.885e-05/0.1438, allocations: 12 kB / 438.5 MB, free: 0.8398 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.411e-05/0.1438, allocations: 4 kB / 438.5 MB, free: 0.8359 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 2.282e-05/0.1439, allocations: 15.98 kB / 438.6 MB, free: 0.8203 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 4.924e-05/0.1439, allocations: 45.64 kB / 438.6 MB, free: 0.7695 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001335/0.1441, allocations: 96.03 kB / 438.7 MB, free: 0.6758 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.683e-06/0.1441, allocations: 0 / 438.7 MB, free: 0.6758 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.1441, allocations: 3.938 kB / 438.7 MB, free: 0.6719 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.599e-06/0.1441, allocations: 0 / 438.7 MB, free: 0.6719 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.0005123/0.1446, allocations: 379.3 kB / 439.1 MB, free: 256 kB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.724e-05/0.1447, allocations: 16.03 kB / 439.1 MB, free: 240 kB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.991e-05/0.1447, allocations: 19.75 kB / 439.1 MB, free: 220 kB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00024/0.145, allocations: 190.9 kB / 439.3 MB, free: 15.99 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.824e-05/0.145, allocations: 12.23 kB / 439.3 MB, free: 15.98 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.764e-05/0.1451, allocations: 12 kB / 439.3 MB, free: 15.96 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002558/0.1453, allocations: 129 kB / 439.4 MB, free: 15.83 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.786e-05/0.1453, allocations: 3.906 kB / 439.5 MB, free: 15.82 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.589e-05/0.1454, allocations: 4 kB / 439.5 MB, free: 15.82 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.536e-06/0.1454, allocations: 11.94 kB / 439.5 MB, free: 15.81 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001142/0.1455, allocations: 63.86 kB / 439.5 MB, free: 15.75 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008498/0.1464, allocations: 0.5374 MB / 440.1 MB, free: 15.15 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001357/0.1465, allocations: 85.08 kB / 440.1 MB, free: 15.05 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.504e-05/0.1466, allocations: 29.89 kB / 440.2 MB, free: 15.01 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.637e-05/0.1466, allocations: 4 kB / 440.2 MB, free: 15.01 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.568e-05/0.1466, allocations: 34.56 kB / 440.2 MB, free: 14.96 MB / 382.1 MB Notification: Performance of pre-optimization done (n=8): time 4.508e-06/0.1466, allocations: 0 / 440.2 MB, free: 14.96 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005971/0.1472, allocations: 305.3 kB / 440.5 MB, free: 14.62 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.341e-05/0.1473, allocations: 85.09 kB / 440.6 MB, free: 14.52 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001103/0.1474, allocations: 113.8 kB / 440.7 MB, free: 14.39 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.577e-05/0.1474, allocations: 29.7 kB / 440.7 MB, free: 14.36 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.417e-05/0.1475, allocations: 123.6 kB / 440.9 MB, free: 14.23 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.98e-05/0.1476, allocations: 31.55 kB / 440.9 MB, free: 14.2 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.992e-06/0.1476, allocations: 4 kB / 440.9 MB, free: 14.2 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001111/0.1477, allocations: 318.8 kB / 441.2 MB, free: 13.88 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.475e-05/0.1478, allocations: 23.98 kB / 441.2 MB, free: 13.86 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.596e-05/0.1478, allocations: 92.31 kB / 441.3 MB, free: 13.74 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.602e-05/0.1479, allocations: 36.36 kB / 441.4 MB, free: 13.7 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.1479, allocations: 0 / 441.4 MB, free: 13.7 MB / 382.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.00027/0.1482, allocations: 175 kB / 441.5 MB, free: 13.52 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.935e-05/0.1482, allocations: 8 kB / 441.5 MB, free: 13.51 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.063e-06/0.1482, allocations: 0 / 441.5 MB, free: 13.51 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002177/0.1485, allocations: 33.7 kB / 441.6 MB, free: 13.47 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001035/0.1486, allocations: 28.19 kB / 441.6 MB, free: 13.45 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002317/0.1509, allocations: 2.536 MB / 444.1 MB, free: 10.64 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.58e-05/0.151, allocations: 19.88 kB / 444.1 MB, free: 10.62 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.228e-06/0.151, allocations: 8.094 kB / 444.2 MB, free: 10.61 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001043/0.1511, allocations: 129.8 kB / 444.3 MB, free: 10.48 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.566e-05/0.1512, allocations: 7.906 kB / 444.3 MB, free: 10.47 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.595e-05/0.1512, allocations: 8 kB / 444.3 MB, free: 10.46 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.366e-06/0.1512, allocations: 3.984 kB / 444.3 MB, free: 10.46 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/0.1513, allocations: 4 kB / 444.3 MB, free: 10.45 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.1513, allocations: 0 / 444.3 MB, free: 10.45 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003018/0.1516, allocations: 213.5 kB / 444.5 MB, free: 10.2 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/0.1516, allocations: 4 kB / 444.5 MB, free: 10.19 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.675e-05/0.1517, allocations: 11.98 kB / 444.5 MB, free: 10.18 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.237e-05/0.1518, allocations: 37.64 kB / 444.6 MB, free: 10.14 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.294e-05/0.1518, allocations: 4 kB / 444.6 MB, free: 10.13 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001729/0.1535, allocations: 2.533 MB / 447.1 MB, free: 7.336 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.1536, allocations: 0 / 447.1 MB, free: 7.336 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002826/0.1538, allocations: 304.3 kB / 447.4 MB, free: 7.016 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.505e-05/0.1539, allocations: 85.02 kB / 447.5 MB, free: 6.914 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.266e-05/0.1539, allocations: 0 / 447.5 MB, free: 6.914 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.377e-05/0.154, allocations: 8.094 kB / 447.5 MB, free: 6.906 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.216e-05/0.1541, allocations: 20.02 kB / 447.5 MB, free: 6.887 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.57e-06/0.1541, allocations: 3.984 kB / 447.5 MB, free: 6.883 MB / 382.1 MB Notification: Performance of sorting global known variables: time 6.01e-05/0.1541, allocations: 91.7 kB / 447.6 MB, free: 6.793 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1541, allocations: 0 / 447.6 MB, free: 6.793 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003865/0.1545, allocations: 39.94 kB / 447.6 MB, free: 6.754 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001208/0.1547, allocations: 95.58 kB / 447.7 MB, free: 6.652 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0004192/0.1551, allocations: 301.2 kB / 448 MB, free: 6.332 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.007e-06/0.1551, allocations: 0 / 448 MB, free: 6.332 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002474/0.1554, allocations: 253.9 kB / 448.3 MB, free: 6.059 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004479/0.1558, allocations: 27.92 kB / 448.3 MB, free: 6.031 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007931/0.1566, allocations: 0.5549 MB / 448.9 MB, free: 5.445 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000291/0.1569, allocations: 0.7122 MB / 449.6 MB, free: 4.707 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.356e-05/0.157, allocations: 12.86 kB / 449.6 MB, free: 4.688 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.071e-05/0.157, allocations: 11.44 kB / 449.6 MB, free: 4.68 MB / 382.1 MB Notification: Performance of SimCode: time 3.1e-07/0.157, allocations: 0 / 449.6 MB, free: 4.68 MB / 382.1 MB Notification: Performance of Templates: time 0.004213/0.1612, allocations: 1.393 MB / 451 MB, free: 3.285 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Rotational.ForUsersGuide.Directions3.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.2_ModelicaTest.Rotational.ForUsersGuide.Directions3.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Rotational.ForUsersGuide.Directions3.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Rotational.ForUsersGuide.Directions3.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Rotational.ForUsersGuide.Directions3.sim & ./ModelicaTest_3.2.2_ModelicaTest.Rotational.ForUsersGuide.Directions3 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Rotational.ForUsersGuide.Directions3.pipe 2>&1) Environment - environmentSimulation: