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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001274/0.001274, allocations: 109 kB / 16.41 MB, free: 6.496 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.0009629/0.0009629, allocations: 187 kB / 17.34 MB, free: 5.762 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.249/1.249, allocations: 222.9 MB / 241 MB, free: 15.16 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.002566/0.002566, allocations: 0.5637 MB / 291.8 MB, free: 14.2 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001199/0.001199, allocations: 63.91 kB / 403.1 MB, free: 32.18 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07982/0.08103, allocations: 49.59 MB / 452.7 MB, free: 14.54 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedInitial): time 0.002601/0.08368, allocations: 1.645 MB / 454.3 MB, free: 12.89 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002454/0.08395, allocations: 87.69 kB / 454.4 MB, free: 12.8 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.307e-05/0.08401, allocations: 7.938 kB / 454.4 MB, free: 12.79 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 4.759e-05/0.08407, allocations: 15.86 kB / 454.4 MB, free: 12.78 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 9.849e-05/0.08418, allocations: 31.7 kB / 454.5 MB, free: 12.75 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000117/0.08431, allocations: 27.97 kB / 454.5 MB, free: 12.72 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001182/0.08443, allocations: 103.5 kB / 454.6 MB, free: 12.62 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001353/0.08457, allocations: 31.98 kB / 454.6 MB, free: 12.59 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.57e-05/0.08465, allocations: 43.86 kB / 454.7 MB, free: 12.54 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.371e-05/0.08475, allocations: 47.77 kB / 454.7 MB, free: 12.5 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.069e-05/0.08477, allocations: 12 kB / 454.7 MB, free: 12.48 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.111e-05/0.0848, allocations: 8 kB / 454.7 MB, free: 12.48 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.098e-05/0.08483, allocations: 19.86 kB / 454.8 MB, free: 12.46 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.856e-05/0.08488, allocations: 51.81 kB / 454.8 MB, free: 12.41 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001392/0.08503, allocations: 107.6 kB / 454.9 MB, free: 12.3 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.027e-06/0.08504, allocations: 0 / 454.9 MB, free: 12.3 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.08504, allocations: 0 / 454.9 MB, free: 12.3 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.113e-06/0.08506, allocations: 3.984 kB / 454.9 MB, free: 12.3 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.0004671/0.08553, allocations: 395.4 kB / 455.3 MB, free: 11.86 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.403e-05/0.08557, allocations: 11.89 kB / 455.3 MB, free: 11.85 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.991e-05/0.08561, allocations: 16.84 kB / 455.3 MB, free: 11.83 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001563/0.08577, allocations: 188.2 kB / 455.5 MB, free: 11.61 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.139e-05/0.08579, allocations: 8.547 kB / 455.5 MB, free: 11.6 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.583e-05/0.08583, allocations: 12.38 kB / 455.5 MB, free: 11.59 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001759/0.08601, allocations: 92.22 kB / 455.6 MB, free: 11.5 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.233e-05/0.08603, allocations: 4 kB / 455.6 MB, free: 11.49 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.282e-05/0.08604, allocations: 4 kB / 455.6 MB, free: 11.49 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.679e-06/0.08605, allocations: 0 / 455.6 MB, free: 11.49 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001066/0.08616, allocations: 59.95 kB / 455.7 MB, free: 11.43 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005045/0.08667, allocations: 392.5 kB / 456.1 MB, free: 11 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001608/0.08685, allocations: 98.5 kB / 456.2 MB, free: 10.89 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.766e-05/0.08691, allocations: 37.06 kB / 456.2 MB, free: 10.85 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.172e-05/0.08693, allocations: 3.938 kB / 456.2 MB, free: 10.85 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.514e-05/0.08696, allocations: 38.56 kB / 456.2 MB, free: 10.8 MB / 334.1 MB Notification: Performance of pre-optimization done (n=12): time 1.243e-06/0.08697, allocations: 4 kB / 456.2 MB, free: 10.8 MB / 334.1 MB Notification: Performance of matching and sorting (n=16): time 0.001035/0.08801, allocations: 0.6818 MB / 456.9 MB, free: 10.02 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.143e-05/0.08806, allocations: 55.39 kB / 457 MB, free: 9.953 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.496e-05/0.08816, allocations: 129.7 kB / 457.1 MB, free: 9.816 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.633e-05/0.08818, allocations: 29.7 kB / 457.1 MB, free: 9.781 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.488e-05/0.08826, allocations: 104.3 kB / 457.2 MB, free: 9.672 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.824e-05/0.0883, allocations: 55.2 kB / 457.3 MB, free: 9.617 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.468e-05/0.08835, allocations: 29.72 kB / 457.3 MB, free: 9.582 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001034/0.08846, allocations: 322.8 kB / 457.6 MB, free: 9.258 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.282e-05/0.08853, allocations: 35.94 kB / 457.7 MB, free: 9.223 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.751e-05/0.08861, allocations: 58.55 kB / 457.7 MB, free: 9.156 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001294/0.08874, allocations: 102.5 kB / 457.8 MB, free: 9.047 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.052e-06/0.08875, allocations: 0 / 457.8 MB, free: 9.047 MB / 334.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002445/0.089, allocations: 174.2 kB / 458 MB, free: 8.871 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.522e-05/0.08903, allocations: 8 kB / 458 MB, free: 8.863 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.951e-06/0.08904, allocations: 4 kB / 458 MB, free: 8.859 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001243/0.08917, allocations: 28.84 kB / 458 MB, free: 8.828 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000112/0.08929, allocations: 23.98 kB / 458.1 MB, free: 8.805 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001208/0.0905, allocations: 1.619 MB / 459.7 MB, free: 7.039 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.71e-05/0.09056, allocations: 0 / 459.7 MB, free: 7.039 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.111e-05/0.09058, allocations: 8.031 kB / 459.7 MB, free: 7.031 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 (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 9.531e-05/0.09068, allocations: 134.3 kB / 459.8 MB, free: 6.891 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.181e-05/0.09072, allocations: 7.906 kB / 459.8 MB, free: 6.883 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.266e-05/0.09076, allocations: 20.83 kB / 459.9 MB, free: 6.867 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.402e-06/0.09077, allocations: 0 / 459.9 MB, free: 6.867 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.246e-06/0.09078, allocations: 0 / 459.9 MB, free: 6.867 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.09079, allocations: 4.062 kB / 459.9 MB, free: 6.863 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006047/0.0914, allocations: 0.5438 MB / 460.4 MB, free: 6.238 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/0.09141, allocations: 0 / 460.4 MB, free: 6.238 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001186/0.09154, allocations: 31.92 kB / 460.4 MB, free: 6.207 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.377e-05/0.09162, allocations: 24.94 kB / 460.5 MB, free: 6.18 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.198e-05/0.09164, allocations: 7.938 kB / 460.5 MB, free: 6.172 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008433/0.09249, allocations: 1.367 MB / 461.8 MB, free: 4.668 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.0925, allocations: 0 / 461.8 MB, free: 4.668 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003183/0.09282, allocations: 305.4 kB / 462.1 MB, free: 4.344 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.265e-05/0.09289, allocations: 92.97 kB / 462.2 MB, free: 4.234 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.624e-05/0.09291, allocations: 4 kB / 462.2 MB, free: 4.23 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.342e-05/0.09299, allocations: 4 kB / 462.2 MB, free: 4.227 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.564e-05/0.09302, allocations: 15.92 kB / 462.2 MB, free: 4.211 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.975e-06/0.09303, allocations: 4 kB / 462.2 MB, free: 4.207 MB / 334.1 MB Notification: Performance of sorting global known variables: time 5.229e-05/0.09309, allocations: 95.27 kB / 462.3 MB, free: 4.113 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.0931, allocations: 0 / 462.3 MB, free: 4.113 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002983/0.0934, allocations: 36.06 kB / 462.4 MB, free: 4.078 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 0.0001099/0.09352, allocations: 103.1 kB / 462.5 MB, free: 3.965 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0003774/0.0939, allocations: 222.6 kB / 462.7 MB, free: 3.734 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.09392, allocations: 3.938 kB / 462.7 MB, free: 3.73 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001775/0.0941, allocations: 166.9 kB / 462.9 MB, free: 3.555 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003733/0.09448, allocations: 19.98 kB / 462.9 MB, free: 3.535 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006214/0.09511, allocations: 420 kB / 463.3 MB, free: 3.082 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002606/0.09539, allocations: 0.7045 MB / 464 MB, free: 2.352 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.068e-05/0.09542, allocations: 11.44 kB / 464 MB, free: 2.34 MB / 334.1 MB Notification: Performance of SimCode: time 2.61e-07/0.09543, allocations: 4 kB / 464 MB, free: 2.336 MB / 334.1 MB Notification: Performance of Templates: time 0.003376/0.09881, allocations: 1.969 MB / 466 MB, free: 384 kB / 334.1 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)