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.007369/0.007369, allocations: 106.2 kB / 15.74 MB, free: 6 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.001711/0.001711, allocations: 198.2 kB / 16.68 MB, free: 5.918 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.44/1.44, allocations: 222.9 MB / 240.4 MB, free: 4.168 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.002649/0.002649, allocations: 0.569 MB / 291.1 MB, free: 1.477 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001241/0.001241, allocations: 67.58 kB / 402.4 MB, free: 9.379 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08234/0.08359, allocations: 49.6 MB / 452 MB, free: 5.301 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedSteadyState): time 0.002462/0.08609, allocations: 1.637 MB / 453.6 MB, free: 3.656 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002458/0.08635, allocations: 99.61 kB / 453.7 MB, free: 3.559 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.443e-05/0.08642, allocations: 0 / 453.7 MB, free: 3.559 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 4.743e-05/0.08647, allocations: 15.86 kB / 453.8 MB, free: 3.543 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000113/0.08659, allocations: 35.7 kB / 453.8 MB, free: 3.508 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001227/0.08673, allocations: 19.97 kB / 453.8 MB, free: 3.488 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.000124/0.08686, allocations: 107.5 kB / 453.9 MB, free: 3.383 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001337/0.087, allocations: 35.97 kB / 454 MB, free: 3.348 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.323e-05/0.08707, allocations: 39.92 kB / 454 MB, free: 3.309 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.578e-05/0.08716, allocations: 39.78 kB / 454 MB, free: 3.27 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.861e-05/0.08719, allocations: 12 kB / 454 MB, free: 3.258 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.829e-05/0.08721, allocations: 8 kB / 454.1 MB, free: 3.25 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 2.696e-05/0.08724, allocations: 19.92 kB / 454.1 MB, free: 3.23 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 5.386e-05/0.08731, allocations: 55.73 kB / 454.1 MB, free: 3.176 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001513/0.08746, allocations: 107.7 kB / 454.2 MB, free: 3.07 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.08747, allocations: 0 / 454.2 MB, free: 3.07 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.332e-06/0.08748, allocations: 0 / 454.2 MB, free: 3.07 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.919e-06/0.08749, allocations: 0 / 454.2 MB, free: 3.07 MB / 318.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.0004737/0.08797, allocations: 395.4 kB / 454.6 MB, free: 2.633 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.252e-05/0.08801, allocations: 11.89 kB / 454.6 MB, free: 2.621 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.603e-05/0.08805, allocations: 16.84 kB / 454.6 MB, free: 2.605 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001597/0.08821, allocations: 200.1 kB / 454.8 MB, free: 2.371 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.224e-05/0.08823, allocations: 8.562 kB / 454.8 MB, free: 2.363 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.807e-05/0.08827, allocations: 8.312 kB / 454.9 MB, free: 2.355 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001767/0.08846, allocations: 95.47 kB / 455 MB, free: 2.258 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.235e-05/0.08848, allocations: 7.938 kB / 455 MB, free: 2.25 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.466e-05/0.0885, allocations: 7.984 kB / 455 MB, free: 2.242 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.64e-06/0.08851, allocations: 0 / 455 MB, free: 2.242 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001056/0.08862, allocations: 59.91 kB / 455 MB, free: 2.184 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005061/0.08913, allocations: 388.6 kB / 455.4 MB, free: 1.754 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001729/0.08932, allocations: 94.55 kB / 455.5 MB, free: 1.652 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.26e-05/0.08939, allocations: 40.84 kB / 455.5 MB, free: 1.609 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.213e-05/0.08941, allocations: 0 / 455.5 MB, free: 1.609 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.147e-05/0.08943, allocations: 34.56 kB / 455.6 MB, free: 1.566 MB / 318.1 MB Notification: Performance of pre-optimization done (n=12): time 1.072e-06/0.08944, allocations: 4 kB / 455.6 MB, free: 1.562 MB / 318.1 MB Notification: Performance of matching and sorting (n=16): time 0.001063/0.09051, allocations: 0.6953 MB / 456.3 MB, free: 0.7773 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.792e-05/0.09056, allocations: 55.34 kB / 456.3 MB, free: 0.7109 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.147e-05/0.09065, allocations: 121.8 kB / 456.4 MB, free: 0.582 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.534e-05/0.09068, allocations: 25.7 kB / 456.5 MB, free: 0.5508 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.084e-05/0.09074, allocations: 104.3 kB / 456.6 MB, free: 452 kB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.055e-05/0.09079, allocations: 63.17 kB / 456.6 MB, free: 388 kB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.548e-05/0.09084, allocations: 25.72 kB / 456.7 MB, free: 356 kB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001102/0.09096, allocations: 322.8 kB / 457 MB, free: 24 kB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.938e-05/0.09104, allocations: 35.94 kB / 457 MB, free: 15.99 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.677e-05/0.09112, allocations: 60.8 kB / 457.1 MB, free: 15.92 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001384/0.09127, allocations: 106.5 kB / 457.2 MB, free: 15.81 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.202e-06/0.09128, allocations: 0 / 457.2 MB, free: 15.81 MB / 334.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002117/0.09149, allocations: 133.5 kB / 457.3 MB, free: 15.67 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.625e-05/0.09152, allocations: 11.94 kB / 457.3 MB, free: 15.66 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.699e-06/0.09153, allocations: 0 / 457.3 MB, free: 15.66 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.291e-05/0.09155, allocations: 0 / 457.3 MB, free: 15.66 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001799/0.09173, allocations: 35.98 kB / 457.3 MB, free: 15.62 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.932e-06/0.09174, allocations: 0 / 457.3 MB, free: 15.62 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.183e-05/0.0918, allocations: 8.031 kB / 457.4 MB, free: 15.62 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.316e-06/0.09182, allocations: 7.938 kB / 457.4 MB, free: 15.61 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 0.0001131/0.09193, allocations: 129.8 kB / 457.5 MB, free: 15.47 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.237e-05/0.09197, allocations: 11.84 kB / 457.5 MB, free: 15.46 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.266e-05/0.09202, allocations: 16.84 kB / 457.5 MB, free: 15.44 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.597e-06/0.09203, allocations: 4 kB / 457.5 MB, free: 15.44 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.09204, allocations: 64 / 457.5 MB, free: 15.44 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.549e-06/0.09205, allocations: 4 kB / 457.5 MB, free: 15.43 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005972/0.09265, allocations: 0.4975 MB / 458 MB, free: 14.87 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.934e-06/0.09266, allocations: 0 / 458 MB, free: 14.87 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001393/0.09281, allocations: 31.92 kB / 458.1 MB, free: 14.84 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001012/0.09292, allocations: 20.84 kB / 458.1 MB, free: 14.81 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.073e-05/0.09294, allocations: 7.938 kB / 458.1 MB, free: 14.8 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009058/0.09385, allocations: 1.375 MB / 459.5 MB, free: 13.29 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/0.09387, allocations: 0 / 459.5 MB, free: 13.29 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003206/0.09419, allocations: 306.6 kB / 459.8 MB, free: 12.96 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.361e-05/0.09425, allocations: 85.05 kB / 459.8 MB, free: 12.86 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.497e-05/0.09427, allocations: 4.125 kB / 459.8 MB, free: 12.86 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.13e-05/0.09436, allocations: 8 kB / 459.9 MB, free: 12.85 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.269e-05/0.09439, allocations: 7.984 kB / 459.9 MB, free: 12.84 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.275e-06/0.0944, allocations: 7.938 kB / 459.9 MB, free: 12.84 MB / 334.1 MB Notification: Performance of sorting global known variables: time 5.052e-05/0.09446, allocations: 99.27 kB / 460 MB, free: 12.74 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.09446, allocations: 0 / 460 MB, free: 12.74 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002696/0.09474, allocations: 28 kB / 460 MB, free: 12.71 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 9.959e-05/0.09484, allocations: 106.9 kB / 460.1 MB, free: 12.6 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001846/0.09503, allocations: 91.91 kB / 460.2 MB, free: 12.51 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.09504, allocations: 0 / 460.2 MB, free: 12.51 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002537/0.0953, allocations: 166.6 kB / 460.3 MB, free: 12.34 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004163/0.09573, allocations: 30.78 kB / 460.4 MB, free: 12.31 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000599/0.09634, allocations: 382.4 kB / 460.8 MB, free: 11.9 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002697/0.09662, allocations: 0.7084 MB / 461.5 MB, free: 11.16 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 4.869e-05/0.09668, allocations: 13.08 kB / 461.5 MB, free: 11.15 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.631e-05/0.09672, allocations: 15.44 kB / 461.5 MB, free: 11.14 MB / 334.1 MB Notification: Performance of SimCode: time 2.5e-07/0.09673, allocations: 3.938 kB / 461.5 MB, free: 11.13 MB / 334.1 MB Notification: Performance of Templates: time 0.003722/0.1005, allocations: 1.322 MB / 462.8 MB, free: 9.863 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)