Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PlanarMechanics_PlanarMechanics.Examples.SpringDemo.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.SpringDemo,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PlanarMechanics_PlanarMechanics.Examples.SpringDemo") translateModel(PlanarMechanics.Examples.SpringDemo,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PlanarMechanics_PlanarMechanics.Examples.SpringDemo") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001509/0.001509, allocations: 110.4 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.001686/0.001686, allocations: 185.5 kB / 17.35 MB, free: 5.738 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.335/1.335, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PlanarMechanics 1.6.0/package.mo): time 0.04676/0.04676, allocations: 9.122 MB / 300.3 MB, free: 5.844 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001269/0.001269, allocations: 71.88 kB / 415.3 MB, free: 21.15 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08941/0.09069, allocations: 51.43 MB / 466.7 MB, free: 1.703 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.Examples.SpringDemo): time 0.01045/0.1012, allocations: 9.532 MB / 476.3 MB, free: 8.125 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005506/0.1067, allocations: 2.749 MB / 479 MB, free: 5.363 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001224/0.108, allocations: 35.94 kB / 479.1 MB, free: 5.328 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001185/0.1092, allocations: 401.3 kB / 479.5 MB, free: 4.934 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00387/0.1131, allocations: 1.416 MB / 480.9 MB, free: 3.512 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006744/0.1138, allocations: 175.6 kB / 481 MB, free: 3.34 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003505/0.1173, allocations: 2.717 MB / 483.8 MB, free: 0.6172 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001533/0.1189, allocations: 0.9563 MB / 484.7 MB, free: 15.63 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001687/0.1206, allocations: 0.9726 MB / 485.7 MB, free: 14.65 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002279/0.1229, allocations: 1.405 MB / 487.1 MB, free: 13.24 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007408/0.1236, allocations: 248 kB / 487.3 MB, free: 13 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001851/0.1255, allocations: 0.8388 MB / 488.2 MB, free: 12.16 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001629/0.1271, allocations: 1.336 MB / 489.5 MB, free: 10.82 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002307/0.1295, allocations: 1.705 MB / 491.2 MB, free: 9.105 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005834/0.1353, allocations: 5.375 MB / 496.6 MB, free: 3.711 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.1353, allocations: 0 / 496.6 MB, free: 3.711 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.1353, allocations: 0 / 496.6 MB, free: 3.711 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001558/0.1355, allocations: 0 / 496.6 MB, free: 3.711 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: 1293 * Number of variables: 1293 Notification: Performance of Generate backend data structure: time 0.006505/0.142, allocations: 3.606 MB / 0.4885 GB, free: 40 kB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.085e-05/0.1421, allocations: 8.031 kB / 0.4885 GB, free: 32 kB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006719/0.1488, allocations: 1.833 MB / 0.4903 GB, free: 14.19 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002088/0.1509, allocations: 1.425 MB / 0.4917 GB, free: 12.72 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001175/0.151, allocations: 164.4 kB / 0.4918 GB, free: 12.55 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003755/0.1514, allocations: 220.1 kB / 0.492 GB, free: 12.34 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01099/0.1624, allocations: 8.678 MB / 0.5005 GB, free: 3.23 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.564e-05/0.1625, allocations: 23.72 kB / 0.5005 GB, free: 3.207 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002853/0.1628, allocations: 103.8 kB / 0.5006 GB, free: 3.105 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003167/0.1659, allocations: 2.091 MB / 0.5027 GB, free: 1.012 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2293/0.3952, allocations: 7.495 MB / 0.51 GB, free: 38.22 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04276/0.438, allocations: 26.96 MB / 0.5363 GB, free: 19.63 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004307/0.4424, allocations: 2.179 MB / 0.5384 GB, free: 18.24 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00155/0.4439, allocations: 0.949 MB / 0.5394 GB, free: 17.78 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008147/0.4521, allocations: 5.567 MB / 0.5448 GB, free: 12.61 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.128e-05/0.4522, allocations: 43.56 kB / 0.5448 GB, free: 12.55 MB / 382.1 MB Notification: Performance of pre-optimization done (n=119): time 4.568e-06/0.4522, allocations: 0 / 0.5448 GB, free: 12.55 MB / 382.1 MB Notification: Performance of matching and sorting (n=135): time 0.01208/0.4643, allocations: 6.964 MB / 0.5516 GB, free: 5.418 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.047e-05/0.4643, allocations: 64.41 kB / 0.5517 GB, free: 5.344 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003863/0.4682, allocations: 2.924 MB / 0.5546 GB, free: 2.402 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001019/0.4683, allocations: 41.7 kB / 0.5546 GB, free: 2.355 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00101/0.4693, allocations: 2.357 MB / 0.5569 GB, free: 15.99 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004934/0.4698, allocations: 0.5116 MB / 0.5574 GB, free: 15.49 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001221/0.471, allocations: 0.8518 MB / 0.5582 GB, free: 14.62 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 9.771e-05/0.4712, allocations: 301.1 kB / 0.5585 GB, free: 14.33 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002295/0.4735, allocations: 1.351 MB / 0.5598 GB, free: 12.97 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003858/0.4773, allocations: 3.802 MB / 0.5636 GB, free: 7.941 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006378/0.4837, allocations: 5.495 MB / 0.5689 GB, free: 1.246 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.944e-05/0.4838, allocations: 26.06 kB / 0.5689 GB, free: 1.223 MB / 398.1 MB Notification: Performance of matching and sorting (n=552) (initialization): time 0.009354/0.4932, allocations: 5.624 MB / 0.5744 GB, free: 11.52 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.208e-05/0.4933, allocations: 41.41 kB / 0.5745 GB, free: 11.48 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001331/0.4934, allocations: 88 kB / 0.5746 GB, free: 11.39 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007455/0.4942, allocations: 371.2 kB / 0.5749 GB, free: 11.02 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002786/0.497, allocations: 0.9201 MB / 0.5758 GB, free: 10.09 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007994/0.505, allocations: 9.11 MB / 0.5847 GB, free: 316 kB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003431/0.5084, allocations: 223.9 kB / 0.5849 GB, free: 92 kB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006938/0.5091, allocations: 256 kB / 0.5852 GB, free: 15.84 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 392 * Number of states: 0 () * Number of discrete variables: 30 (prismatic.boxColor[3],prismatic.boxColor[2],prismatic.boxColor[1],damper.color_b[3],damper.color_b[2],damper.color_b[1],damper.color_a[3],damper.color_a[2],damper.color_a[1],damper.colorConnector_b[3],damper.colorConnector_b[2],damper.colorConnector_b[1],damper.colorConnector_a[3],damper.colorConnector_a[2],damper.colorConnector_a[1],spring1.color[3],spring1.color[2],spring1.color[1],spring1.colorConnector_b[3],spring1.colorConnector_b[2],spring1.colorConnector_b[1],spring1.colorConnector_a[3],spring1.colorConnector_a[2],spring1.colorConnector_a[1],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (505): * Single equations (assignments): 495 * Array equations: 5 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 5 systems {(3,10,66.7%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003605/0.5128, allocations: 1.697 MB / 0.5868 GB, free: 14.14 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004934/0.5133, allocations: 240.8 kB / 0.5871 GB, free: 13.9 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003964/0.5172, allocations: 2.246 MB / 0.5892 GB, free: 11.55 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.376e-05/0.5173, allocations: 11.92 kB / 0.5893 GB, free: 11.54 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.108e-06/0.5173, allocations: 0 / 0.5893 GB, free: 11.54 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00067/0.518, allocations: 313.9 kB / 0.5896 GB, free: 11.21 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004892/0.5185, allocations: 19.94 kB / 0.5896 GB, free: 11.19 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001029/0.5195, allocations: 59.92 kB / 0.5896 GB, free: 11.13 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001613/0.5197, allocations: 87 kB / 0.5897 GB, free: 11.05 MB / 430.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003475/0.5232, allocations: 1.816 MB / 0.5915 GB, free: 9.238 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.00413/0.5273, allocations: 2.681 MB / 0.5941 GB, free: 6.535 MB / 430.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0009994/0.5283, allocations: 0.6835 MB / 0.5948 GB, free: 5.852 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.003817/0.5321, allocations: 1.866 MB / 0.5966 GB, free: 3.977 MB / 430.1 MB Notification: Performance of Backend: time 7.82e-07/0.5321, allocations: 0 / 0.5966 GB, free: 3.977 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.007253/0.5394, allocations: 3.262 MB / 0.5998 GB, free: 0.6914 MB / 430.1 MB Notification: Performance of SimCode: time 0.01306/0.5525, allocations: 7.263 MB / 0.6069 GB, free: 9.402 MB / 446.1 MB Notification: Performance of Templates: time 0.06324/0.6158, allocations: 33.9 MB / 0.64 GB, free: 7.633 MB / 478.1 MB make -j1 -f PlanarMechanics_PlanarMechanics.Examples.SpringDemo.makefile (rm -f PlanarMechanics_PlanarMechanics.Examples.SpringDemo.pipe ; mkfifo PlanarMechanics_PlanarMechanics.Examples.SpringDemo.pipe ; head -c 1048576 < PlanarMechanics_PlanarMechanics.Examples.SpringDemo.pipe >> ../files/PlanarMechanics_PlanarMechanics.Examples.SpringDemo.sim & ./PlanarMechanics_PlanarMechanics.Examples.SpringDemo -abortSlowSimulation -alarm=480 -lv LOG_STATS > PlanarMechanics_PlanarMechanics.Examples.SpringDemo.pipe 2>&1)