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.008356/0.008356, allocations: 107.9 kB / 15.74 MB, free: 5.578 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.00159/0.00159, allocations: 189.5 kB / 16.67 MB, free: 5.516 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.6/1.6, allocations: 205.1 MB / 222.5 MB, free: 12.24 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.1931/0.1931, allocations: 38.01 MB / 307.9 MB, free: 5.98 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.003128/0.003128, allocations: 67.91 kB / 433 MB, free: 14.45 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1384/0.1415, allocations: 56.47 MB / 489.4 MB, free: 5.898 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.Directions3): time 0.003481/0.1451, allocations: 1.644 MB / 491.1 MB, free: 4.246 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003591/0.1455, allocations: 111.6 kB / 491.2 MB, free: 4.137 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.423e-05/0.1456, allocations: 4 kB / 491.2 MB, free: 4.133 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 7.409e-05/0.1457, allocations: 15.86 kB / 491.2 MB, free: 4.117 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001763/0.1459, allocations: 39.64 kB / 491.3 MB, free: 4.078 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001642/0.146, allocations: 23.97 kB / 491.3 MB, free: 4.055 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001846/0.1462, allocations: 139.4 kB / 491.4 MB, free: 3.918 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001714/0.1464, allocations: 33.09 kB / 491.4 MB, free: 3.883 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001052/0.1465, allocations: 47.8 kB / 491.5 MB, free: 3.836 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.328e-05/0.1466, allocations: 55.77 kB / 491.5 MB, free: 3.781 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.397e-05/0.1466, allocations: 12 kB / 491.6 MB, free: 3.77 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.132e-05/0.1467, allocations: 8 kB / 491.6 MB, free: 3.762 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 2.881e-05/0.1467, allocations: 23.92 kB / 491.6 MB, free: 3.738 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 6.721e-05/0.1468, allocations: 51.75 kB / 491.6 MB, free: 3.688 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002183/0.147, allocations: 135.4 kB / 491.8 MB, free: 3.555 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.43e-06/0.147, allocations: 0 / 491.8 MB, free: 3.555 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.147, allocations: 0 / 491.8 MB, free: 3.555 MB / 366.1 MB Notification: Performance of Transformations before backend: time 8.846e-06/0.147, allocations: 0 / 491.8 MB, free: 3.555 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.0004872/0.1475, allocations: 407.4 kB / 492.2 MB, free: 3.102 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.557e-05/0.1476, allocations: 15.88 kB / 492.2 MB, free: 3.086 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.5e-05/0.1476, allocations: 16.75 kB / 492.2 MB, free: 3.07 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001804/0.1478, allocations: 184.2 kB / 492.4 MB, free: 2.852 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.696e-05/0.1478, allocations: 12.61 kB / 492.4 MB, free: 2.84 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.654e-05/0.1479, allocations: 20.27 kB / 492.4 MB, free: 2.82 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002242/0.1481, allocations: 129.5 kB / 492.5 MB, free: 2.684 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.526e-05/0.1481, allocations: 192 / 492.5 MB, free: 2.684 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.002e-05/0.1482, allocations: 11.94 kB / 492.6 MB, free: 2.672 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.123e-06/0.1482, allocations: 4 kB / 492.6 MB, free: 2.668 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001233/0.1483, allocations: 59.91 kB / 492.6 MB, free: 2.609 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006936/0.149, allocations: 0.5333 MB / 493.1 MB, free: 2.016 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001325/0.1492, allocations: 93.08 kB / 493.2 MB, free: 1.906 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.437e-05/0.1492, allocations: 29.88 kB / 493.3 MB, free: 1.871 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.438e-05/0.1492, allocations: 7.938 kB / 493.3 MB, free: 1.863 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.126e-05/0.1493, allocations: 30.56 kB / 493.3 MB, free: 1.824 MB / 366.1 MB Notification: Performance of pre-optimization done (n=8): time 1.062e-06/0.1493, allocations: 0 / 493.3 MB, free: 1.824 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006079/0.1499, allocations: 313.3 kB / 493.6 MB, free: 1.469 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.625e-05/0.1499, allocations: 77.11 kB / 493.7 MB, free: 1.375 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001012/0.1501, allocations: 125.7 kB / 493.8 MB, free: 1.242 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.348e-05/0.1501, allocations: 25.7 kB / 493.8 MB, free: 1.211 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.988e-05/0.1502, allocations: 119.5 kB / 494 MB, free: 1.09 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.497e-05/0.1502, allocations: 32.89 kB / 494 MB, free: 1.059 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.346e-05/0.1502, allocations: 37.7 kB / 494 MB, free: 1.016 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001092/0.1504, allocations: 318.8 kB / 494.3 MB, free: 0.6953 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.031e-05/0.1504, allocations: 23.98 kB / 494.4 MB, free: 0.6719 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.563e-05/0.1505, allocations: 88.52 kB / 494.4 MB, free: 0.5547 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001318/0.1506, allocations: 124.5 kB / 494.6 MB, free: 412 kB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.1506, allocations: 0 / 494.6 MB, free: 412 kB / 366.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002643/0.1509, allocations: 167 kB / 494.7 MB, free: 232 kB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.633e-05/0.1509, allocations: 4 kB / 494.7 MB, free: 228 kB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.422e-06/0.1509, allocations: 4 kB / 494.7 MB, free: 224 kB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001841/0.1511, allocations: 45.89 kB / 494.8 MB, free: 172 kB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.699e-05/0.1512, allocations: 20 kB / 494.8 MB, free: 152 kB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002139/0.1534, allocations: 2.734 MB / 497.5 MB, free: 13.14 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.737e-05/0.1535, allocations: 11.94 kB / 497.5 MB, free: 13.12 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.07e-05/0.1535, allocations: 8 kB / 497.6 MB, free: 13.12 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.0001151/0.1536, allocations: 133.6 kB / 497.7 MB, free: 12.98 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.561e-05/0.1537, allocations: 12 kB / 497.7 MB, free: 12.96 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.409e-05/0.1537, allocations: 19.83 kB / 497.7 MB, free: 12.94 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.225e-06/0.1537, allocations: 0 / 497.7 MB, free: 12.94 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.743e-05/0.1537, allocations: 4 kB / 497.7 MB, free: 12.93 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.496e-06/0.1537, allocations: 0 / 497.7 MB, free: 12.93 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000277/0.154, allocations: 201.6 kB / 497.9 MB, free: 12.69 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.168e-06/0.154, allocations: 4 kB / 497.9 MB, free: 12.68 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.322e-05/0.1541, allocations: 8 kB / 497.9 MB, free: 12.68 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000101/0.1542, allocations: 33.7 kB / 498 MB, free: 12.64 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.457e-05/0.1543, allocations: 7.938 kB / 498 MB, free: 12.63 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001861/0.1561, allocations: 2.745 MB / 0.489 GB, free: 9.602 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.925e-06/0.1561, allocations: 4.031 kB / 0.489 GB, free: 9.598 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002702/0.1564, allocations: 300.2 kB / 0.4893 GB, free: 9.281 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.413e-05/0.1565, allocations: 85.05 kB / 0.4893 GB, free: 9.18 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.398e-05/0.1565, allocations: 4 kB / 0.4894 GB, free: 9.176 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.514e-05/0.1566, allocations: 8 kB / 0.4894 GB, free: 9.168 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.253e-05/0.1566, allocations: 8.031 kB / 0.4894 GB, free: 9.16 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.514e-06/0.1566, allocations: 8 kB / 0.4894 GB, free: 9.152 MB / 382.1 MB Notification: Performance of sorting global known variables: time 4.558e-05/0.1567, allocations: 95.2 kB / 0.4895 GB, free: 9.059 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1567, allocations: 0 / 0.4895 GB, free: 9.059 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003729/0.1571, allocations: 35.91 kB / 0.4895 GB, free: 9.023 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 9.475e-05/0.1572, allocations: 99.25 kB / 0.4896 GB, free: 8.918 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0004121/0.1576, allocations: 301.2 kB / 0.4899 GB, free: 8.598 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.576e-06/0.1576, allocations: 4 kB / 0.4899 GB, free: 8.594 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002956/0.1579, allocations: 261.8 kB / 0.4901 GB, free: 8.312 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004851/0.1584, allocations: 24.75 kB / 0.4902 GB, free: 8.289 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007898/0.1592, allocations: 471.6 kB / 0.4906 GB, free: 7.801 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003742/0.1596, allocations: 0.7162 MB / 0.4913 GB, free: 7.059 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 3.545e-05/0.1596, allocations: 4.891 kB / 0.4913 GB, free: 7.051 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.517e-05/0.1597, allocations: 15.38 kB / 0.4913 GB, free: 7.035 MB / 382.1 MB Notification: Performance of SimCode: time 8.72e-07/0.1597, allocations: 0 / 0.4913 GB, free: 7.035 MB / 382.1 MB Notification: Performance of Templates: time 0.004159/0.1638, allocations: 1.523 MB / 0.4928 GB, free: 5.512 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Rotational.ForUsersGuide.Directions3.makefile (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)