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.001141/0.001141, allocations: 110.4 kB / 16.41 MB, free: 6.488 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.001117/0.001117, allocations: 186.9 kB / 17.34 MB, free: 5.766 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.264/1.264, allocations: 222.9 MB / 241 MB, free: 14.97 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTestOverdetermined 4.0.0+maint.om/package.mo): time 0.002499/0.002499, allocations: 0.5697 MB / 291.8 MB, free: 14.14 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001141/0.001141, allocations: 63.89 kB / 403.1 MB, free: 32.14 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0716/0.07275, allocations: 49.59 MB / 452.7 MB, free: 14.51 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedSteadyState): time 0.001411/0.0742, allocations: 0.5085 MB / 453.2 MB, free: 14 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001448/0.07436, allocations: 23.91 kB / 453.2 MB, free: 13.98 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.164e-05/0.07439, allocations: 0 / 453.2 MB, free: 13.98 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 1.279e-05/0.07442, allocations: 3.938 kB / 453.2 MB, free: 13.97 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 3.209e-05/0.07446, allocations: 3.938 kB / 453.2 MB, free: 13.97 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001101/0.07457, allocations: 11.98 kB / 453.2 MB, free: 13.96 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 5.117e-05/0.07463, allocations: 19.97 kB / 453.3 MB, free: 13.94 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.32e-05/0.07468, allocations: 4 kB / 453.3 MB, free: 13.93 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.847e-05/0.0747, allocations: 7.938 kB / 453.3 MB, free: 13.93 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.017e-05/0.07478, allocations: 11.98 kB / 453.3 MB, free: 13.91 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.259e-05/0.07479, allocations: 0 / 453.3 MB, free: 13.91 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.326e-06/0.07481, allocations: 0 / 453.3 MB, free: 13.91 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.778e-05/0.07483, allocations: 7.938 kB / 453.3 MB, free: 13.91 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 2.863e-05/0.07486, allocations: 23.84 kB / 453.3 MB, free: 13.88 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 5.037e-05/0.07492, allocations: 4 kB / 453.3 MB, free: 13.88 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.277e-06/0.07493, allocations: 7.938 kB / 453.3 MB, free: 13.87 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.07493, allocations: 0 / 453.3 MB, free: 13.87 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.356e-06/0.07494, allocations: 3.984 kB / 453.3 MB, free: 13.87 MB / 334.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.0003181/0.07527, allocations: 331.5 kB / 453.6 MB, free: 13.49 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.523e-05/0.07531, allocations: 15.89 kB / 453.7 MB, free: 13.48 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.268e-05/0.07535, allocations: 4.844 kB / 453.7 MB, free: 13.47 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.325e-05/0.07544, allocations: 160.4 kB / 453.8 MB, free: 13.28 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.32e-05/0.07546, allocations: 8.375 kB / 453.8 MB, free: 13.27 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.404e-05/0.07549, allocations: 4.359 kB / 453.8 MB, free: 13.27 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.576e-05/0.07559, allocations: 50.25 kB / 453.9 MB, free: 13.21 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.051e-05/0.07561, allocations: 4.172 kB / 453.9 MB, free: 13.21 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.578e-06/0.07563, allocations: 3.938 kB / 453.9 MB, free: 13.2 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.602e-06/0.07564, allocations: 0 / 453.9 MB, free: 13.2 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.638e-05/0.07568, allocations: 15.94 kB / 453.9 MB, free: 13.19 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003342/0.07602, allocations: 294.6 kB / 454.2 MB, free: 12.84 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.224e-05/0.07611, allocations: 46.5 kB / 454.2 MB, free: 12.79 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.363e-05/0.07614, allocations: 12.86 kB / 454.3 MB, free: 12.77 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.626e-06/0.07615, allocations: 0 / 454.3 MB, free: 12.77 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.187e-05/0.07618, allocations: 42.58 kB / 454.3 MB, free: 12.72 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 8.12e-07/0.07619, allocations: 0 / 454.3 MB, free: 12.72 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003346/0.07652, allocations: 152 kB / 454.4 MB, free: 12.55 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.386e-05/0.07657, allocations: 55.41 kB / 454.5 MB, free: 12.48 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.259e-05/0.07663, allocations: 97.84 kB / 454.6 MB, free: 12.38 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.202e-05/0.07665, allocations: 33.7 kB / 454.6 MB, free: 12.34 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.68e-05/0.07669, allocations: 80.14 kB / 454.7 MB, free: 12.25 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.129e-05/0.07671, allocations: 23.72 kB / 454.7 MB, free: 12.23 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.017e-05/0.07675, allocations: 25.66 kB / 454.8 MB, free: 12.2 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 8.367e-05/0.07684, allocations: 314.8 kB / 455.1 MB, free: 11.88 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.407e-05/0.07687, allocations: 11.98 kB / 455.1 MB, free: 11.87 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.646e-05/0.0769, allocations: 25.72 kB / 455.1 MB, free: 11.84 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.545e-05/0.07695, allocations: 33.66 kB / 455.1 MB, free: 11.8 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.07696, allocations: 0 / 455.1 MB, free: 11.8 MB / 334.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 7.957e-05/0.07704, allocations: 65.53 kB / 455.2 MB, free: 11.73 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.148e-05/0.07706, allocations: 6.812 kB / 455.2 MB, free: 11.73 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.05e-06/0.07707, allocations: 0 / 455.2 MB, free: 11.73 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.116e-05/0.07708, allocations: 7.938 kB / 455.2 MB, free: 11.72 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.844e-05/0.07716, allocations: 11.98 kB / 455.2 MB, free: 11.71 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.151e-06/0.07718, allocations: 8.031 kB / 455.2 MB, free: 11.7 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.901e-05/0.0772, allocations: 4 kB / 455.2 MB, free: 11.7 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.918e-06/0.07721, allocations: 0 / 455.2 MB, free: 11.7 MB / 334.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 6.102e-05/0.07728, allocations: 118.4 kB / 455.3 MB, free: 11.57 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.179e-05/0.0773, allocations: 432 / 455.3 MB, free: 11.57 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.509e-05/0.07733, allocations: 11.48 kB / 455.4 MB, free: 11.55 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.474e-06/0.07734, allocations: 4 kB / 455.4 MB, free: 11.55 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-06/0.07735, allocations: 0 / 455.4 MB, free: 11.55 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.308e-06/0.07736, allocations: 3.984 kB / 455.4 MB, free: 11.55 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001357/0.0775, allocations: 161.6 kB / 455.5 MB, free: 11.34 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/0.07751, allocations: 4 kB / 455.5 MB, free: 11.34 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.128e-05/0.07754, allocations: 0 / 455.5 MB, free: 11.34 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000122/0.07767, allocations: 20.84 kB / 455.5 MB, free: 11.31 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.234e-06/0.07769, allocations: 0 / 455.5 MB, free: 11.31 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007876/0.07848, allocations: 1.347 MB / 456.9 MB, free: 9.828 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.07849, allocations: 0 / 456.9 MB, free: 9.828 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001544/0.07865, allocations: 184.3 kB / 457.1 MB, free: 9.629 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.557e-05/0.07869, allocations: 77.11 kB / 457.2 MB, free: 9.535 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.667e-06/0.0787, allocations: 3.984 kB / 457.2 MB, free: 9.531 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.264e-05/0.07876, allocations: 4 kB / 457.2 MB, free: 9.527 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.278e-05/0.07878, allocations: 4.031 kB / 457.2 MB, free: 9.523 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.905e-06/0.07879, allocations: 0 / 457.2 MB, free: 9.523 MB / 334.1 MB Notification: Performance of sorting global known variables: time 3.024e-05/0.07882, allocations: 79.28 kB / 457.2 MB, free: 9.445 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.07882, allocations: 0 / 457.2 MB, free: 9.445 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002224/0.07905, allocations: 8 kB / 457.2 MB, free: 9.438 MB / 334.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.784e-05/0.07913, allocations: 107.2 kB / 457.4 MB, free: 9.32 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 8.356e-05/0.07922, allocations: 23.98 kB / 457.4 MB, free: 9.297 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.07923, allocations: 3.938 kB / 457.4 MB, free: 9.293 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001632/0.0794, allocations: 122.7 kB / 457.5 MB, free: 9.16 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001958/0.07961, allocations: 11.94 kB / 457.5 MB, free: 9.148 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002145/0.07983, allocations: 164 kB / 457.7 MB, free: 8.953 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001908/0.08003, allocations: 0.6807 MB / 458.4 MB, free: 8.246 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.976e-05/0.08005, allocations: 7.438 kB / 458.4 MB, free: 8.238 MB / 334.1 MB Notification: Performance of SimCode: time 1.342e-06/0.08006, allocations: 0 / 458.4 MB, free: 8.238 MB / 334.1 MB Notification: Performance of Templates: time 0.001932/0.082, allocations: 0.7025 MB / 459.1 MB, free: 7.543 MB / 334.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)