Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.InitializationConversion.Rotor1D.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+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 ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.InitializationConversion.Rotor1D,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.InitializationConversion.Rotor1D") translateModel(ModelicaTest.MultiBody.InitializationConversion.Rotor1D,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.InitializationConversion.Rotor1D") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001065/0.001065, allocations: 187.3 kB / 7.654 MB, free: 1.402 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.364/1.364, allocations: 194.3 MB / 202.4 MB, free: 8.473 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001723/0.001723, allocations: 110.9 kB / 247.4 MB, free: 6.234 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.1881/0.1881, allocations: 39.94 MB / 332.2 MB, free: 4.773 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.538e-05/1.541e-05, allocations: 4 kB / 393.3 MB, free: 75.54 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08774/0.08777, allocations: 54.87 MB / 448.2 MB, free: 20.65 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3462/0.434, allocations: 87.02 MB / 0.5227 GB, free: 9.379 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002275/0.4343, allocations: 74.58 kB / 0.5227 GB, free: 9.367 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2283/0.6626, allocations: 88.3 MB / 0.609 GB, free: 12.68 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.014e-06/0.6627, allocations: 0 / 0.609 GB, free: 12.68 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.00045/0.6631, allocations: 96 kB / 0.6091 GB, free: 12.59 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1702 * Number of variables: 1702 Notification: Performance of Generate backend data structure: time 0.06616/0.7293, allocations: 9.647 MB / 0.6185 GB, free: 2.867 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.067e-05/0.7294, allocations: 8.031 kB / 0.6185 GB, free: 2.859 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01037/0.7398, allocations: 2.076 MB / 0.6205 GB, free: 0.7734 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00949/0.7493, allocations: 3.394 MB / 0.6238 GB, free: 13.32 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002841/0.7496, allocations: 148 kB / 0.624 GB, free: 13.17 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002783/0.7524, allocations: 283.7 kB / 0.6242 GB, free: 12.89 MB / 442.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01759/0.77, allocations: 9.673 MB / 0.6337 GB, free: 3.211 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02199/0.7921, allocations: 13.17 MB / 0.6466 GB, free: 5.043 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000167/0.7923, allocations: 55.47 kB / 0.6466 GB, free: 4.988 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000708/0.793, allocations: 31.94 kB / 0.6466 GB, free: 4.957 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002303/0.7953, allocations: 1.117 MB / 0.6477 GB, free: 3.84 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3411/1.136, allocations: 53.37 MB / 0.6998 GB, free: 79.63 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01105/1.147, allocations: 6.569 MB / 0.7063 GB, free: 78.96 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004652/1.152, allocations: 2.755 MB / 0.709 GB, free: 78.93 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009738/1.162, allocations: 6.425 MB / 0.7152 GB, free: 75.35 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.862e-05/1.162, allocations: 50.84 kB / 0.7153 GB, free: 75.31 MB / 474.7 MB Notification: Performance of pre-optimization done (n=176): time 4.769e-06/1.162, allocations: 3.375 kB / 0.7153 GB, free: 75.31 MB / 474.7 MB Notification: Performance of matching and sorting (n=176): time 0.0046/1.167, allocations: 2.598 MB / 0.7178 GB, free: 75.03 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.239e-05/1.167, allocations: 147.8 kB / 0.718 GB, free: 74.87 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009001/1.176, allocations: 3.72 MB / 0.7216 GB, free: 74.48 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003063/1.176, allocations: 25.7 kB / 0.7216 GB, free: 74.45 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00297/1.179, allocations: 3.623 MB / 0.7251 GB, free: 72.75 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001141/1.18, allocations: 0.7056 MB / 0.7258 GB, free: 72.35 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00082/1.181, allocations: 7.812 kB / 0.7258 GB, free: 72.35 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0007155/1.182, allocations: 0.5906 MB / 0.7264 GB, free: 72.04 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003574/1.185, allocations: 2.067 MB / 0.7284 GB, free: 72.02 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006319/1.192, allocations: 6.418 MB / 0.7347 GB, free: 66.34 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005252/1.197, allocations: 3.621 MB / 0.7382 GB, free: 65.39 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.366e-05/1.197, allocations: 46.62 kB / 0.7383 GB, free: 65.39 MB / 474.7 MB Notification: Performance of matching and sorting (n=894) (initialization): time 0.01202/1.209, allocations: 7.576 MB / 0.7457 GB, free: 63.03 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.242e-05/1.209, allocations: 72.59 kB / 0.7458 GB, free: 63.03 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001526/1.209, allocations: 156.6 kB / 0.7459 GB, free: 63.03 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002273/1.21, allocations: 231.2 kB / 0.7461 GB, free: 63.03 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00516/1.215, allocations: 1.653 MB / 0.7477 GB, free: 62.83 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002781/1.215, allocations: 314.3 kB / 0.748 GB, free: 62.76 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005545/1.221, allocations: 0.7718 MB / 0.7488 GB, free: 62.29 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006562/1.221, allocations: 452.4 kB / 0.7492 GB, free: 62.24 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 716 * Number of states: 0 () * Number of discrete variables: 39 (rotor1D10.cylinderColor[3],rotor1D10.cylinderColor[2],rotor1D10.cylinderColor[1],rotor1D9.cylinderColor[3],rotor1D9.cylinderColor[2],rotor1D9.cylinderColor[1],rotor1D8.cylinderColor[3],rotor1D8.cylinderColor[2],rotor1D8.cylinderColor[1],rotor1D7.cylinderColor[3],rotor1D7.cylinderColor[2],rotor1D7.cylinderColor[1],rotor1D6.cylinderColor[3],rotor1D6.cylinderColor[2],rotor1D6.cylinderColor[1],rotor1D5.cylinderColor[3],rotor1D5.cylinderColor[2],rotor1D5.cylinderColor[1],rotor1D4.cylinderColor[3],rotor1D4.cylinderColor[2],rotor1D4.cylinderColor[1],rotor1D3.cylinderColor[3],rotor1D3.cylinderColor[2],rotor1D3.cylinderColor[1],rotor1D2.cylinderColor[3],rotor1D2.cylinderColor[2],rotor1D2.cylinderColor[1],rotor1D1.cylinderColor[3],rotor1D1.cylinderColor[2],rotor1D1.cylinderColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (870): * Single equations (assignments): 867 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0007761/1.222, allocations: 496 kB / 0.7497 GB, free: 61.84 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000528/1.223, allocations: 370.2 kB / 0.7501 GB, free: 61.63 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003352/1.226, allocations: 2.39 MB / 0.7524 GB, free: 60.74 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.046e-05/1.226, allocations: 23.88 kB / 0.7524 GB, free: 60.74 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.008e-05/1.226, allocations: 0 / 0.7524 GB, free: 60.74 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.687e-05/1.226, allocations: 14.59 kB / 0.7524 GB, free: 60.74 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005983/1.232, allocations: 3.188 MB / 0.7555 GB, free: 59.57 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-05/1.232, allocations: 3.438 kB / 0.7555 GB, free: 59.57 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002/1.234, allocations: 344.7 kB / 0.7559 GB, free: 59.54 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.265e-05/1.234, allocations: 7.25 kB / 0.7559 GB, free: 59.54 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001646/1.234, allocations: 19.38 kB / 0.7559 GB, free: 59.54 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.234e-05/1.234, allocations: 7.875 kB / 0.7559 GB, free: 59.54 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.599e-06/1.234, allocations: 0 / 0.7559 GB, free: 59.54 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008475/1.243, allocations: 4.705 MB / 0.7605 GB, free: 57.42 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001678/1.245, allocations: 463.8 kB / 0.7609 GB, free: 57.07 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006528/1.245, allocations: 0 / 0.7609 GB, free: 57.07 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002347/1.248, allocations: 40.84 kB / 0.761 GB, free: 57.07 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002595/1.248, allocations: 95.75 kB / 0.7611 GB, free: 57.05 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001925/1.248, allocations: 48.62 kB / 0.7611 GB, free: 57.04 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.005865/1.254, allocations: 2.489 MB / 0.7635 GB, free: 56.09 MB / 474.7 MB Notification: Performance of sort global known variables: time 4.11e-07/1.254, allocations: 3.938 kB / 0.7635 GB, free: 56.08 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.01079/1.265, allocations: 1.219 MB / 0.7647 GB, free: 55.84 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 20 (rotor1D1.phi,rotor1D1.w,rotor1D2.phi,rotor1D2.w,rotor1D3.phi,rotor1D3.w,rotor1D4.phi,rotor1D4.w,rotor1D5.phi,rotor1D5.w,rotor1D6.phi,rotor1D6.w,rotor1D7.phi,rotor1D7.w,rotor1D8.phi,rotor1D8.w,rotor1D9.phi,rotor1D9.w,rotor1D10.phi,rotor1D10.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (172): * Single equations (assignments): 169 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008339/1.266, allocations: 150.6 kB / 0.7649 GB, free: 55.72 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0123/1.278, allocations: 4.65 MB / 0.7694 GB, free: 54.15 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.045e-05/1.278, allocations: 2.375 kB / 0.7694 GB, free: 54.15 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002328/1.281, allocations: 1.227 MB / 0.7706 GB, free: 53.17 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003441/1.284, allocations: 388.5 kB / 0.771 GB, free: 52.84 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02244/1.307, allocations: 8.646 MB / 0.7794 GB, free: 45.18 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00492/1.311, allocations: 3.663 MB / 0.783 GB, free: 42.42 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.009527/1.321, allocations: 2.078 MB / 0.785 GB, free: 41.11 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001784/1.323, allocations: 295.1 kB / 0.7853 GB, free: 40.84 MB / 474.7 MB Notification: Performance of SimCode: time 1.683e-06/1.323, allocations: 0 / 0.7853 GB, free: 40.84 MB / 474.7 MB Notification: Performance of Templates: time 0.1042/1.427, allocations: 33.84 MB / 0.8184 GB, free: 14.3 MB / 474.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.InitializationConversion.Rotor1D.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.InitializationConversion.Rotor1D.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.MultiBody.InitializationConversion.Rotor1D.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.MultiBody.InitializationConversion.Rotor1D.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.MultiBody.InitializationConversion.Rotor1D.sim & ./ModelicaTest_3.2.2_ModelicaTest.MultiBody.InitializationConversion.Rotor1D -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.MultiBody.InitializationConversion.Rotor1D.pipe 2>&1)