Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedSteadyState.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/ModelicaTestOverdetermined 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTestOverdetermined with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTestOverdetermined 4.0.0+maint.om/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(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedSteadyState,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedSteadyState") translateModel(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedSteadyState,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedSteadyState") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001621/0.001621, allocations: 100.1 kB / 15.88 MB, free: 12 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001828/0.001829, allocations: 196.6 kB / 16.79 MB, free: 6.809 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.41/1.41, allocations: 222.9 MB / 240.5 MB, free: 4.535 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTestOverdetermined 4.0.0+maint.om/package.mo): time 0.002708/0.002708, allocations: 0.5698 MB / 291.2 MB, free: 1.855 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001186/0.001186, allocations: 67.89 kB / 351.5 MB, free: 2.742 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09375/0.09495, allocations: 49.59 MB / 401.1 MB, free: 1.105 MB / 286.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedSteadyState): time 0.00179/0.09678, allocations: 0.5702 MB / 401.7 MB, free: 0.5352 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001433/0.09695, allocations: 23.91 kB / 401.7 MB, free: 0.5117 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.016e-05/0.09698, allocations: 0 / 401.7 MB, free: 0.5117 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 1.584e-05/0.09701, allocations: 0 / 401.7 MB, free: 0.5117 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 2.915e-05/0.09704, allocations: 0 / 401.7 MB, free: 0.5117 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001218/0.09717, allocations: 11.98 kB / 401.7 MB, free: 0.5 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 4.9e-05/0.09722, allocations: 19.94 kB / 401.7 MB, free: 492 kB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.912e-05/0.09728, allocations: 7.984 kB / 401.8 MB, free: 484 kB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.172e-05/0.09731, allocations: 11.92 kB / 401.8 MB, free: 472 kB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.042e-05/0.09737, allocations: 11.92 kB / 401.8 MB, free: 460 kB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.39e-05/0.09739, allocations: 7.938 kB / 401.8 MB, free: 452 kB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.947e-06/0.09741, allocations: 0 / 401.8 MB, free: 452 kB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 1.56e-05/0.09743, allocations: 0 / 401.8 MB, free: 452 kB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 3.115e-05/0.09746, allocations: 11.94 kB / 401.8 MB, free: 440 kB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 4.288e-05/0.09751, allocations: 11.97 kB / 401.8 MB, free: 428 kB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.488e-06/0.09752, allocations: 0 / 401.8 MB, free: 428 kB / 286.1 MB Notification: Performance of FrontEnd: time 6.81e-07/0.09753, allocations: 0 / 401.8 MB, free: 428 kB / 286.1 MB Notification: Performance of Transformations before backend: time 3.737e-06/0.09754, allocations: 4 kB / 401.8 MB, free: 424 kB / 286.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004007/0.09794, allocations: 331.8 kB / 402.1 MB, free: 40 kB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.302e-05/0.09798, allocations: 8.031 kB / 402.1 MB, free: 32 kB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.089e-05/0.09802, allocations: 4.938 kB / 402.2 MB, free: 28 kB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1587/0.2567, allocations: 164 kB / 402.3 MB, free: 10.66 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.852e-05/0.2568, allocations: 384 / 402.3 MB, free: 10.66 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.286e-05/0.2568, allocations: 7.828 kB / 402.3 MB, free: 10.66 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001305/0.257, allocations: 41.55 kB / 402.4 MB, free: 10.62 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.372e-05/0.257, allocations: 3.969 kB / 402.4 MB, free: 10.62 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.166e-05/0.257, allocations: 7 kB / 402.4 MB, free: 10.62 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.047e-06/0.257, allocations: 0.9062 kB / 402.4 MB, free: 10.62 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.476e-05/0.2571, allocations: 14.89 kB / 402.4 MB, free: 10.62 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003975/0.2575, allocations: 291.5 kB / 402.7 MB, free: 10.33 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.574e-05/0.2576, allocations: 39.31 kB / 402.7 MB, free: 10.3 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.07e-05/0.2576, allocations: 16.89 kB / 402.7 MB, free: 10.3 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.269e-05/0.2577, allocations: 5.844 kB / 402.7 MB, free: 10.3 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.988e-05/0.2577, allocations: 43.34 kB / 402.8 MB, free: 10.25 MB / 286.1 MB Notification: Performance of pre-optimization done (n=4): time 1.202e-06/0.2577, allocations: 0 / 402.8 MB, free: 10.25 MB / 286.1 MB Notification: Performance of matching and sorting (n=4): time 0.0004043/0.2581, allocations: 161.3 kB / 402.9 MB, free: 10.12 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.393e-05/0.2581, allocations: 51.97 kB / 403 MB, free: 10.06 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.583e-05/0.2582, allocations: 99.52 kB / 403.1 MB, free: 9.961 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 8.516e-06/0.2582, allocations: 29.95 kB / 403.1 MB, free: 9.93 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.018e-05/0.2583, allocations: 91.17 kB / 403.2 MB, free: 9.84 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.082e-05/0.2583, allocations: 14.27 kB / 403.2 MB, free: 9.832 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.273e-05/0.2583, allocations: 21.11 kB / 403.2 MB, free: 9.816 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 4.755e-05/0.2584, allocations: 320.9 kB / 403.5 MB, free: 9.504 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.128e-05/0.2584, allocations: 7.375 kB / 403.6 MB, free: 9.504 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.762e-05/0.2584, allocations: 24.11 kB / 403.6 MB, free: 9.488 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.969e-05/0.2585, allocations: 30.33 kB / 403.6 MB, free: 9.473 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.285e-06/0.2585, allocations: 3.938 kB / 403.6 MB, free: 9.469 MB / 286.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 9.49e-05/0.2586, allocations: 62.59 kB / 403.7 MB, free: 9.438 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.753e-05/0.2586, allocations: 9.641 kB / 403.7 MB, free: 9.438 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.5e-06/0.2586, allocations: 0.5312 kB / 403.7 MB, free: 9.438 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.692e-05/0.2587, allocations: 1.688 kB / 403.7 MB, free: 9.438 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.955e-05/0.2588, allocations: 13.89 kB / 403.7 MB, free: 9.438 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.059e-06/0.2588, allocations: 3.156 kB / 403.7 MB, free: 9.438 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.32e-05/0.2588, allocations: 1.859 kB / 403.7 MB, free: 9.438 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.979e-06/0.2588, allocations: 2.625 kB / 403.7 MB, free: 9.438 MB / 286.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (6): * Single equations (assignments): 6 * 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 5.001e-05/0.2589, allocations: 119.3 kB / 403.8 MB, free: 9.316 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.456e-05/0.2589, allocations: 5.516 kB / 403.8 MB, free: 9.312 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.741e-05/0.2589, allocations: 7.844 kB / 403.8 MB, free: 9.305 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.865e-06/0.259, allocations: 5.219 kB / 403.8 MB, free: 9.301 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.032e-06/0.259, allocations: 1.469 kB / 403.8 MB, free: 9.301 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.627e-06/0.259, allocations: 0.5625 kB / 403.8 MB, free: 9.301 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000118/0.2591, allocations: 158.9 kB / 404 MB, free: 9.109 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.2591, allocations: 1.609 kB / 404 MB, free: 9.109 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.478e-05/0.2591, allocations: 9.688 kB / 404 MB, free: 9.109 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000138/0.2593, allocations: 22.92 kB / 404 MB, free: 9.098 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.946e-06/0.2593, allocations: 0.8438 kB / 404 MB, free: 9.098 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006376/0.26, allocations: 1.253 MB / 405.3 MB, free: 7.832 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.933e-06/0.26, allocations: 0.5625 kB / 405.3 MB, free: 7.832 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001521/0.2601, allocations: 179.1 kB / 405.5 MB, free: 7.688 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.587e-05/0.2601, allocations: 78.91 kB / 405.5 MB, free: 7.594 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.468e-06/0.2602, allocations: 1.578 kB / 405.5 MB, free: 7.594 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.794e-05/0.2602, allocations: 0.6562 kB / 405.5 MB, free: 7.594 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.939e-05/0.2602, allocations: 18.2 kB / 405.6 MB, free: 7.582 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.809e-06/0.2603, allocations: 2.484 kB / 405.6 MB, free: 7.582 MB / 286.1 MB Notification: Performance of sorting global known variables: time 2.048e-05/0.2603, allocations: 80.89 kB / 405.6 MB, free: 7.508 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2603, allocations: 1.156 kB / 405.6 MB, free: 7.508 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.00022/0.2605, allocations: 4.75 kB / 405.6 MB, free: 7.508 MB / 286.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (x1,v1) * 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 (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 7.97e-05/0.2606, allocations: 97.08 kB / 405.7 MB, free: 7.414 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 8.707e-05/0.2607, allocations: 25.42 kB / 405.8 MB, free: 7.414 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 1.694e-06/0.2607, allocations: 4.062 kB / 405.8 MB, free: 7.41 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001643/0.2609, allocations: 129 kB / 405.9 MB, free: 7.297 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002065/0.2611, allocations: 5.172 kB / 405.9 MB, free: 7.297 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002178/0.2613, allocations: 174 kB / 406.1 MB, free: 7.137 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001063/0.2614, allocations: 0.682 MB / 406.7 MB, free: 6.441 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.7e-05/0.2614, allocations: 12.75 kB / 406.8 MB, free: 6.43 MB / 286.1 MB Notification: Performance of SimCode: time 2.2e-07/0.2615, allocations: 1.125 kB / 406.8 MB, free: 6.43 MB / 286.1 MB Notification: Performance of Templates: time 0.002481/0.2639, allocations: 0.6822 MB / 407.4 MB, free: 6.41 MB / 286.1 MB make -j1 -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedSteadyState.makefile (rm -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedSteadyState.pipe ; mkfifo ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedSteadyState.pipe ; head -c 1048576 < ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedSteadyState.pipe >> ../files/ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedSteadyState.sim & ./ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedSteadyState -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedSteadyState.pipe 2>&1)