Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedSteadyState.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.TwoMassesReducedSteadyState,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedSteadyState") translateModel(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedSteadyState,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedSteadyState") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008344/0.008344, allocations: 101.2 kB / 15.73 MB, free: 6.004 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.001833/0.001833, allocations: 186.7 kB / 16.67 MB, free: 5.922 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.366/1.366, allocations: 222.9 MB / 240.4 MB, free: 15.07 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.002513/0.002513, allocations: 0.5691 MB / 291.1 MB, free: 14.14 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001167/0.001167, allocations: 60.09 kB / 402.4 MB, free: 32.14 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07879/0.07997, allocations: 49.59 MB / 452 MB, free: 14.5 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedSteadyState): time 0.002445/0.08246, allocations: 1.634 MB / 453.6 MB, free: 12.86 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002468/0.08272, allocations: 99.67 kB / 453.7 MB, free: 12.76 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.359e-05/0.08279, allocations: 11.88 kB / 453.7 MB, free: 12.75 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 4.652e-05/0.08284, allocations: 11.86 kB / 453.8 MB, free: 12.73 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 9.065e-05/0.08295, allocations: 27.77 kB / 453.8 MB, free: 12.71 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001125/0.08307, allocations: 27.91 kB / 453.8 MB, free: 12.68 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001179/0.08319, allocations: 103.5 kB / 453.9 MB, free: 12.58 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001326/0.08333, allocations: 43.95 kB / 454 MB, free: 12.54 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.636e-05/0.0834, allocations: 35.86 kB / 454 MB, free: 12.5 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.669e-05/0.08349, allocations: 47.78 kB / 454 MB, free: 12.45 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.187e-05/0.08352, allocations: 8 kB / 454 MB, free: 12.45 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.053e-05/0.08354, allocations: 11.94 kB / 454.1 MB, free: 12.43 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.587e-05/0.08357, allocations: 19.92 kB / 454.1 MB, free: 12.41 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 5.657e-05/0.08363, allocations: 51.78 kB / 454.1 MB, free: 12.36 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000143/0.08378, allocations: 107.5 kB / 454.2 MB, free: 12.26 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.775e-06/0.08379, allocations: 0 / 454.2 MB, free: 12.26 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.0838, allocations: 0 / 454.2 MB, free: 12.26 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.204e-06/0.08381, allocations: 4 kB / 454.2 MB, free: 12.25 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: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.0004602/0.08428, allocations: 403.2 kB / 454.6 MB, free: 11.81 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.345e-05/0.08432, allocations: 15.89 kB / 454.6 MB, free: 11.79 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.274e-05/0.08437, allocations: 8.891 kB / 454.7 MB, free: 11.79 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001573/0.08453, allocations: 196.2 kB / 454.8 MB, free: 11.55 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.293e-05/0.08455, allocations: 8.562 kB / 454.9 MB, free: 11.55 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.756e-05/0.08458, allocations: 8.375 kB / 454.9 MB, free: 11.54 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001675/0.08476, allocations: 100 kB / 455 MB, free: 11.44 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.133e-05/0.08478, allocations: 0 / 455 MB, free: 11.44 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.229e-05/0.0848, allocations: 4 kB / 455 MB, free: 11.43 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.617e-06/0.08481, allocations: 4 kB / 455 MB, free: 11.43 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001141/0.08493, allocations: 55.97 kB / 455 MB, free: 11.38 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004819/0.08542, allocations: 380.7 kB / 455.4 MB, free: 10.95 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001749/0.0856, allocations: 114.4 kB / 455.5 MB, free: 10.83 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.948e-05/0.08567, allocations: 36.84 kB / 455.5 MB, free: 10.79 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.325e-05/0.08569, allocations: 4 kB / 455.5 MB, free: 10.79 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.903e-05/0.08571, allocations: 30.56 kB / 455.6 MB, free: 10.75 MB / 334.1 MB Notification: Performance of pre-optimization done (n=12): time 1.132e-06/0.08572, allocations: 0 / 455.6 MB, free: 10.75 MB / 334.1 MB Notification: Performance of matching and sorting (n=16): time 0.001018/0.08674, allocations: 0.6816 MB / 456.3 MB, free: 9.973 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.934e-05/0.08678, allocations: 51.41 kB / 456.3 MB, free: 9.91 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.576e-05/0.08688, allocations: 126.8 kB / 456.4 MB, free: 9.777 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.448e-05/0.08691, allocations: 33.7 kB / 456.5 MB, free: 9.738 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.221e-05/0.08696, allocations: 104.3 kB / 456.6 MB, free: 9.629 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.527e-05/0.08701, allocations: 59.42 kB / 456.6 MB, free: 9.57 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.266e-05/0.08707, allocations: 37.7 kB / 456.7 MB, free: 9.527 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001052/0.08718, allocations: 322.8 kB / 457 MB, free: 9.203 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.734e-05/0.08724, allocations: 35.98 kB / 457 MB, free: 9.168 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.176e-05/0.08732, allocations: 58.45 kB / 457.1 MB, free: 9.102 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001417/0.08747, allocations: 106.4 kB / 457.2 MB, free: 8.992 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.31e-07/0.08747, allocations: 0 / 457.2 MB, free: 8.992 MB / 334.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0001859/0.08766, allocations: 145.6 kB / 457.3 MB, free: 8.844 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.253e-05/0.08768, allocations: 7.938 kB / 457.3 MB, free: 8.836 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.192e-06/0.08769, allocations: 3.984 kB / 457.3 MB, free: 8.832 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.298e-05/0.08771, allocations: 4 kB / 457.3 MB, free: 8.828 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001765/0.08789, allocations: 35.92 kB / 457.4 MB, free: 8.793 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.62e-06/0.08791, allocations: 0 / 457.4 MB, free: 8.793 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.717e-05/0.08796, allocations: 8 kB / 457.4 MB, free: 8.785 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.839e-06/0.08797, allocations: 4 kB / 457.4 MB, free: 8.781 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (19): * Single equations (assignments): 19 * 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 8.011e-05/0.08806, allocations: 122.4 kB / 457.5 MB, free: 8.652 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.198e-05/0.0881, allocations: 15.92 kB / 457.5 MB, free: 8.637 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.123e-05/0.08814, allocations: 20.83 kB / 457.5 MB, free: 8.613 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-06/0.08815, allocations: 0 / 457.5 MB, free: 8.613 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.428e-06/0.08816, allocations: 0 / 457.5 MB, free: 8.613 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.996e-06/0.08817, allocations: 4 kB / 457.5 MB, free: 8.609 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005918/0.08877, allocations: 0.4977 MB / 458 MB, free: 8.043 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.446e-06/0.08878, allocations: 4 kB / 458 MB, free: 8.039 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001198/0.08891, allocations: 23.98 kB / 458.1 MB, free: 8.016 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001015/0.08902, allocations: 20.8 kB / 458.1 MB, free: 7.992 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.471e-05/0.08904, allocations: 7.984 kB / 458.1 MB, free: 7.984 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009076/0.08995, allocations: 1.375 MB / 459.5 MB, free: 6.473 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.452e-06/0.08997, allocations: 0 / 459.5 MB, free: 6.473 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003243/0.0903, allocations: 306.7 kB / 459.8 MB, free: 6.148 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.019e-05/0.09035, allocations: 89.08 kB / 459.8 MB, free: 6.043 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.68e-05/0.09037, allocations: 11.94 kB / 459.9 MB, free: 6.031 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.788e-05/0.09045, allocations: 0 / 459.9 MB, free: 6.031 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.596e-05/0.09048, allocations: 12.05 kB / 459.9 MB, free: 6.02 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.455e-06/0.0905, allocations: 15.94 kB / 459.9 MB, free: 6.004 MB / 334.1 MB Notification: Performance of sorting global known variables: time 5.453e-05/0.09056, allocations: 91.7 kB / 460 MB, free: 5.914 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.09057, allocations: 0 / 460 MB, free: 5.914 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002629/0.09083, allocations: 32 kB / 460 MB, free: 5.883 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (mass1.s,mass1.v) * 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): 14 * 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 8.114e-05/0.09092, allocations: 91.25 kB / 460.1 MB, free: 5.785 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001789/0.09111, allocations: 99.84 kB / 460.2 MB, free: 5.688 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.09112, allocations: 4.062 kB / 460.2 MB, free: 5.684 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002259/0.09135, allocations: 166.6 kB / 460.4 MB, free: 5.508 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003643/0.09172, allocations: 22.75 kB / 460.4 MB, free: 5.488 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005811/0.09232, allocations: 405.8 kB / 460.8 MB, free: 5.055 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002598/0.09259, allocations: 0.7045 MB / 461.5 MB, free: 4.324 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 5.43e-05/0.09265, allocations: 13.08 kB / 461.5 MB, free: 4.312 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.265e-05/0.09269, allocations: 15.44 kB / 461.5 MB, free: 4.297 MB / 334.1 MB Notification: Performance of SimCode: time 2.21e-07/0.09269, allocations: 0 / 461.5 MB, free: 4.297 MB / 334.1 MB Notification: Performance of Templates: time 0.003567/0.09627, allocations: 1.328 MB / 462.8 MB, free: 3.02 MB / 334.1 MB make -j1 -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedSteadyState.makefile (rm -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedSteadyState.pipe ; mkfifo ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedSteadyState.pipe ; head -c 1048576 < ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedSteadyState.pipe >> ../files/ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedSteadyState.sim & ./ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedSteadyState -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedSteadyState.pipe 2>&1)