Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Rotational.InitializationConversion.Inertia.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.1+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+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.InitializationConversion.Inertia,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Rotational.InitializationConversion.Inertia") translateModel(ModelicaTest.Rotational.InitializationConversion.Inertia,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Rotational.InitializationConversion.Inertia") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008901/0.008901, allocations: 101.7 kB / 15.73 MB, free: 5.59 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.001631/0.001631, allocations: 191.7 kB / 16.67 MB, free: 5.523 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.521/1.521, allocations: 205.1 MB / 222.5 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.1925/0.1925, allocations: 38.01 MB / 307.9 MB, free: 5.988 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.1. 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: 71.91 kB / 433 MB, free: 14.43 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1263/0.1278, allocations: 56.47 MB / 489.5 MB, free: 5.887 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.InitializationConversion.Inertia): time 0.004385/0.1322, allocations: 3.058 MB / 492.5 MB, free: 2.812 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009711/0.1333, allocations: 410.5 kB / 492.9 MB, free: 2.41 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000182/0.1335, allocations: 11.94 kB / 492.9 MB, free: 2.398 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001658/0.1337, allocations: 63.31 kB / 493 MB, free: 2.336 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003637/0.1341, allocations: 166.5 kB / 493.1 MB, free: 2.172 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003116/0.1344, allocations: 103.9 kB / 493.3 MB, free: 2.07 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005054/0.1349, allocations: 0.5403 MB / 493.8 MB, free: 1.527 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002974/0.1352, allocations: 164.8 kB / 494 MB, free: 1.363 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002333/0.1354, allocations: 207.3 kB / 494.2 MB, free: 1.16 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002465/0.1357, allocations: 219 kB / 494.4 MB, free: 0.9453 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 6.129e-05/0.1358, allocations: 40 kB / 494.4 MB, free: 0.9062 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.51e-05/0.1358, allocations: 40 kB / 494.4 MB, free: 0.8672 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 7.799e-05/0.1359, allocations: 91.69 kB / 494.5 MB, free: 0.7773 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002399/0.1362, allocations: 254.9 kB / 494.8 MB, free: 0.5273 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005192/0.1367, allocations: 0.5254 MB / 495.3 MB, free: 0 / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.42e-06/0.1367, allocations: 0 / 495.3 MB, free: 0 / 366.1 MB Notification: Performance of FrontEnd: time 1.953e-06/0.1367, allocations: 0 / 495.3 MB, free: 0 / 366.1 MB Notification: Performance of Transformations before backend: time 2.383e-05/0.1367, allocations: 0 / 495.3 MB, free: 0 / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 118 * Number of variables: 118 Notification: Performance of Generate backend data structure: time 0.001065/0.1378, allocations: 0.7136 MB / 496 MB, free: 15.23 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.518e-05/0.1379, allocations: 11.89 kB / 496 MB, free: 15.21 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.983e-05/0.138, allocations: 60.2 kB / 496.1 MB, free: 15.16 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004314/0.1384, allocations: 295.4 kB / 496.4 MB, free: 14.83 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.784e-05/0.1385, allocations: 33.38 kB / 496.4 MB, free: 14.8 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.632e-05/0.1386, allocations: 56.28 kB / 496.5 MB, free: 14.75 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006332/0.1392, allocations: 458.7 kB / 496.9 MB, free: 14.26 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.243e-05/0.1392, allocations: 16.06 kB / 496.9 MB, free: 14.25 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.1e-05/0.1393, allocations: 23.94 kB / 497 MB, free: 14.22 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.476e-05/0.1393, allocations: 12 kB / 497 MB, free: 14.21 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003978/0.1397, allocations: 259.3 kB / 497.2 MB, free: 13.96 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002332/0.1421, allocations: 1.683 MB / 498.9 MB, free: 12.2 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005298/0.1426, allocations: 423.6 kB / 499.3 MB, free: 11.7 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001876/0.1428, allocations: 167.6 kB / 499.5 MB, free: 11.51 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.001e-05/0.1428, allocations: 4 kB / 499.5 MB, free: 11.5 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.717e-05/0.1429, allocations: 46.5 kB / 499.5 MB, free: 11.45 MB / 382.1 MB Notification: Performance of pre-optimization done (n=42): time 2.685e-06/0.1429, allocations: 4 kB / 499.5 MB, free: 11.45 MB / 382.1 MB Notification: Performance of matching and sorting (n=42): time 0.0007086/0.1436, allocations: 349.4 kB / 499.9 MB, free: 11.1 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001267/0.1437, allocations: 272.9 kB / 0.4884 GB, free: 10.77 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002512/0.144, allocations: 258.7 kB / 0.4887 GB, free: 10.5 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.088e-05/0.144, allocations: 29.7 kB / 0.4887 GB, free: 10.47 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001463/0.1442, allocations: 240.2 kB / 0.4889 GB, free: 10.23 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001301/0.1443, allocations: 189.4 kB / 0.4891 GB, free: 10.04 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001292/0.1445, allocations: 106.7 kB / 0.4892 GB, free: 9.93 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001534/0.1446, allocations: 346.8 kB / 0.4895 GB, free: 9.582 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000186/0.1448, allocations: 121.9 kB / 0.4897 GB, free: 9.461 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004356/0.1453, allocations: 417.6 kB / 0.4901 GB, free: 8.914 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006624/0.1459, allocations: 0.5732 MB / 0.4906 GB, free: 8.203 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.104e-06/0.1459, allocations: 4.5 kB / 0.4906 GB, free: 8.199 MB / 382.1 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.0007954/0.1467, allocations: 0.5677 MB / 0.4912 GB, free: 7.625 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.009e-05/0.1468, allocations: 8 kB / 0.4912 GB, free: 7.617 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.22e-05/0.1468, allocations: 8 kB / 0.4912 GB, free: 7.609 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.504e-05/0.1468, allocations: 20.06 kB / 0.4912 GB, free: 7.59 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005362/0.1474, allocations: 179.7 kB / 0.4914 GB, free: 7.414 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.22e-05/0.1474, allocations: 27.86 kB / 0.4914 GB, free: 7.387 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002658/0.1477, allocations: 67.28 kB / 0.4915 GB, free: 7.32 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.56e-05/0.1477, allocations: 32 kB / 0.4915 GB, free: 7.289 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * 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 (86): * Single equations (assignments): 86 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001703/0.1479, allocations: 193.4 kB / 0.4917 GB, free: 7.09 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001856/0.1481, allocations: 35.62 kB / 0.4917 GB, free: 7.055 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.02e-05/0.1482, allocations: 45.7 kB / 0.4918 GB, free: 7.012 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.378e-06/0.1482, allocations: 11.92 kB / 0.4918 GB, free: 7 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.092e-05/0.1482, allocations: 4 kB / 0.4918 GB, free: 6.996 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.735e-06/0.1482, allocations: 4 kB / 0.4918 GB, free: 6.992 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001017/0.1492, allocations: 417.1 kB / 0.4922 GB, free: 6.535 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.849e-06/0.1493, allocations: 4 kB / 0.4922 GB, free: 6.531 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000536/0.1498, allocations: 123.9 kB / 0.4923 GB, free: 6.41 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.671e-06/0.1498, allocations: 4 kB / 0.4923 GB, free: 6.406 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.338e-05/0.1499, allocations: 12 kB / 0.4923 GB, free: 6.395 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.961e-06/0.1499, allocations: 7.938 kB / 0.4923 GB, free: 6.387 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.508e-06/0.1499, allocations: 7.984 kB / 0.4923 GB, free: 6.379 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008473/0.1507, allocations: 1.082 MB / 0.4934 GB, free: 5.273 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.688e-05/0.1508, allocations: 112.6 kB / 0.4935 GB, free: 5.145 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.331e-05/0.1509, allocations: 12 kB / 0.4935 GB, free: 5.133 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003729/0.1513, allocations: 11.94 kB / 0.4935 GB, free: 5.121 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.898e-05/0.1513, allocations: 31.89 kB / 0.4935 GB, free: 5.09 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.727e-05/0.1513, allocations: 16 kB / 0.4936 GB, free: 5.074 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001393/0.1515, allocations: 170 kB / 0.4937 GB, free: 4.902 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1515, allocations: 4 kB / 0.4937 GB, free: 4.898 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0007698/0.1523, allocations: 135.7 kB / 0.4939 GB, free: 4.766 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 24 (inertia1.phi,inertia1.w,inertia3.phi,inertia3.w,inertia4.phi,inertia4.w,inertia5.phi,inertia5.w,inertia2.phi,inertia2.w,inertia7.phi,inertia7.w,inertia7a.phi,inertia7a.w,inertia6.phi,inertia6.w,inertia8.phi,inertia8.w,inertia8a.phi,inertia8a.w,inertia9.phi,inertia9.w,inertia9a.phi,inertia9a.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 (42): * Single equations (assignments): 42 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001888/0.1525, allocations: 107.2 kB / 0.494 GB, free: 4.648 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0005448/0.153, allocations: 353.1 kB / 0.4943 GB, free: 4.305 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.153, allocations: 0 / 0.4943 GB, free: 4.305 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001658/0.1532, allocations: 129.8 kB / 0.4944 GB, free: 4.18 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001157/0.1544, allocations: 112.3 kB / 0.4945 GB, free: 4.074 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002669/0.157, allocations: 1.95 MB / 0.4964 GB, free: 2.074 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004885/0.1575, allocations: 0.8275 MB / 0.4972 GB, free: 1.219 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001554/0.1577, allocations: 52.14 kB / 0.4973 GB, free: 1.164 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.111e-05/0.1578, allocations: 31.44 kB / 0.4973 GB, free: 1.133 MB / 382.1 MB Notification: Performance of SimCode: time 4.11e-07/0.1578, allocations: 0 / 0.4973 GB, free: 1.133 MB / 382.1 MB Notification: Performance of Templates: time 0.008456/0.1662, allocations: 4.185 MB / 0.5014 GB, free: 12.96 MB / 398.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Rotational.InitializationConversion.Inertia.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Rotational.InitializationConversion.Inertia.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Rotational.InitializationConversion.Inertia.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Rotational.InitializationConversion.Inertia.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Rotational.InitializationConversion.Inertia.sim & ./ModelicaTest_3.2.1_ModelicaTest.Rotational.InitializationConversion.Inertia -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Rotational.InitializationConversion.Inertia.pipe 2>&1)