Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedInitial.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.TwoMassesEquationsReducedInitial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedInitial") translateModel(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedInitial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedInitial") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001166/0.001166, allocations: 104.3 kB / 16.4 MB, free: 6.457 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.001191/0.001191, allocations: 189.7 kB / 17.34 MB, free: 5.719 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.292/1.292, allocations: 222.9 MB / 241 MB, free: 15.11 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.003032/0.003032, allocations: 0.5655 MB / 291.8 MB, free: 14.18 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001167/0.001167, allocations: 63.89 kB / 403.1 MB, free: 32.17 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07238/0.07356, allocations: 49.59 MB / 452.7 MB, free: 14.53 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedInitial): time 0.001427/0.07503, allocations: 0.5086 MB / 453.2 MB, free: 14.02 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.000138/0.07518, allocations: 27.83 kB / 453.2 MB, free: 14 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.186e-05/0.07521, allocations: 0 / 453.2 MB, free: 14 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 1.429e-05/0.07523, allocations: 3.938 kB / 453.2 MB, free: 13.99 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 2.642e-05/0.07527, allocations: 4 kB / 453.2 MB, free: 13.99 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001105/0.07539, allocations: 11.94 kB / 453.2 MB, free: 13.98 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 4.74e-05/0.07544, allocations: 15.98 kB / 453.3 MB, free: 13.96 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.596e-05/0.07549, allocations: 0 / 453.3 MB, free: 13.96 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.409e-05/0.07552, allocations: 11.92 kB / 453.3 MB, free: 13.95 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.708e-05/0.07558, allocations: 11.98 kB / 453.3 MB, free: 13.94 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.233e-05/0.0756, allocations: 0 / 453.3 MB, free: 13.94 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.134e-06/0.07561, allocations: 0 / 453.3 MB, free: 13.94 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.619e-05/0.07563, allocations: 11.88 kB / 453.3 MB, free: 13.93 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 2.551e-05/0.07566, allocations: 15.92 kB / 453.3 MB, free: 13.91 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 4.996e-05/0.07572, allocations: 11.98 kB / 453.3 MB, free: 13.9 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.337e-06/0.07573, allocations: 0 / 453.3 MB, free: 13.9 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.705e-06/0.07573, allocations: 0 / 453.3 MB, free: 13.9 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.328e-06/0.07574, allocations: 3.938 kB / 453.3 MB, free: 13.89 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.000361/0.07611, allocations: 331.5 kB / 453.6 MB, free: 13.52 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.625e-05/0.07615, allocations: 15.89 kB / 453.7 MB, free: 13.5 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.683e-05/0.07618, allocations: 4.844 kB / 453.7 MB, free: 13.5 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000103/0.07629, allocations: 164.4 kB / 453.8 MB, free: 13.3 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.049e-05/0.07631, allocations: 4.375 kB / 453.8 MB, free: 13.3 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.19e-05/0.07633, allocations: 8.375 kB / 453.8 MB, free: 13.29 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.39e-05/0.07644, allocations: 54.17 kB / 453.9 MB, free: 13.23 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.859e-06/0.07645, allocations: 192 / 453.9 MB, free: 13.23 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.538e-06/0.07647, allocations: 3.938 kB / 453.9 MB, free: 13.23 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.797e-06/0.07647, allocations: 0 / 453.9 MB, free: 13.23 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.657e-05/0.07651, allocations: 12 kB / 453.9 MB, free: 13.21 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003505/0.07687, allocations: 290.6 kB / 454.2 MB, free: 12.88 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.456e-05/0.07696, allocations: 54.44 kB / 454.2 MB, free: 12.81 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.111e-05/0.07699, allocations: 8.859 kB / 454.3 MB, free: 12.8 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.023e-05/0.07701, allocations: 4.078 kB / 454.3 MB, free: 12.8 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.874e-05/0.07703, allocations: 34.56 kB / 454.3 MB, free: 12.75 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 1.092e-06/0.07704, allocations: 0 / 454.3 MB, free: 12.75 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003481/0.07739, allocations: 155.9 kB / 454.4 MB, free: 12.57 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.036e-05/0.07743, allocations: 59.39 kB / 454.5 MB, free: 12.5 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.2e-05/0.0775, allocations: 93.86 kB / 454.6 MB, free: 12.4 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.262e-05/0.07752, allocations: 33.7 kB / 454.6 MB, free: 12.36 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.54e-05/0.07756, allocations: 80.14 kB / 454.7 MB, free: 12.28 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.691e-05/0.07758, allocations: 15.73 kB / 454.7 MB, free: 12.27 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.067e-05/0.07762, allocations: 21.72 kB / 454.7 MB, free: 12.24 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 9.995e-05/0.07772, allocations: 318.8 kB / 455.1 MB, free: 11.92 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.823e-05/0.07774, allocations: 7.984 kB / 455.1 MB, free: 11.91 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.87e-05/0.07778, allocations: 29.72 kB / 455.1 MB, free: 11.88 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.666e-05/0.07783, allocations: 38.02 kB / 455.1 MB, free: 11.83 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.07784, allocations: 0 / 455.1 MB, free: 11.83 MB / 334.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001239/0.07796, allocations: 82.38 kB / 455.2 MB, free: 11.74 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.152e-05/0.07798, allocations: 4 kB / 455.2 MB, free: 11.74 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.947e-06/0.07799, allocations: 0 / 455.2 MB, free: 11.74 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001252/0.07812, allocations: 20.88 kB / 455.2 MB, free: 11.71 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.935e-05/0.07818, allocations: 8 kB / 455.2 MB, free: 11.71 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000941/0.07913, allocations: 1.347 MB / 456.6 MB, free: 10.22 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.038e-05/0.07916, allocations: 4 kB / 456.6 MB, free: 10.21 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.312e-06/0.07917, allocations: 7.969 kB / 456.6 MB, free: 10.21 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 (5): * Single equations (assignments): 4 * 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 prepare postOptimizeDAE: time 7.309e-05/0.07925, allocations: 110.4 kB / 456.7 MB, free: 10.09 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.507e-05/0.07928, allocations: 7.844 kB / 456.7 MB, free: 10.08 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.749e-05/0.0793, allocations: 11.5 kB / 456.7 MB, free: 10.07 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.203e-06/0.07931, allocations: 4.062 kB / 456.7 MB, free: 10.07 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.327e-06/0.07932, allocations: 3.984 kB / 456.7 MB, free: 10.06 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.07933, allocations: 0 / 456.7 MB, free: 10.06 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000162/0.07949, allocations: 161.6 kB / 456.9 MB, free: 9.855 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.0795, allocations: 0 / 456.9 MB, free: 9.855 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.803e-05/0.07954, allocations: 4 kB / 456.9 MB, free: 9.852 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.396e-05/0.07962, allocations: 16.84 kB / 456.9 MB, free: 9.832 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.398e-06/0.07963, allocations: 4 kB / 456.9 MB, free: 9.828 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008687/0.08051, allocations: 1.339 MB / 458.3 MB, free: 8.344 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.535e-06/0.08052, allocations: 4.094 kB / 458.3 MB, free: 8.34 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001693/0.0807, allocations: 176.3 kB / 458.4 MB, free: 8.148 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.179e-05/0.08074, allocations: 81.05 kB / 458.5 MB, free: 8.051 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.123e-05/0.08076, allocations: 11.97 kB / 458.5 MB, free: 8.039 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.854e-05/0.08081, allocations: 3.984 kB / 458.5 MB, free: 8.035 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.538e-05/0.08083, allocations: 0 / 458.5 MB, free: 8.035 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.819e-06/0.08084, allocations: 4 kB / 458.5 MB, free: 8.031 MB / 334.1 MB Notification: Performance of sorting global known variables: time 3.09e-05/0.08088, allocations: 79.34 kB / 458.6 MB, free: 7.953 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.08088, allocations: 0 / 458.6 MB, free: 7.953 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002269/0.08111, allocations: 12 kB / 458.6 MB, free: 7.941 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 8.851e-05/0.08121, allocations: 95.23 kB / 458.7 MB, free: 7.836 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002474/0.08146, allocations: 146.5 kB / 458.9 MB, free: 7.68 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.08147, allocations: 0 / 458.9 MB, free: 7.68 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001341/0.08161, allocations: 126.8 kB / 459 MB, free: 7.543 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001995/0.08182, allocations: 0 / 459 MB, free: 7.543 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002912/0.08212, allocations: 174 kB / 459.1 MB, free: 7.344 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002215/0.08235, allocations: 0.6807 MB / 459.8 MB, free: 6.637 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.783e-05/0.08238, allocations: 7.438 kB / 459.8 MB, free: 6.629 MB / 334.1 MB Notification: Performance of SimCode: time 2.6e-07/0.08238, allocations: 3.938 kB / 459.8 MB, free: 6.625 MB / 334.1 MB Notification: Performance of Templates: time 0.002122/0.08451, allocations: 0.8483 MB / 460.7 MB, free: 5.781 MB / 334.1 MB make -j1 -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedInitial.makefile (rm -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedInitial.pipe ; mkfifo ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedInitial.pipe ; head -c 1048576 < ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedInitial.pipe >> ../files/ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedInitial.sim & ./ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedInitial -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedInitial.pipe 2>&1)