Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+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 ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: translateModel(ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities") translateModel(ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.005435/0.005435, allocations: 165.5 kB / 15.11 MB, free: 5.984 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.239/1.239, allocations: 170.8 MB / 186.6 MB, free: 1.137 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001569/0.001569, allocations: 99.41 kB / 226.2 MB, free: 10.12 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.407/0.407, allocations: 38.05 MB / 303.7 MB, free: 42.35 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003913/0.0003913, allocations: 8 kB / 362.9 MB, free: 5.613 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1295/0.1299, allocations: 48.71 MB / 411.6 MB, free: 4.836 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3436/0.4735, allocations: 73.7 MB / 485.3 MB, free: 13.96 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002315/0.4738, allocations: 66.16 kB / 485.3 MB, free: 13.93 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.005806/0.4796, allocations: 2.534 MB / 487.9 MB, free: 11.83 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.154e-06/0.4797, allocations: 0 / 487.9 MB, free: 11.83 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.022e-05/0.4797, allocations: 4 kB / 487.9 MB, free: 11.83 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.0004162/0.4801, allocations: 423.8 kB / 488.3 MB, free: 11.38 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.262e-05/0.4802, allocations: 12.03 kB / 488.3 MB, free: 11.37 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.548e-05/0.4802, allocations: 15.81 kB / 488.3 MB, free: 11.35 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001051/0.4803, allocations: 182.7 kB / 488.5 MB, free: 11.14 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.024e-05/0.4804, allocations: 11.95 kB / 488.5 MB, free: 11.13 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.514e-05/0.4804, allocations: 19.81 kB / 488.5 MB, free: 11.12 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002571/0.4807, allocations: 171.1 kB / 488.7 MB, free: 10.98 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.806e-05/0.4807, allocations: 3.906 kB / 488.7 MB, free: 10.98 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.719e-05/0.4807, allocations: 7.875 kB / 488.7 MB, free: 10.98 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.452e-06/0.4807, allocations: 8 kB / 488.7 MB, free: 10.97 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001405/0.4809, allocations: 82.7 kB / 488.8 MB, free: 10.91 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007186/0.4816, allocations: 0.6204 MB / 489.4 MB, free: 10.31 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001931/0.4818, allocations: 129.6 kB / 489.5 MB, free: 10.2 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.316e-05/0.4818, allocations: 3.984 kB / 489.5 MB, free: 10.2 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.73e-05/0.4819, allocations: 38.5 kB / 489.6 MB, free: 10.15 MB / 330.7 MB Notification: Performance of pre-optimization done (n=14): time 1.152e-06/0.4819, allocations: 4.188 kB / 489.6 MB, free: 10.15 MB / 330.7 MB Notification: Performance of matching and sorting (n=14): time 0.0007327/0.4826, allocations: 379.7 kB / 490 MB, free: 9.762 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.549e-05/0.4827, allocations: 84.5 kB / 490 MB, free: 9.664 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.244e-05/0.4828, allocations: 118.9 kB / 490.1 MB, free: 9.551 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.221e-05/0.4828, allocations: 25.8 kB / 490.2 MB, free: 9.52 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.913e-05/0.4828, allocations: 135.5 kB / 490.3 MB, free: 9.391 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.052e-05/0.4829, allocations: 55.08 kB / 490.4 MB, free: 9.344 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.961e-06/0.4829, allocations: 3.875 kB / 490.4 MB, free: 9.344 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 6.506e-05/0.483, allocations: 326.7 kB / 490.7 MB, free: 9.023 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.324e-05/0.483, allocations: 39.55 kB / 490.7 MB, free: 8.996 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.683e-05/0.4831, allocations: 95.62 kB / 490.8 MB, free: 8.887 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.139e-05/0.4832, allocations: 55.38 kB / 490.9 MB, free: 8.852 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.4832, allocations: 0 / 490.9 MB, free: 8.852 MB / 330.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.00029/0.4835, allocations: 224.7 kB / 491.1 MB, free: 8.668 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.666e-05/0.4835, allocations: 8 kB / 491.1 MB, free: 8.66 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.873e-06/0.4835, allocations: 0 / 491.1 MB, free: 8.66 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001977/0.4837, allocations: 53.12 kB / 491.1 MB, free: 8.609 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001252/0.4839, allocations: 31.98 kB / 491.2 MB, free: 8.578 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001374/0.4853, allocations: 2.728 MB / 493.9 MB, free: 5.715 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.008e-05/0.4853, allocations: 22.97 kB / 493.9 MB, free: 5.695 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.08e-05/0.4854, allocations: 7.438 kB / 493.9 MB, free: 5.691 MB / 330.7 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 (20): * Single equations (assignments): 18 * 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%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001102/0.4855, allocations: 130.8 kB / 494.1 MB, free: 5.566 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.606e-05/0.4855, allocations: 19.89 kB / 494.1 MB, free: 5.547 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.055e-05/0.4856, allocations: 14.78 kB / 494.1 MB, free: 5.543 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.975e-06/0.4856, allocations: 7.953 kB / 494.1 MB, free: 5.535 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.559e-06/0.4856, allocations: 0 / 494.1 MB, free: 5.535 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.709e-06/0.4856, allocations: 4 kB / 494.1 MB, free: 5.531 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000219/0.4858, allocations: 230.7 kB / 494.3 MB, free: 5.281 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.425e-06/0.4858, allocations: 3.125 kB / 494.3 MB, free: 5.281 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001363/0.486, allocations: 27.98 kB / 494.4 MB, free: 5.254 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00011/0.4861, allocations: 46.83 kB / 494.4 MB, free: 5.211 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.427e-05/0.4861, allocations: 3.25 kB / 494.4 MB, free: 5.211 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001268/0.4874, allocations: 2.732 MB / 497.1 MB, free: 2.344 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.4874, allocations: 8.094 kB / 497.2 MB, free: 2.336 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003003/0.4877, allocations: 383.1 kB / 497.5 MB, free: 1.98 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.91e-05/0.4877, allocations: 89 kB / 497.6 MB, free: 1.875 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.64e-05/0.4878, allocations: 3.688 kB / 497.6 MB, free: 1.875 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.92e-05/0.4879, allocations: 7.953 kB / 497.6 MB, free: 1.867 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.564e-05/0.4879, allocations: 19.8 kB / 497.6 MB, free: 1.852 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.474e-06/0.4879, allocations: 7.25 kB / 497.7 MB, free: 1.848 MB / 330.7 MB Notification: Performance of sorting global known variables: time 4.528e-05/0.488, allocations: 98.95 kB / 497.8 MB, free: 1.758 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.11e-07/0.488, allocations: 0 / 497.8 MB, free: 1.758 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0004104/0.4884, allocations: 55.53 kB / 497.8 MB, free: 1.707 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 6 (inertia1.phi,inertia2.w,inertia3.phi,inertia3.w,inertia4.phi,inertia4.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 (10): * Single equations (assignments): 8 * 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%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001529/0.4885, allocations: 102.4 kB / 497.9 MB, free: 1.602 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0004759/0.489, allocations: 348.1 kB / 498.2 MB, free: 1.273 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.489, allocations: 0 / 498.2 MB, free: 1.273 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002376/0.4893, allocations: 290.1 kB / 498.5 MB, free: 0.9844 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000401/0.4897, allocations: 28.91 kB / 498.6 MB, free: 0.9609 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001025/0.4907, allocations: 0.7881 MB / 499.3 MB, free: 180 kB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004/0.4911, allocations: 0.7281 MB / 0.4884 GB, free: 15.42 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 5.321e-05/0.4912, allocations: 17.42 kB / 0.4884 GB, free: 15.41 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.21e-05/0.4912, allocations: 11.44 kB / 0.4884 GB, free: 15.39 MB / 346.7 MB Notification: Performance of SimCode: time 2.21e-07/0.4912, allocations: 0 / 0.4884 GB, free: 15.39 MB / 346.7 MB Notification: Performance of Templates: time 0.004597/0.4958, allocations: 1.766 MB / 0.4901 GB, free: 13.65 MB / 346.7 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.sim & ./ModelicaTest_3.2.1_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.pipe 2>&1)