Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Rotational.TestBraking.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.TestBraking,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Rotational.TestBraking") translateModel(ModelicaTest.Rotational.TestBraking,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Rotational.TestBraking") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001172/0.001172, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.001121/0.001122, allocations: 177.3 kB / 15.94 MB, free: 228 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.729/1.729, allocations: 205.4 MB / 222.1 MB, free: 5.672 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.4204/0.4204, allocations: 39.99 MB / 310.4 MB, free: 9.633 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.0008608/0.0008609, allocations: 12 kB / 378.8 MB, free: 12.4 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2011/0.202, allocations: 57.96 MB / 436.7 MB, free: 2.34 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.TestBraking): time 0.003654/0.2057, allocations: 1.736 MB / 438.5 MB, free: 0.5938 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001983/0.2077, allocations: 0.6871 MB / 439.2 MB, free: 15.9 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003089/0.2081, allocations: 7.938 kB / 439.2 MB, free: 15.89 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001269/0.2082, allocations: 19.84 kB / 439.2 MB, free: 15.87 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004611/0.2087, allocations: 83.75 kB / 439.3 MB, free: 15.79 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005864/0.2093, allocations: 79.78 kB / 439.4 MB, free: 15.71 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005675/0.2099, allocations: 179.6 kB / 439.5 MB, free: 15.54 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002337/0.2101, allocations: 64.48 kB / 439.6 MB, free: 15.47 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002054/0.2104, allocations: 87.64 kB / 439.7 MB, free: 15.39 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002527/0.2106, allocations: 83.62 kB / 439.8 MB, free: 15.3 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.376e-05/0.2107, allocations: 8 kB / 439.8 MB, free: 15.3 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.37e-05/0.2108, allocations: 12 kB / 439.8 MB, free: 15.29 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.867e-05/0.2108, allocations: 35.84 kB / 439.8 MB, free: 15.25 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 9.588e-05/0.211, allocations: 65.58 kB / 439.9 MB, free: 15.18 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002745/0.2112, allocations: 163.8 kB / 440 MB, free: 15.02 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.327e-06/0.2113, allocations: 4 kB / 440 MB, free: 15.02 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.655e-06/0.2113, allocations: 0 / 440 MB, free: 15.02 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.513e-05/0.2113, allocations: 4 kB / 440.1 MB, free: 15.01 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: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.001023/0.2123, allocations: 478.9 kB / 440.5 MB, free: 14.5 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.303e-05/0.2124, allocations: 8.031 kB / 440.5 MB, free: 14.49 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001132/0.2125, allocations: 23.72 kB / 440.5 MB, free: 14.46 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004059/0.213, allocations: 231.2 kB / 440.8 MB, free: 14.2 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.12e-05/0.213, allocations: 20.44 kB / 440.8 MB, free: 14.18 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.629e-05/0.2131, allocations: 27.91 kB / 440.8 MB, free: 14.15 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005469/0.2136, allocations: 214.6 kB / 441 MB, free: 13.92 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.377e-05/0.2137, allocations: 4 kB / 441 MB, free: 13.92 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.015e-05/0.2137, allocations: 7.953 kB / 441 MB, free: 13.91 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.618e-05/0.2138, allocations: 8 kB / 441.1 MB, free: 13.9 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003532/0.2141, allocations: 127.8 kB / 441.2 MB, free: 13.78 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00203/0.2162, allocations: 1.025 MB / 442.2 MB, free: 12.66 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003493/0.2165, allocations: 154.6 kB / 442.4 MB, free: 12.47 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.468e-05/0.2166, allocations: 11.97 kB / 442.4 MB, free: 12.46 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.359e-05/0.2166, allocations: 34.56 kB / 442.4 MB, free: 12.42 MB / 382.1 MB Notification: Performance of pre-optimization done (n=14): time 2.014e-06/0.2166, allocations: 0 / 442.4 MB, free: 12.42 MB / 382.1 MB Notification: Performance of matching and sorting (n=14): time 0.0005176/0.2172, allocations: 153.9 kB / 442.5 MB, free: 12.26 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001348/0.2173, allocations: 132.5 kB / 442.7 MB, free: 12.1 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002273/0.2176, allocations: 179.1 kB / 442.9 MB, free: 11.92 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.542e-05/0.2176, allocations: 33.83 kB / 442.9 MB, free: 11.88 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001273/0.2177, allocations: 163.7 kB / 443 MB, free: 11.71 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.951e-05/0.2178, allocations: 59.19 kB / 443.1 MB, free: 11.66 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.358e-05/0.2178, allocations: 8 kB / 443.1 MB, free: 11.65 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001421/0.218, allocations: 334.8 kB / 443.4 MB, free: 11.31 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001027/0.2181, allocations: 35.98 kB / 443.5 MB, free: 11.28 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001641/0.2183, allocations: 154.5 kB / 443.6 MB, free: 11.07 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001335/0.2184, allocations: 71.92 kB / 443.7 MB, free: 11 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.647e-06/0.2184, allocations: 4 kB / 443.7 MB, free: 11 MB / 382.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0003769/0.2188, allocations: 233.2 kB / 443.9 MB, free: 10.77 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.862e-05/0.2188, allocations: 8 kB / 443.9 MB, free: 10.76 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.04e-05/0.2188, allocations: 4 kB / 443.9 MB, free: 10.75 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.786e-05/0.2189, allocations: 4 kB / 443.9 MB, free: 10.75 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002169/0.2191, allocations: 67.84 kB / 444 MB, free: 10.68 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.303e-05/0.2191, allocations: 8 kB / 444 MB, free: 10.68 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001524/0.2193, allocations: 28.12 kB / 444 MB, free: 10.65 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.034e-05/0.2193, allocations: 16 kB / 444.1 MB, free: 10.63 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * 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 (31): * Single equations (assignments): 31 * 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.0001274/0.2194, allocations: 141.7 kB / 444.2 MB, free: 10.48 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.6e-05/0.2195, allocations: 15.81 kB / 444.2 MB, free: 10.47 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001577/0.2197, allocations: 74.61 kB / 444.3 MB, free: 10.38 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.274e-06/0.2197, allocations: 4 kB / 444.3 MB, free: 10.38 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/0.2197, allocations: 0 / 444.3 MB, free: 10.38 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.841e-06/0.2197, allocations: 3.984 kB / 444.3 MB, free: 10.37 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005103/0.2203, allocations: 265.4 kB / 444.6 MB, free: 10.06 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.476e-06/0.2203, allocations: 4 kB / 444.6 MB, free: 10.06 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002136/0.2205, allocations: 47.92 kB / 444.6 MB, free: 10.01 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.963e-06/0.2205, allocations: 4 kB / 444.6 MB, free: 10.01 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.682e-05/0.2205, allocations: 3.984 kB / 444.6 MB, free: 10 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.424e-06/0.2206, allocations: 4 kB / 444.6 MB, free: 10 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.744e-06/0.2206, allocations: 3.938 kB / 444.6 MB, free: 9.996 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004408/0.221, allocations: 0.5103 MB / 445.1 MB, free: 9.449 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.828e-05/0.2211, allocations: 92.92 kB / 445.2 MB, free: 9.34 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.499e-05/0.2211, allocations: 7.984 kB / 445.2 MB, free: 9.332 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002197/0.2214, allocations: 11.95 kB / 445.2 MB, free: 9.32 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.663e-05/0.2214, allocations: 7.984 kB / 445.2 MB, free: 9.312 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.704e-06/0.2214, allocations: 8 kB / 445.3 MB, free: 9.305 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001099/0.2215, allocations: 129.2 kB / 445.4 MB, free: 9.18 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2215, allocations: 0 / 445.4 MB, free: 9.18 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004475/0.222, allocations: 51.84 kB / 445.4 MB, free: 9.129 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 8 (inertia1.w,linearSpeedDependentTorque.phi,inertia2.w,quadraticSpeedDependentTorque.phi,inertia3.w,constantTorque.phi,inertia4.w,signTorque.phi) * 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 (15): * Single equations (assignments): 15 * 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.0001319/0.2221, allocations: 103.2 kB / 445.5 MB, free: 9.016 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002454/0.2224, allocations: 136.6 kB / 445.7 MB, free: 8.887 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.2224, allocations: 0 / 445.7 MB, free: 8.887 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.556e-05/0.2225, allocations: 47.91 kB / 445.7 MB, free: 8.84 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005317/0.223, allocations: 36.16 kB / 445.7 MB, free: 8.805 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001502/0.2245, allocations: 0.9774 MB / 446.7 MB, free: 7.793 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004027/0.2249, allocations: 0.7516 MB / 447.5 MB, free: 7.012 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 9.934e-05/0.225, allocations: 17.95 kB / 447.5 MB, free: 6.996 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.176e-05/0.2251, allocations: 19.44 kB / 447.5 MB, free: 6.977 MB / 382.1 MB Notification: Performance of SimCode: time 2.2e-07/0.2251, allocations: 0 / 447.5 MB, free: 6.977 MB / 382.1 MB Notification: Performance of Templates: time 0.005488/0.2306, allocations: 1.592 MB / 449.1 MB, free: 5.395 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Rotational.TestBraking.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.2_ModelicaTest.Rotational.TestBraking.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Rotational.TestBraking.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Rotational.TestBraking.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Rotational.TestBraking.sim & ./ModelicaTest_3.2.2_ModelicaTest.Rotational.TestBraking -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Rotational.TestBraking.pipe 2>&1) Environment - environmentSimulation: