Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PlanarMechanics_PlanarMechanics.Examples.KinematicLoop.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PlanarMechanics 1.6.0/package.mo", uses=false) Using package PlanarMechanics with version 1.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PlanarMechanics 1.6.0/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(PlanarMechanics.Examples.KinematicLoop,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PlanarMechanics_PlanarMechanics.Examples.KinematicLoop") translateModel(PlanarMechanics.Examples.KinematicLoop,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PlanarMechanics_PlanarMechanics.Examples.KinematicLoop") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001578/0.001578, allocations: 115.2 kB / 16.42 MB, free: 6.508 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.001814/0.001814, allocations: 183.9 kB / 17.34 MB, free: 5.758 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.365/1.365, allocations: 222.9 MB / 241.1 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PlanarMechanics 1.6.0/package.mo): time 0.06861/0.06861, allocations: 9.12 MB / 300.3 MB, free: 5.84 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001268/0.001268, allocations: 63.91 kB / 415.3 MB, free: 21.11 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08261/0.08389, allocations: 51.45 MB / 466.8 MB, free: 1.664 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.Examples.KinematicLoop): time 0.01151/0.09543, allocations: 10.48 MB / 477.2 MB, free: 7.137 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006054/0.1015, allocations: 2.982 MB / 480.2 MB, free: 4.145 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001385/0.1029, allocations: 43.94 kB / 480.3 MB, free: 4.102 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001271/0.1042, allocations: 444.8 kB / 480.7 MB, free: 3.664 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004102/0.1084, allocations: 1.63 MB / 482.3 MB, free: 2.027 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000756/0.1092, allocations: 227.6 kB / 482.6 MB, free: 1.805 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.004173/0.1134, allocations: 3.015 MB / 485.6 MB, free: 14.78 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002076/0.1155, allocations: 1.186 MB / 486.8 MB, free: 13.56 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001712/0.1172, allocations: 1.097 MB / 487.9 MB, free: 12.46 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002418/0.1196, allocations: 1.549 MB / 489.4 MB, free: 10.91 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007349/0.1204, allocations: 279.9 kB / 489.7 MB, free: 10.63 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001998/0.1224, allocations: 0.8738 MB / 490.5 MB, free: 9.758 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001775/0.1242, allocations: 1.395 MB / 491.9 MB, free: 8.359 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002959/0.1271, allocations: 1.864 MB / 493.8 MB, free: 6.484 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007198/0.1344, allocations: 5.738 MB / 499.5 MB, free: 0.7227 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.1344, allocations: 0 / 499.5 MB, free: 0.7227 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.1344, allocations: 4 kB / 499.5 MB, free: 0.7188 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001609/0.1346, allocations: 0 / 499.5 MB, free: 0.7188 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: 1368 * Number of variables: 1368 Notification: Performance of Generate backend data structure: time 0.0134/0.148, allocations: 5.831 MB / 0.4935 GB, free: 10.81 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.585e-05/0.148, allocations: 8.031 kB / 0.4935 GB, free: 10.8 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00681/0.1549, allocations: 1.855 MB / 0.4954 GB, free: 8.941 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003472/0.1584, allocations: 1.576 MB / 0.4969 GB, free: 7.316 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001953/0.1586, allocations: 188.6 kB / 0.4971 GB, free: 7.129 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00103/0.1596, allocations: 239.8 kB / 0.4973 GB, free: 6.895 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2109/0.3706, allocations: 9.305 MB / 0.5064 GB, free: 39.44 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001148/0.3707, allocations: 28 kB / 0.5064 GB, free: 39.43 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003711/0.3711, allocations: 115.6 kB / 0.5065 GB, free: 39.43 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003564/0.3747, allocations: 2.081 MB / 0.5086 GB, free: 39.27 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01725/0.392, allocations: 8.242 MB / 0.5166 GB, free: 36.54 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03132/0.4233, allocations: 29.99 MB / 0.5459 GB, free: 13.36 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006316/0.4297, allocations: 3.033 MB / 0.5489 GB, free: 10.21 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001349/0.431, allocations: 1.118 MB / 0.5499 GB, free: 9.098 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005638/0.4367, allocations: 6.29 MB / 0.5561 GB, free: 2.277 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.314e-05/0.4367, allocations: 51.81 kB / 0.5561 GB, free: 2.219 MB / 382.1 MB Notification: Performance of pre-optimization done (n=179): time 3.396e-06/0.4367, allocations: 0 / 0.5561 GB, free: 2.219 MB / 382.1 MB Notification: Performance of matching and sorting (n=233): time 0.02035/0.4571, allocations: 8.351 MB / 0.5643 GB, free: 9.965 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.051e-05/0.4572, allocations: 81.39 kB / 0.5644 GB, free: 9.875 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003991/0.4612, allocations: 3.07 MB / 0.5674 GB, free: 6.785 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001449/0.4613, allocations: 57.7 kB / 0.5674 GB, free: 6.723 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001539/0.4629, allocations: 2.524 MB / 0.5699 GB, free: 4.18 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000668/0.4635, allocations: 0.8874 MB / 0.5708 GB, free: 3.285 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00127/0.4648, allocations: 0.9854 MB / 0.5717 GB, free: 2.289 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 9.319e-05/0.4649, allocations: 305.1 kB / 0.572 GB, free: 1.988 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002555/0.4675, allocations: 1.646 MB / 0.5736 GB, free: 344 kB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004212/0.4717, allocations: 4.244 MB / 0.5778 GB, free: 10.8 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007446/0.4792, allocations: 6.385 MB / 0.584 GB, free: 3.156 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.478e-05/0.4793, allocations: 28 kB / 0.584 GB, free: 3.129 MB / 414.1 MB Notification: Performance of matching and sorting (n=659) (initialization): time 0.01011/0.4894, allocations: 6.501 MB / 0.5904 GB, free: 12.62 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.303e-05/0.4894, allocations: 44 kB / 0.5904 GB, free: 12.57 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.848e-05/0.4895, allocations: 92 kB / 0.5905 GB, free: 12.48 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001716/0.4912, allocations: 0.7106 MB / 0.5912 GB, free: 11.76 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002825/0.4941, allocations: 1.049 MB / 0.5922 GB, free: 10.71 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0128/0.5069, allocations: 12.18 MB / 0.6041 GB, free: 13.96 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003048/0.51, allocations: 255.9 kB / 0.6044 GB, free: 13.71 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003542/0.5103, allocations: 292 kB / 0.6046 GB, free: 13.43 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 413 * Number of states: 0 () * Number of discrete variables: 27 (fixedTranslation3.color[3],fixedTranslation3.color[2],fixedTranslation3.color[1],fixedTranslation2.color[3],fixedTranslation2.color[2],fixedTranslation2.color[1],fixedTranslation1.color[3],fixedTranslation1.color[2],fixedTranslation1.color[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],prismatic1.boxColor[3],prismatic1.boxColor[2],prismatic1.boxColor[1],revolute4.cylinderColor[3],revolute4.cylinderColor[2],revolute4.cylinderColor[1],revolute2.cylinderColor[3],revolute2.cylinderColor[2],revolute2.cylinderColor[1],revolute3.cylinderColor[3],revolute3.cylinderColor[2],revolute3.cylinderColor[1],revolute1.cylinderColor[3],revolute1.cylinderColor[2],revolute1.cylinderColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (583): * Single equations (assignments): 574 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(2,8,100.0%), (2,17,100.0%), (2,10,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,10)} Notification: Performance of prepare postOptimizeDAE: time 0.00255/0.5129, allocations: 1.792 MB / 0.6064 GB, free: 11.62 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003911/0.5133, allocations: 298 kB / 0.6067 GB, free: 11.33 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004898/0.5182, allocations: 3.124 MB / 0.6097 GB, free: 8.172 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.691e-05/0.5182, allocations: 7.969 kB / 0.6097 GB, free: 8.164 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.935e-06/0.5182, allocations: 7.922 kB / 0.6097 GB, free: 8.156 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004919/0.5187, allocations: 367 kB / 0.6101 GB, free: 7.777 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002886/0.519, allocations: 36 kB / 0.6101 GB, free: 7.742 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009254/0.52, allocations: 99.86 kB / 0.6102 GB, free: 7.645 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002379/0.5202, allocations: 149.8 kB / 0.6104 GB, free: 7.496 MB / 446.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.005394/0.5256, allocations: 3.145 MB / 0.6134 GB, free: 4.332 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.005173/0.5308, allocations: 4.108 MB / 0.6174 GB, free: 200 kB / 446.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0014/0.5322, allocations: 1.097 MB / 0.6185 GB, free: 15.1 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.00272/0.535, allocations: 1.968 MB / 0.6204 GB, free: 13.12 MB / 462.1 MB Notification: Performance of Backend: time 4.31e-07/0.535, allocations: 4 kB / 0.6204 GB, free: 13.12 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.007017/0.542, allocations: 3.91 MB / 0.6243 GB, free: 9.16 MB / 462.1 MB Notification: Performance of SimCode: time 0.0128/0.5548, allocations: 8.389 MB / 0.6325 GB, free: 0.7188 MB / 462.1 MB Notification: Performance of Templates: time 0.07047/0.6253, allocations: 42.1 MB / 0.6736 GB, free: 6.812 MB / 0.4981 GB make -j1 -f PlanarMechanics_PlanarMechanics.Examples.KinematicLoop.makefile (rm -f PlanarMechanics_PlanarMechanics.Examples.KinematicLoop.pipe ; mkfifo PlanarMechanics_PlanarMechanics.Examples.KinematicLoop.pipe ; head -c 1048576 < PlanarMechanics_PlanarMechanics.Examples.KinematicLoop.pipe >> ../files/PlanarMechanics_PlanarMechanics.Examples.KinematicLoop.sim & ./PlanarMechanics_PlanarMechanics.Examples.KinematicLoop -abortSlowSimulation -alarm=480 -lv LOG_STATS > PlanarMechanics_PlanarMechanics.Examples.KinematicLoop.pipe 2>&1)