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.001451/0.001451, allocations: 110.7 kB / 16.42 MB, free: 6.512 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.001711/0.001711, allocations: 189.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.286/1.286, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PlanarMechanics 1.6.0/package.mo): time 0.04472/0.04472, allocations: 9.127 MB / 300.3 MB, free: 5.828 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001135/0.001135, allocations: 63.89 kB / 415.3 MB, free: 21.12 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07649/0.07764, allocations: 51.44 MB / 466.8 MB, free: 1.668 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.Examples.SpringDemo): time 0.009346/0.08702, allocations: 9.534 MB / 476.3 MB, free: 8.086 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004558/0.0916, allocations: 2.748 MB / 479 MB, free: 5.328 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009965/0.09261, allocations: 39.94 kB / 479.1 MB, free: 5.289 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000994/0.09361, allocations: 393.3 kB / 479.5 MB, free: 4.902 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003093/0.09675, allocations: 1.47 MB / 480.9 MB, free: 3.426 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004934/0.09725, allocations: 167.7 kB / 481.1 MB, free: 3.262 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002943/0.1002, allocations: 2.721 MB / 483.8 MB, free: 0.5352 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001292/0.1015, allocations: 0.9602 MB / 484.8 MB, free: 15.54 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001245/0.1028, allocations: 0.9726 MB / 485.7 MB, free: 14.57 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001442/0.1042, allocations: 1.401 MB / 487.1 MB, free: 13.16 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003477/0.1046, allocations: 248 kB / 487.4 MB, free: 12.92 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00124/0.1058, allocations: 0.8348 MB / 488.2 MB, free: 12.08 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009852/0.1068, allocations: 1.34 MB / 489.6 MB, free: 10.74 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001277/0.1081, allocations: 1.712 MB / 491.3 MB, free: 9.016 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004443/0.1126, allocations: 5.372 MB / 496.6 MB, free: 3.625 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.1126, allocations: 0 / 496.6 MB, free: 3.625 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.323e-06/0.1126, allocations: 0 / 496.6 MB, free: 3.625 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.914e-05/0.1127, allocations: 0 / 496.6 MB, free: 3.625 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.005641/0.1183, allocations: 3.598 MB / 0.4885 GB, free: 15.96 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.202e-05/0.1184, allocations: 11.97 kB / 0.4885 GB, free: 15.95 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006681/0.1251, allocations: 1.837 MB / 0.4903 GB, free: 14.11 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002642/0.1277, allocations: 1.421 MB / 0.4917 GB, free: 12.64 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001309/0.1279, allocations: 168.3 kB / 0.4919 GB, free: 12.47 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003606/0.1282, allocations: 212.2 kB / 0.4921 GB, free: 12.26 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01048/0.1387, allocations: 8.682 MB / 0.5006 GB, free: 3.148 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.608e-05/0.1388, allocations: 23.72 kB / 0.5006 GB, free: 3.125 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002792/0.1391, allocations: 99.84 kB / 0.5007 GB, free: 3.027 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003095/0.1422, allocations: 2.091 MB / 0.5027 GB, free: 0.9336 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1896/0.3317, allocations: 7.498 MB / 0.51 GB, free: 38.19 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02973/0.3615, allocations: 26.96 MB / 0.5364 GB, free: 19.61 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003658/0.3652, allocations: 2.173 MB / 0.5385 GB, free: 18.22 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001257/0.3665, allocations: 0.9516 MB / 0.5394 GB, free: 17.76 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00715/0.3736, allocations: 5.57 MB / 0.5449 GB, free: 12.5 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.544e-05/0.3737, allocations: 43.5 kB / 0.5449 GB, free: 12.45 MB / 382.1 MB Notification: Performance of pre-optimization done (n=119): time 2.886e-06/0.3737, allocations: 0 / 0.5449 GB, free: 12.45 MB / 382.1 MB Notification: Performance of matching and sorting (n=135): time 0.0106/0.3843, allocations: 6.97 MB / 0.5517 GB, free: 5.309 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.958e-05/0.3843, allocations: 64.39 kB / 0.5518 GB, free: 5.234 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002715/0.387, allocations: 2.92 MB / 0.5546 GB, free: 2.297 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 6.192e-05/0.3871, allocations: 41.7 kB / 0.5547 GB, free: 2.25 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009103/0.388, allocations: 2.362 MB / 0.557 GB, free: 15.89 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003599/0.3884, allocations: 0.5078 MB / 0.5575 GB, free: 15.38 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009671/0.3894, allocations: 0.8607 MB / 0.5583 GB, free: 14.51 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 8.976e-05/0.3895, allocations: 301.1 kB / 0.5586 GB, free: 14.21 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00203/0.3915, allocations: 1.347 MB / 0.5599 GB, free: 12.86 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003633/0.3951, allocations: 3.795 MB / 0.5636 GB, free: 7.84 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005833/0.401, allocations: 5.491 MB / 0.569 GB, free: 1.148 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.145e-05/0.4011, allocations: 28 kB / 0.569 GB, free: 1.121 MB / 398.1 MB Notification: Performance of matching and sorting (n=552) (initialization): time 0.009405/0.4105, allocations: 5.633 MB / 0.5745 GB, free: 11.41 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.006e-05/0.4106, allocations: 44 kB / 0.5745 GB, free: 11.36 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00011/0.4107, allocations: 84 kB / 0.5746 GB, free: 11.28 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007782/0.4115, allocations: 376.5 kB / 0.575 GB, free: 10.91 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002642/0.4141, allocations: 0.9202 MB / 0.5759 GB, free: 9.984 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006991/0.4211, allocations: 9.107 MB / 0.5848 GB, free: 208 kB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0029/0.424, allocations: 219.9 kB / 0.585 GB, free: 15.98 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004208/0.4245, allocations: 251.9 kB / 0.5852 GB, free: 15.74 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.002401/0.4269, allocations: 1.707 MB / 0.5869 GB, free: 14.03 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003873/0.4273, allocations: 240.8 kB / 0.5871 GB, free: 13.79 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003483/0.4308, allocations: 2.243 MB / 0.5893 GB, free: 11.44 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.251e-05/0.4308, allocations: 7.922 kB / 0.5893 GB, free: 11.43 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.737e-06/0.4308, allocations: 4 kB / 0.5893 GB, free: 11.43 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005564/0.4314, allocations: 314 kB / 0.5896 GB, free: 11.1 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003412/0.4317, allocations: 16 kB / 0.5896 GB, free: 11.09 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008647/0.4326, allocations: 61.69 kB / 0.5897 GB, free: 11.03 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001548/0.4328, allocations: 84.86 kB / 0.5898 GB, free: 10.95 MB / 430.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003144/0.4359, allocations: 1.815 MB / 0.5915 GB, free: 9.133 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003635/0.4395, allocations: 2.682 MB / 0.5942 GB, free: 6.43 MB / 430.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0009593/0.4405, allocations: 0.6796 MB / 0.5948 GB, free: 5.75 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.002681/0.4432, allocations: 1.866 MB / 0.5966 GB, free: 3.875 MB / 430.1 MB Notification: Performance of Backend: time 1.633e-06/0.4432, allocations: 0 / 0.5966 GB, free: 3.875 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.005376/0.4486, allocations: 3.26 MB / 0.5998 GB, free: 0.5898 MB / 430.1 MB Notification: Performance of SimCode: time 0.01141/0.46, allocations: 7.27 MB / 0.6069 GB, free: 9.297 MB / 446.1 MB Notification: Performance of Templates: time 0.05915/0.5192, allocations: 33.91 MB / 0.64 GB, free: 7.531 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)