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.0009957/0.0009957, allocations: 99.7 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.001083/0.001083, 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.68/1.68, allocations: 205.4 MB / 222.1 MB, free: 5.527 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.3642/0.3642, allocations: 40 MB / 310.4 MB, free: 9.652 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.0005501/0.0005505, allocations: 16 kB / 378.8 MB, free: 12.35 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1333/0.1339, allocations: 57.95 MB / 436.8 MB, free: 2.297 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.Directions3): time 0.002027/0.136, allocations: 1.288 MB / 438 MB, free: 1 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002852/0.1363, allocations: 111.7 kB / 438.2 MB, free: 0.8906 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.646e-05/0.1364, allocations: 11.94 kB / 438.2 MB, free: 0.8789 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 3.528e-05/0.1364, allocations: 11.86 kB / 438.2 MB, free: 0.8672 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001114/0.1365, allocations: 35.92 kB / 438.2 MB, free: 0.832 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001219/0.1366, allocations: 23.97 kB / 438.2 MB, free: 0.8086 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001275/0.1368, allocations: 83.81 kB / 438.3 MB, free: 0.7266 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001543/0.1369, allocations: 36.94 kB / 438.4 MB, free: 0.6914 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.906e-05/0.137, allocations: 39.88 kB / 438.4 MB, free: 0.6523 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.233e-05/0.1371, allocations: 43.83 kB / 438.4 MB, free: 0.6094 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.131e-05/0.1371, allocations: 4 kB / 438.4 MB, free: 0.6055 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.111e-05/0.1372, allocations: 8 kB / 438.4 MB, free: 0.5977 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 2.106e-05/0.1372, allocations: 19.92 kB / 438.5 MB, free: 0.5781 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 4.534e-05/0.1372, allocations: 45.64 kB / 438.5 MB, free: 0.5273 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001186/0.1374, allocations: 84.03 kB / 438.6 MB, free: 456 kB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.456e-06/0.1374, allocations: 0 / 438.6 MB, free: 456 kB / 366.1 MB Notification: Performance of FrontEnd: time 2.515e-06/0.1374, allocations: 0 / 438.6 MB, free: 456 kB / 366.1 MB Notification: Performance of Transformations before backend: time 4.96e-06/0.1374, allocations: 4 kB / 438.6 MB, free: 452 kB / 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.0004872/0.1379, allocations: 395.2 kB / 439 MB, free: 4 kB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.094e-05/0.138, allocations: 8.078 kB / 439 MB, free: 15.99 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.798e-05/0.138, allocations: 15.77 kB / 439 MB, free: 15.98 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002461/0.1383, allocations: 194.9 kB / 439.2 MB, free: 15.75 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.662e-05/0.1383, allocations: 8.234 kB / 439.2 MB, free: 15.74 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.053e-05/0.1383, allocations: 15.94 kB / 439.2 MB, free: 15.73 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002242/0.1386, allocations: 129 kB / 439.3 MB, free: 15.59 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.712e-05/0.1386, allocations: 3.906 kB / 439.4 MB, free: 15.59 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.519e-05/0.1386, allocations: 4 kB / 439.4 MB, free: 15.58 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.055e-06/0.1386, allocations: 4 kB / 439.4 MB, free: 15.58 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001226/0.1388, allocations: 67.84 kB / 439.4 MB, free: 15.51 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007732/0.1395, allocations: 0.5333 MB / 440 MB, free: 14.92 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001267/0.1397, allocations: 97.14 kB / 440.1 MB, free: 14.8 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.187e-05/0.1397, allocations: 0 / 440.1 MB, free: 14.8 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.295e-05/0.1397, allocations: 38.56 kB / 440.1 MB, free: 14.76 MB / 382.1 MB Notification: Performance of pre-optimization done (n=8): time 8.22e-07/0.1397, allocations: 0 / 440.1 MB, free: 14.76 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005613/0.1403, allocations: 305.4 kB / 440.4 MB, free: 14.41 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.75e-05/0.1404, allocations: 81.09 kB / 440.5 MB, free: 14.31 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.664e-05/0.1405, allocations: 121.8 kB / 440.6 MB, free: 14.18 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.328e-05/0.1405, allocations: 25.7 kB / 440.6 MB, free: 14.15 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.821e-05/0.1406, allocations: 123.6 kB / 440.7 MB, free: 14.03 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.123e-05/0.1406, allocations: 35.53 kB / 440.8 MB, free: 13.99 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.083e-06/0.1406, allocations: 4 kB / 440.8 MB, free: 13.99 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001364/0.1408, allocations: 314.8 kB / 441.1 MB, free: 13.67 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.703e-05/0.1408, allocations: 20 kB / 441.1 MB, free: 13.65 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001068/0.1409, allocations: 100.2 kB / 441.2 MB, free: 13.53 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.697e-05/0.141, allocations: 31.94 kB / 441.2 MB, free: 13.5 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.444e-06/0.141, allocations: 4 kB / 441.2 MB, free: 13.49 MB / 382.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002706/0.1413, allocations: 175 kB / 441.4 MB, free: 13.31 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.833e-05/0.1413, allocations: 7.594 kB / 441.4 MB, free: 13.3 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.804e-06/0.1413, allocations: 4 kB / 441.4 MB, free: 13.3 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001751/0.1415, allocations: 37.95 kB / 441.5 MB, free: 13.26 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.705e-05/0.1416, allocations: 16 kB / 441.5 MB, free: 13.24 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002379/0.144, allocations: 2.553 MB / 444 MB, free: 10.42 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.471e-05/0.1441, allocations: 19.94 kB / 444 MB, free: 10.4 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.181e-05/0.1441, allocations: 8 kB / 444 MB, free: 10.39 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.000105/0.1442, allocations: 125.7 kB / 444.2 MB, free: 10.26 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.008e-05/0.1443, allocations: 7.906 kB / 444.2 MB, free: 10.25 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.981e-05/0.1443, allocations: 15.84 kB / 444.2 MB, free: 10.24 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/0.1443, allocations: 0 / 444.2 MB, free: 10.24 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/0.1443, allocations: 4 kB / 444.2 MB, free: 10.23 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.809e-06/0.1443, allocations: 7.984 kB / 444.2 MB, free: 10.23 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002488/0.1446, allocations: 201.5 kB / 444.4 MB, free: 9.98 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.492e-06/0.1446, allocations: 0 / 444.4 MB, free: 9.98 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.288e-05/0.1447, allocations: 15.98 kB / 444.4 MB, free: 9.965 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.349e-05/0.1448, allocations: 37.64 kB / 444.5 MB, free: 9.922 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.154e-05/0.1448, allocations: 4 kB / 444.5 MB, free: 9.918 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002034/0.1469, allocations: 2.541 MB / 447 MB, free: 7.113 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/0.1469, allocations: 0 / 447 MB, free: 7.113 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003134/0.1472, allocations: 322.2 kB / 447.3 MB, free: 6.77 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.587e-05/0.1472, allocations: 81.02 kB / 447.4 MB, free: 6.672 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.681e-05/0.1473, allocations: 11.89 kB / 447.4 MB, free: 6.66 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001034/0.1474, allocations: 4 kB / 447.4 MB, free: 6.656 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.952e-05/0.1474, allocations: 8.031 kB / 447.4 MB, free: 6.648 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.867e-06/0.1474, allocations: 0 / 447.4 MB, free: 6.648 MB / 382.1 MB Notification: Performance of sorting global known variables: time 6.168e-05/0.1475, allocations: 95.27 kB / 447.5 MB, free: 6.555 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.1475, allocations: 0 / 447.5 MB, free: 6.555 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003641/0.1479, allocations: 35.94 kB / 447.5 MB, free: 6.52 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.0001277/0.148, allocations: 99.25 kB / 447.6 MB, free: 6.414 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0004387/0.1485, allocations: 297.2 kB / 447.9 MB, free: 6.098 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/0.1485, allocations: 0.5 kB / 447.9 MB, free: 6.098 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002501/0.1487, allocations: 257.4 kB / 448.2 MB, free: 5.82 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003729/0.1491, allocations: 24.98 kB / 448.2 MB, free: 5.797 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009501/0.1501, allocations: 0.5628 MB / 448.8 MB, free: 5.203 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004573/0.1505, allocations: 0.72 MB / 449.5 MB, free: 4.457 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.018e-05/0.1506, allocations: 8.875 kB / 449.5 MB, free: 4.441 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.596e-05/0.1507, allocations: 11.44 kB / 449.5 MB, free: 4.43 MB / 382.1 MB Notification: Performance of SimCode: time 2.7e-07/0.1507, allocations: 3.938 kB / 449.5 MB, free: 4.426 MB / 382.1 MB Notification: Performance of Templates: time 0.004112/0.1548, allocations: 1.389 MB / 450.9 MB, free: 3.035 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: