Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_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.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 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.2_ModelicaTest.Rotational.InitializationConversion.Inertia") translateModel(ModelicaTest.Rotational.InitializationConversion.Inertia,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_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.001126/0.001126, allocations: 90.75 kB / 15.06 MB, free: 1.098 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.001254/0.001254, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.736/1.736, allocations: 205.4 MB / 222.1 MB, free: 5.469 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.3984/0.3984, allocations: 40 MB / 310.4 MB, free: 9.715 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.2. 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.0005828/0.0005829, allocations: 12 kB / 378.8 MB, free: 12.33 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1385/0.1391, allocations: 57.96 MB / 436.8 MB, free: 2.27 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.InitializationConversion.Inertia): time 0.003176/0.1423, allocations: 2.597 MB / 439.4 MB, free: 15.66 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006825/0.143, allocations: 414.5 kB / 439.8 MB, free: 15.25 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000121/0.1432, allocations: 11.94 kB / 439.8 MB, free: 15.24 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 8.788e-05/0.1433, allocations: 51.61 kB / 439.9 MB, free: 15.19 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002647/0.1435, allocations: 130.8 kB / 440 MB, free: 15.06 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001891/0.1437, allocations: 79.92 kB / 440.1 MB, free: 14.98 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004232/0.1442, allocations: 0.513 MB / 440.6 MB, free: 14.47 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000235/0.1444, allocations: 128.9 kB / 440.7 MB, free: 14.33 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001764/0.1446, allocations: 163.4 kB / 440.9 MB, free: 14.17 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002214/0.1448, allocations: 199.1 kB / 441.1 MB, free: 13.98 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.995e-05/0.1449, allocations: 28 kB / 441.1 MB, free: 13.95 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.566e-05/0.1449, allocations: 24 kB / 441.1 MB, free: 13.93 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.741e-05/0.145, allocations: 75.67 kB / 441.2 MB, free: 13.85 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 9.568e-05/0.1451, allocations: 117.5 kB / 441.3 MB, free: 13.73 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003384/0.1454, allocations: 383.2 kB / 441.7 MB, free: 13.36 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.169e-06/0.1455, allocations: 0 / 441.7 MB, free: 13.36 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.1455, allocations: 0 / 441.7 MB, free: 13.36 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.644e-06/0.1455, allocations: 0 / 441.7 MB, free: 13.36 MB / 382.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.0008716/0.1464, allocations: 0.6509 MB / 442.3 MB, free: 12.66 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.377e-05/0.1464, allocations: 12.03 kB / 442.3 MB, free: 12.64 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.698e-05/0.1465, allocations: 51.34 kB / 442.4 MB, free: 12.59 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003246/0.1468, allocations: 286.2 kB / 442.7 MB, free: 12.27 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.946e-05/0.1469, allocations: 33 kB / 442.7 MB, free: 12.24 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.101e-05/0.147, allocations: 55.91 kB / 442.7 MB, free: 12.19 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006531/0.1476, allocations: 454.1 kB / 443.2 MB, free: 11.71 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.78e-05/0.1477, allocations: 7.906 kB / 443.2 MB, free: 11.7 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.749e-05/0.1477, allocations: 24 kB / 443.2 MB, free: 11.68 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.588e-05/0.1477, allocations: 12 kB / 443.2 MB, free: 11.66 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003957/0.1481, allocations: 263.4 kB / 443.5 MB, free: 11.41 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002161/0.1503, allocations: 1.707 MB / 445.2 MB, free: 9.621 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005674/0.1509, allocations: 411.4 kB / 445.6 MB, free: 9.137 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002008/0.1511, allocations: 160.2 kB / 445.8 MB, free: 8.953 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.36e-05/0.1511, allocations: 11.97 kB / 445.8 MB, free: 8.941 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.106e-05/0.1512, allocations: 54.5 kB / 445.8 MB, free: 8.879 MB / 382.1 MB Notification: Performance of pre-optimization done (n=42): time 2.374e-06/0.1512, allocations: 0 / 445.8 MB, free: 8.879 MB / 382.1 MB Notification: Performance of matching and sorting (n=42): time 0.0007272/0.1519, allocations: 344.9 kB / 446.2 MB, free: 8.535 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001863/0.1521, allocations: 277.4 kB / 446.4 MB, free: 8.203 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002705/0.1524, allocations: 246.6 kB / 446.7 MB, free: 7.953 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.687e-05/0.1524, allocations: 29.7 kB / 446.7 MB, free: 7.918 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001842/0.1526, allocations: 243.6 kB / 446.9 MB, free: 7.676 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001427/0.1528, allocations: 177.5 kB / 447.1 MB, free: 7.5 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.088e-05/0.1528, allocations: 16 kB / 447.1 MB, free: 7.484 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001865/0.153, allocations: 350.8 kB / 447.5 MB, free: 7.133 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002005/0.1532, allocations: 117.9 kB / 447.6 MB, free: 7.016 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004219/0.1536, allocations: 417.6 kB / 448 MB, free: 6.469 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002915/0.1539, allocations: 183.8 kB / 448.2 MB, free: 6.289 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.068e-06/0.1539, allocations: 0 / 448.2 MB, free: 6.289 MB / 382.1 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.0008327/0.1548, allocations: 0.5569 MB / 448.7 MB, free: 5.727 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.977e-05/0.1548, allocations: 16.23 kB / 448.7 MB, free: 5.711 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.54e-05/0.1548, allocations: 12.7 kB / 448.8 MB, free: 5.699 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.076e-05/0.1549, allocations: 16 kB / 448.8 MB, free: 5.684 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000492/0.1554, allocations: 175.7 kB / 448.9 MB, free: 5.512 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.135e-05/0.1554, allocations: 27.84 kB / 449 MB, free: 5.484 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002447/0.1557, allocations: 71.22 kB / 449 MB, free: 5.414 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.6e-05/0.1557, allocations: 36 kB / 449.1 MB, free: 5.379 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000177/0.1559, allocations: 189.5 kB / 449.3 MB, free: 5.184 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001764/0.1561, allocations: 47.61 kB / 449.3 MB, free: 5.137 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.652e-05/0.1562, allocations: 41.7 kB / 449.3 MB, free: 5.094 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.422e-06/0.1562, allocations: 4 kB / 449.3 MB, free: 5.09 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.127e-05/0.1562, allocations: 4 kB / 449.4 MB, free: 5.086 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.72e-06/0.1562, allocations: 0 / 449.4 MB, free: 5.086 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009118/0.1571, allocations: 421.1 kB / 449.8 MB, free: 4.625 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.07e-06/0.1572, allocations: 4 kB / 449.8 MB, free: 4.621 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005267/0.1577, allocations: 119.9 kB / 449.9 MB, free: 4.504 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.682e-06/0.1577, allocations: 4 kB / 449.9 MB, free: 4.5 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.346e-05/0.1577, allocations: 16 kB / 449.9 MB, free: 4.484 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.793e-06/0.1578, allocations: 11.98 kB / 449.9 MB, free: 4.473 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.54e-06/0.1578, allocations: 7.938 kB / 449.9 MB, free: 4.465 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009154/0.1587, allocations: 1.071 MB / 451 MB, free: 3.367 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.365e-05/0.1588, allocations: 120.6 kB / 451.1 MB, free: 3.23 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.678e-05/0.1588, allocations: 8 kB / 451.1 MB, free: 3.223 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003809/0.1592, allocations: 12 kB / 451.1 MB, free: 3.211 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.836e-05/0.1593, allocations: 31.89 kB / 451.2 MB, free: 3.18 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.804e-05/0.1593, allocations: 12 kB / 451.2 MB, free: 3.168 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001306/0.1595, allocations: 170 kB / 451.3 MB, free: 3 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1595, allocations: 4 kB / 451.3 MB, free: 2.996 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0007708/0.1602, allocations: 131.8 kB / 451.5 MB, free: 2.867 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 (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.0001387/0.1604, allocations: 111.1 kB / 451.6 MB, free: 2.75 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0004875/0.1609, allocations: 349.5 kB / 451.9 MB, free: 2.41 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.1609, allocations: 0 / 451.9 MB, free: 2.41 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001552/0.161, allocations: 123.8 kB / 452 MB, free: 2.289 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001125/0.1622, allocations: 96.69 kB / 452.1 MB, free: 2.195 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.206/0.3681, allocations: 2.428 MB / 454.6 MB, free: 47.5 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008881/0.3691, allocations: 0.8287 MB / 455.4 MB, free: 46.81 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003252/0.3694, allocations: 48.05 kB / 455.4 MB, free: 46.8 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.098e-05/0.3695, allocations: 33.34 kB / 455.5 MB, free: 46.8 MB / 382.1 MB Notification: Performance of SimCode: time 1.413e-06/0.3696, allocations: 0 / 455.5 MB, free: 46.8 MB / 382.1 MB Notification: Performance of Templates: time 0.007181/0.3767, allocations: 3.725 MB / 459.2 MB, free: 46.68 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Rotational.InitializationConversion.Inertia.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.2_ModelicaTest.Rotational.InitializationConversion.Inertia.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Rotational.InitializationConversion.Inertia.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Rotational.InitializationConversion.Inertia.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Rotational.InitializationConversion.Inertia.sim & ./ModelicaTest_3.2.2_ModelicaTest.Rotational.InitializationConversion.Inertia -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Rotational.InitializationConversion.Inertia.pipe 2>&1) Environment - environmentSimulation: