Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.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.ConnectionPossibilities,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities") translateModel(ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007279/0.007278, allocations: 102.5 kB / 15.73 MB, free: 6 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.001244/0.001244, allocations: 194 kB / 16.67 MB, free: 5.926 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.594/1.594, allocations: 205.1 MB / 222.5 MB, free: 4.508 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.3992/0.3992, allocations: 39.95 MB / 309.8 MB, free: 9.402 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.001469/0.001469, allocations: 67.89 kB / 435.8 MB, free: 2.48 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4111/0.4125, allocations: 56.86 MB / 492.6 MB, free: 19.48 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities): time 0.003556/0.4162, allocations: 1.865 MB / 494.5 MB, free: 18.17 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004804/0.4167, allocations: 151.5 kB / 494.6 MB, free: 18.05 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001141/0.4168, allocations: 6.406 kB / 494.6 MB, free: 18.05 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 8.153e-05/0.4169, allocations: 20.59 kB / 494.7 MB, free: 18.04 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001801/0.4171, allocations: 53.66 kB / 494.7 MB, free: 18 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002074/0.4173, allocations: 38.14 kB / 494.8 MB, free: 17.98 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002584/0.4176, allocations: 180.3 kB / 494.9 MB, free: 17.89 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002/0.4178, allocations: 61.7 kB / 495 MB, free: 17.86 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001062/0.4179, allocations: 69.62 kB / 495.1 MB, free: 17.82 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001429/0.418, allocations: 79.14 kB / 495.1 MB, free: 17.78 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.324e-05/0.4181, allocations: 14.62 kB / 495.2 MB, free: 17.78 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.492e-05/0.4181, allocations: 14.12 kB / 495.2 MB, free: 17.78 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 3.717e-05/0.4182, allocations: 29.69 kB / 495.2 MB, free: 17.76 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 9.24e-05/0.4183, allocations: 87.7 kB / 495.3 MB, free: 17.71 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002666/0.4185, allocations: 188 kB / 495.5 MB, free: 17.64 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.203e-06/0.4185, allocations: 1.344 kB / 495.5 MB, free: 17.64 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.076e-06/0.4186, allocations: 0 / 495.5 MB, free: 17.64 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.913e-06/0.4186, allocations: 3.938 kB / 495.5 MB, free: 17.64 MB / 382.1 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.00058/0.4191, allocations: 444.3 kB / 495.9 MB, free: 17.22 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.334e-05/0.4192, allocations: 13.25 kB / 495.9 MB, free: 17.21 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.301e-05/0.4193, allocations: 17.94 kB / 495.9 MB, free: 17.21 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001879/0.4195, allocations: 217.3 kB / 496.1 MB, free: 16.98 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.045e-05/0.4195, allocations: 11.48 kB / 496.2 MB, free: 16.97 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.583e-05/0.4195, allocations: 20.17 kB / 496.2 MB, free: 16.96 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003212/0.4199, allocations: 172.9 kB / 496.3 MB, free: 16.87 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.324e-05/0.4199, allocations: 13.45 kB / 496.4 MB, free: 16.86 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.858e-05/0.4199, allocations: 9.562 kB / 496.4 MB, free: 16.85 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.377e-06/0.4199, allocations: 4.875 kB / 496.4 MB, free: 16.85 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000184/0.4201, allocations: 87.81 kB / 496.5 MB, free: 16.82 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008177/0.4209, allocations: 0.6113 MB / 497.1 MB, free: 16.32 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002505/0.4212, allocations: 130.9 kB / 497.2 MB, free: 16.23 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.747e-05/0.4213, allocations: 52.45 kB / 497.3 MB, free: 16.2 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.867e-05/0.4213, allocations: 5.594 kB / 497.3 MB, free: 16.2 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.449e-05/0.4214, allocations: 37.72 kB / 497.3 MB, free: 16.16 MB / 382.1 MB Notification: Performance of pre-optimization done (n=14): time 1.373e-06/0.4214, allocations: 0 / 497.3 MB, free: 16.16 MB / 382.1 MB Notification: Performance of matching and sorting (n=14): time 0.0008816/0.4223, allocations: 375.8 kB / 497.7 MB, free: 15.87 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.378e-05/0.4223, allocations: 80.83 kB / 497.7 MB, free: 15.77 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001292/0.4224, allocations: 128.1 kB / 497.9 MB, free: 15.66 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.629e-05/0.4225, allocations: 30.77 kB / 497.9 MB, free: 15.62 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.421e-05/0.4226, allocations: 126.9 kB / 498 MB, free: 15.51 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.371e-05/0.4226, allocations: 67.03 kB / 498.1 MB, free: 15.46 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.357e-05/0.4227, allocations: 36.67 kB / 498.1 MB, free: 15.43 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001176/0.4228, allocations: 323.1 kB / 498.4 MB, free: 15.11 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.574e-05/0.4229, allocations: 35.72 kB / 498.5 MB, free: 15.1 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001389/0.4231, allocations: 114.7 kB / 498.6 MB, free: 14.99 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002131/0.4233, allocations: 149.3 kB / 498.7 MB, free: 14.87 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.608e-06/0.4233, allocations: 1.438 kB / 498.7 MB, free: 14.87 MB / 382.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004152/0.4237, allocations: 220.6 kB / 498.9 MB, free: 14.75 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.459e-05/0.4238, allocations: 11.7 kB / 499 MB, free: 14.75 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.799e-06/0.4238, allocations: 6.281 kB / 499 MB, free: 14.74 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002699/0.4241, allocations: 56.09 kB / 499 MB, free: 14.71 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001443/0.4242, allocations: 35.7 kB / 499.1 MB, free: 14.71 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001661/0.4259, allocations: 2.987 MB / 0.4903 GB, free: 11.69 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.097e-05/0.426, allocations: 16.75 kB / 0.4903 GB, free: 11.68 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.572e-05/0.426, allocations: 6.906 kB / 0.4903 GB, free: 11.68 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 (20): * Single equations (assignments): 18 * 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,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 9.553e-05/0.4261, allocations: 139.9 kB / 0.4904 GB, free: 11.54 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.065e-05/0.4262, allocations: 10.47 kB / 0.4904 GB, free: 11.54 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.038e-05/0.4262, allocations: 23.58 kB / 0.4905 GB, free: 11.52 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.336e-06/0.4262, allocations: 2.969 kB / 0.4905 GB, free: 11.52 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.985e-06/0.4262, allocations: 1.688 kB / 0.4905 GB, free: 11.52 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.16e-06/0.4262, allocations: 1.312 kB / 0.4905 GB, free: 11.52 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002803/0.4265, allocations: 229 kB / 0.4907 GB, free: 11.3 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.304e-06/0.4265, allocations: 0.8438 kB / 0.4907 GB, free: 11.3 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001514/0.4267, allocations: 33.06 kB / 0.4907 GB, free: 11.29 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001259/0.4268, allocations: 46.23 kB / 0.4908 GB, free: 11.27 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.549e-05/0.4268, allocations: 9.766 kB / 0.4908 GB, free: 11.26 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001554/0.4284, allocations: 2.986 MB / 0.4937 GB, free: 8.246 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.924e-06/0.4284, allocations: 0 / 0.4937 GB, free: 8.246 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003906/0.4288, allocations: 372.4 kB / 0.494 GB, free: 7.961 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.583e-05/0.4289, allocations: 88.91 kB / 0.4941 GB, free: 7.859 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.668e-05/0.4289, allocations: 7.016 kB / 0.4941 GB, free: 7.855 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.902e-05/0.429, allocations: 5.031 kB / 0.4941 GB, free: 7.852 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.824e-05/0.429, allocations: 13.84 kB / 0.4942 GB, free: 7.848 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.004e-05/0.429, allocations: 4.031 kB / 0.4942 GB, free: 7.848 MB / 382.1 MB Notification: Performance of sorting global known variables: time 6.233e-05/0.4291, allocations: 96.05 kB / 0.4942 GB, free: 7.77 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.673e-06/0.4291, allocations: 4 kB / 0.4942 GB, free: 7.766 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000481/0.4296, allocations: 58.84 kB / 0.4943 GB, free: 7.75 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 6 (inertia1.w,inertia2.phi,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 (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,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001112/0.4297, allocations: 97.42 kB / 0.4944 GB, free: 7.66 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0005734/0.4303, allocations: 354.1 kB / 0.4947 GB, free: 7.391 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.577e-06/0.4303, allocations: 1.406 kB / 0.4947 GB, free: 7.391 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002724/0.4306, allocations: 286 kB / 0.495 GB, free: 7.145 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005345/0.4311, allocations: 36.09 kB / 0.495 GB, free: 7.133 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001034/0.4322, allocations: 0.6397 MB / 0.4957 GB, free: 6.633 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002223/0.4324, allocations: 0.726 MB / 0.4964 GB, free: 5.934 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.709e-05/0.4325, allocations: 9.438 kB / 0.4964 GB, free: 5.93 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.758e-05/0.4325, allocations: 13.16 kB / 0.4964 GB, free: 5.926 MB / 382.1 MB Notification: Performance of SimCode: time 2.4e-07/0.4325, allocations: 0 / 0.4964 GB, free: 5.926 MB / 382.1 MB Notification: Performance of Templates: time 0.006293/0.4388, allocations: 1.993 MB / 0.4983 GB, free: 5.723 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.sim & ./ModelicaTest_3.2.2_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.pipe 2>&1)