Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedInitial.conf.json 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTestOverdetermined 4.0.0-master/package.mo", uses=false) Using package ModelicaTestOverdetermined with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTestOverdetermined 4.0.0-master/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) 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) Running command: translateModel(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedInitial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedInitial") translateModel(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedInitial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedInitial") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001125/0.001125, allocations: 183 kB / 15.98 MB, free: 5.77 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.394/1.394, allocations: 222.9 MB / 239.7 MB, free: 10.98 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001001/0.001001, allocations: 104.2 kB / 289.9 MB, free: 10.91 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTestOverdetermined 4.0.0-master/package.mo): time 0.003235/0.003235, allocations: 0.5773 MB / 340.6 MB, free: 8.195 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001126/0.001126, allocations: 51.17 kB / 400.9 MB, free: 66.03 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07339/0.07454, allocations: 49.6 MB / 450.5 MB, free: 16.45 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedInitial): time 0.002408/0.07698, allocations: 1.695 MB / 452.2 MB, free: 14.75 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002203/0.07722, allocations: 99.67 kB / 452.3 MB, free: 14.65 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.885e-05/0.07729, allocations: 0 / 452.3 MB, free: 14.65 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 4.778e-05/0.07735, allocations: 7.922 kB / 452.3 MB, free: 14.64 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 8.807e-05/0.07746, allocations: 23.78 kB / 452.4 MB, free: 14.62 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001283/0.07759, allocations: 23.98 kB / 452.4 MB, free: 14.59 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001087/0.07771, allocations: 111.5 kB / 452.5 MB, free: 14.48 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001149/0.07783, allocations: 31.92 kB / 452.5 MB, free: 14.45 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.271e-05/0.07789, allocations: 35.86 kB / 452.6 MB, free: 14.42 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.908e-05/0.07797, allocations: 39.84 kB / 452.6 MB, free: 14.38 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.859e-05/0.07799, allocations: 8 kB / 452.6 MB, free: 14.37 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.752e-05/0.07801, allocations: 4 kB / 452.6 MB, free: 14.37 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 2.065e-05/0.07804, allocations: 23.91 kB / 452.6 MB, free: 14.34 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 4.869e-05/0.07809, allocations: 47.73 kB / 452.7 MB, free: 14.3 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001043/0.0782, allocations: 103.9 kB / 452.8 MB, free: 14.2 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.07821, allocations: 0 / 452.8 MB, free: 14.2 MB / 298.7 MB Notification: Performance of FrontEnd: time 6.91e-07/0.07822, allocations: 0 / 452.8 MB, free: 14.2 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.947e-06/0.07823, allocations: 4 kB / 452.8 MB, free: 14.19 MB / 298.7 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.0003857/0.07862, allocations: 403.2 kB / 453.2 MB, free: 13.75 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.184e-05/0.07866, allocations: 8.031 kB / 453.2 MB, free: 13.74 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.615e-05/0.0787, allocations: 12.84 kB / 453.2 MB, free: 13.73 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00011/0.07881, allocations: 192.2 kB / 453.4 MB, free: 13.5 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.004e-05/0.07883, allocations: 0.5625 kB / 453.4 MB, free: 13.5 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.245e-05/0.07886, allocations: 16.31 kB / 453.4 MB, free: 13.48 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001404/0.07901, allocations: 97.97 kB / 453.5 MB, free: 13.38 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.264e-05/0.07903, allocations: 4 kB / 453.5 MB, free: 13.38 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.017e-05/0.07904, allocations: 3.938 kB / 453.5 MB, free: 13.38 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.538e-06/0.07905, allocations: 0 / 453.5 MB, free: 13.38 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.582e-05/0.07915, allocations: 63.95 kB / 453.6 MB, free: 13.31 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004308/0.07959, allocations: 388.6 kB / 454 MB, free: 12.88 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001462/0.07975, allocations: 102.5 kB / 454.1 MB, free: 12.77 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.935e-05/0.0798, allocations: 32.86 kB / 454.1 MB, free: 12.74 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.308e-05/0.07982, allocations: 0 / 454.1 MB, free: 12.74 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.443e-05/0.07984, allocations: 38.5 kB / 454.1 MB, free: 12.69 MB / 298.7 MB Notification: Performance of pre-optimization done (n=12): time 9.92e-07/0.07985, allocations: 0 / 454.1 MB, free: 12.69 MB / 298.7 MB Notification: Performance of matching and sorting (n=16): time 0.000898/0.08075, allocations: 0.696 MB / 454.8 MB, free: 11.9 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.895e-05/0.08078, allocations: 51.41 kB / 454.9 MB, free: 11.84 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.133e-05/0.08086, allocations: 117.8 kB / 455 MB, free: 11.71 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 8.616e-06/0.08088, allocations: 25.7 kB / 455 MB, free: 11.68 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.497e-05/0.08092, allocations: 104.3 kB / 455.1 MB, free: 11.58 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.652e-05/0.08095, allocations: 59.2 kB / 455.2 MB, free: 11.52 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.98e-05/0.08099, allocations: 29.7 kB / 455.2 MB, free: 11.48 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 3.812e-05/0.08104, allocations: 318.8 kB / 455.5 MB, free: 11.16 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.877e-05/0.08109, allocations: 35.94 kB / 455.5 MB, free: 11.13 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.777e-05/0.08116, allocations: 66.55 kB / 455.6 MB, free: 11.05 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001071/0.08127, allocations: 95.64 kB / 455.7 MB, free: 10.95 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.132e-06/0.08128, allocations: 4 kB / 455.7 MB, free: 10.95 MB / 298.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002142/0.0815, allocations: 174.2 kB / 455.9 MB, free: 10.77 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.322e-05/0.08152, allocations: 4 kB / 455.9 MB, free: 10.77 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/0.08153, allocations: 3.984 kB / 455.9 MB, free: 10.76 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001176/0.08165, allocations: 32.78 kB / 455.9 MB, free: 10.73 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001059/0.08177, allocations: 27.98 kB / 455.9 MB, free: 10.7 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007767/0.08255, allocations: 1.452 MB / 457.4 MB, free: 9.105 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.785e-05/0.08261, allocations: 0 / 457.4 MB, free: 9.105 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.295e-06/0.08263, allocations: 4 kB / 457.4 MB, free: 9.102 MB / 298.7 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 (16): * Single equations (assignments): 15 * 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,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 6.651e-05/0.0827, allocations: 129.8 kB / 457.5 MB, free: 8.965 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.051e-05/0.08274, allocations: 19.78 kB / 457.5 MB, free: 8.945 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.217e-05/0.08278, allocations: 12.84 kB / 457.6 MB, free: 8.93 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.715e-06/0.08279, allocations: 7.984 kB / 457.6 MB, free: 8.922 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.206e-06/0.08279, allocations: 0 / 457.6 MB, free: 8.922 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.495e-06/0.0828, allocations: 0 / 457.6 MB, free: 8.922 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004722/0.08328, allocations: 0.5392 MB / 458.1 MB, free: 8.305 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.385e-06/0.08329, allocations: 64 / 458.1 MB, free: 8.305 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000117/0.08342, allocations: 39.92 kB / 458.1 MB, free: 8.266 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.014e-05/0.08348, allocations: 12.86 kB / 458.2 MB, free: 8.25 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.152e-05/0.0835, allocations: 4 kB / 458.2 MB, free: 8.246 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005488/0.08406, allocations: 1.272 MB / 459.4 MB, free: 6.844 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/0.08407, allocations: 4.031 kB / 459.4 MB, free: 6.84 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001593/0.08567, allocations: 2.7 MB / 462.1 MB, free: 3.848 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.215e-05/0.08571, allocations: 81.02 kB / 462.2 MB, free: 3.75 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.319e-05/0.08573, allocations: 7.984 kB / 462.2 MB, free: 3.742 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.597e-05/0.08581, allocations: 8 kB / 462.2 MB, free: 3.734 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.753e-05/0.08584, allocations: 16.2 kB / 462.2 MB, free: 3.719 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.454e-06/0.08586, allocations: 8 kB / 462.3 MB, free: 3.711 MB / 298.7 MB Notification: Performance of sorting global known variables: time 3.549e-05/0.0859, allocations: 92.8 kB / 462.3 MB, free: 3.621 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.01e-07/0.0859, allocations: 0 / 462.3 MB, free: 3.621 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003829/0.08629, allocations: 40 kB / 462.4 MB, free: 3.582 MB / 298.7 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 7.212e-05/0.08637, allocations: 99.25 kB / 462.5 MB, free: 3.477 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003206/0.0867, allocations: 234.5 kB / 462.7 MB, free: 3.234 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.866e-06/0.08672, allocations: 0 / 462.7 MB, free: 3.234 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001376/0.08686, allocations: 162.6 kB / 462.9 MB, free: 3.062 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003765/0.08725, allocations: 28.52 kB / 462.9 MB, free: 3.035 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007129/0.08797, allocations: 0.695 MB / 463.6 MB, free: 2.273 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001194/0.0881, allocations: 0.7127 MB / 464.3 MB, free: 1.535 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 5.126e-05/0.08816, allocations: 9.078 kB / 464.3 MB, free: 1.527 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.74e-05/0.08819, allocations: 19.44 kB / 464.3 MB, free: 1.508 MB / 298.7 MB Notification: Performance of SimCode: time 4.01e-07/0.0882, allocations: 0 / 464.3 MB, free: 1.508 MB / 298.7 MB Notification: Performance of Templates: time 0.003517/0.09172, allocations: 1.586 MB / 465.9 MB, free: 15.98 MB / 314.7 MB make -j1 -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedInitial.makefile (rm -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedInitial.pipe ; mkfifo ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedInitial.pipe ; head -c 1048576 < ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedInitial.pipe >> ../files/ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedInitial.sim & ./ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedInitial -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedInitial.pipe 2>&1)