Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullInitial.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.TwoMassesEquationsFullInitial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullInitial") translateModel(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullInitial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullInitial") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008959/0.0008959, allocations: 99.94 kB / 15.05 MB, free: 1.105 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.0009388/0.000939, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.177/1.177, allocations: 223.2 MB / 239.9 MB, free: 5.457 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.002143/0.002143, allocations: 0.5547 MB / 291.5 MB, free: 1.715 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002764/0.0002765, allocations: 8 kB / 352.6 MB, free: 2.891 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08113/0.08142, allocations: 50.58 MB / 403.2 MB, free: 280 kB / 286.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullInitial): time 0.0004961/0.08195, allocations: 234.3 kB / 403.4 MB, free: 48 kB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001166/0.08208, allocations: 23.92 kB / 403.4 MB, free: 24 kB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.859e-05/0.08211, allocations: 0 / 403.4 MB, free: 24 kB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 9.798e-06/0.08213, allocations: 7.875 kB / 403.4 MB, free: 16 kB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 2.889e-05/0.08216, allocations: 0 / 403.4 MB, free: 16 kB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 8.86e-05/0.08226, allocations: 11.98 kB / 403.4 MB, free: 4 kB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.1343/0.2165, allocations: 6.078 kB / 403.4 MB, free: 9.793 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.216e-05/0.2166, allocations: 1.625 kB / 403.4 MB, free: 9.793 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.034e-05/0.2167, allocations: 7.922 kB / 403.4 MB, free: 9.793 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.954e-05/0.2167, allocations: 12.47 kB / 403.5 MB, free: 9.793 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.419e-05/0.2167, allocations: 1.938 kB / 403.5 MB, free: 9.793 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.667e-06/0.2168, allocations: 1.031 kB / 403.5 MB, free: 9.793 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 1.222e-05/0.2168, allocations: 4.703 kB / 403.5 MB, free: 9.793 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 1.788e-05/0.2168, allocations: 30.41 kB / 403.5 MB, free: 9.762 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 3.243e-05/0.2168, allocations: 6.031 kB / 403.5 MB, free: 9.762 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.284e-06/0.2168, allocations: 3.656 kB / 403.5 MB, free: 9.762 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.873e-06/0.2169, allocations: 0 / 403.5 MB, free: 9.762 MB / 286.1 MB Notification: Performance of Transformations before backend: time 4.167e-06/0.2169, allocations: 1.688 kB / 403.5 MB, free: 9.762 MB / 286.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.0002454/0.2171, allocations: 330.7 kB / 403.8 MB, free: 9.418 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.114e-05/0.2171, allocations: 8.5 kB / 403.8 MB, free: 9.418 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.086e-05/0.2172, allocations: 10.3 kB / 403.8 MB, free: 9.41 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.803e-05/0.2173, allocations: 166 kB / 404 MB, free: 9.215 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.202e-05/0.2173, allocations: 4.719 kB / 404 MB, free: 9.215 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.814e-05/0.2173, allocations: 6.219 kB / 404 MB, free: 9.215 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.084e-05/0.2174, allocations: 44.31 kB / 404.1 MB, free: 9.184 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.979e-06/0.2174, allocations: 1.219 kB / 404.1 MB, free: 9.184 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.356e-06/0.2174, allocations: 0.7812 kB / 404.1 MB, free: 9.184 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.328e-06/0.2174, allocations: 0.7812 kB / 404.1 MB, free: 9.184 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.9e-05/0.2175, allocations: 19.86 kB / 404.1 MB, free: 9.18 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002035/0.2177, allocations: 250.8 kB / 404.3 MB, free: 8.914 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.78e-05/0.2178, allocations: 50.83 kB / 404.4 MB, free: 8.891 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.668e-06/0.2178, allocations: 4.719 kB / 404.4 MB, free: 8.887 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.132e-05/0.2178, allocations: 32.09 kB / 404.4 MB, free: 8.848 MB / 286.1 MB Notification: Performance of pre-optimization done (n=6): time 9.61e-07/0.2178, allocations: 0 / 404.4 MB, free: 8.848 MB / 286.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005584/0.2184, allocations: 0.5018 MB / 404.9 MB, free: 8.398 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.893e-05/0.2184, allocations: 58.19 kB / 405 MB, free: 8.332 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.047e-05/0.2185, allocations: 95.62 kB / 405.1 MB, free: 8.234 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 8.366e-06/0.2185, allocations: 30.33 kB / 405.1 MB, free: 8.203 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.67e-05/0.2185, allocations: 80.84 kB / 405.2 MB, free: 8.121 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.442e-05/0.2185, allocations: 29.48 kB / 405.2 MB, free: 8.102 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.927e-06/0.2185, allocations: 3.906 kB / 405.2 MB, free: 8.102 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 3.88e-05/0.2186, allocations: 317.4 kB / 405.5 MB, free: 7.789 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.099e-05/0.2186, allocations: 13.95 kB / 405.5 MB, free: 7.789 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.947e-05/0.2187, allocations: 35.83 kB / 405.6 MB, free: 7.766 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001853/0.2189, allocations: 209.3 kB / 405.8 MB, free: 7.57 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.203e-06/0.2189, allocations: 0.6875 kB / 405.8 MB, free: 7.57 MB / 286.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001426/0.219, allocations: 101.5 kB / 405.9 MB, free: 7.52 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.386e-05/0.219, allocations: 5.344 kB / 405.9 MB, free: 7.52 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/0.219, allocations: 1.406 kB / 405.9 MB, free: 7.52 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001038/0.2191, allocations: 21.06 kB / 405.9 MB, free: 7.512 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.736e-05/0.2192, allocations: 15.83 kB / 405.9 MB, free: 7.508 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00062/0.2198, allocations: 1.289 MB / 407.2 MB, free: 6.242 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.128e-05/0.2199, allocations: 4.594 kB / 407.2 MB, free: 6.242 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.432e-06/0.2199, allocations: 7.438 kB / 407.2 MB, free: 6.238 MB / 286.1 MB Warning: The initial conditions are over specified. The following 2 initial equations are redundant, so they are removed from the initialization sytem: x1 = 0.0 v1 = 0.0. 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 (8): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.247e-05/0.22, allocations: 116.5 kB / 407.3 MB, free: 6.121 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.258e-05/0.22, allocations: 5.719 kB / 407.3 MB, free: 6.117 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.785e-05/0.22, allocations: 9.25 kB / 407.3 MB, free: 6.105 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.874e-06/0.22, allocations: 1.5 kB / 407.3 MB, free: 6.105 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.846e-06/0.22, allocations: 0.6562 kB / 407.3 MB, free: 6.105 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.917e-06/0.2201, allocations: 1.094 kB / 407.3 MB, free: 6.105 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003369/0.2204, allocations: 377.7 kB / 407.7 MB, free: 5.762 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.2204, allocations: 1.406 kB / 407.7 MB, free: 5.762 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.87e-05/0.2205, allocations: 12.55 kB / 407.7 MB, free: 5.758 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.258e-05/0.2205, allocations: 21.98 kB / 407.7 MB, free: 5.75 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.888e-06/0.2206, allocations: 9.328 kB / 407.8 MB, free: 5.746 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005636/0.2211, allocations: 1.292 MB / 409 MB, free: 4.484 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.314e-06/0.2211, allocations: 1.781 kB / 409 MB, free: 4.484 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001947/0.2213, allocations: 265.3 kB / 409.3 MB, free: 4.262 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.662e-05/0.2214, allocations: 80.25 kB / 409.4 MB, free: 4.168 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.019e-05/0.2214, allocations: 7.078 kB / 409.4 MB, free: 4.164 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.251e-05/0.2214, allocations: 1.406 kB / 409.4 MB, free: 4.164 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.449e-05/0.2215, allocations: 14.19 kB / 409.4 MB, free: 4.16 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.081e-06/0.2215, allocations: 4.5 kB / 409.4 MB, free: 4.16 MB / 286.1 MB Notification: Performance of sorting global known variables: time 1.748e-05/0.2215, allocations: 78.69 kB / 409.5 MB, free: 4.086 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2215, allocations: 0 / 409.5 MB, free: 4.086 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0002221/0.2217, allocations: 11.47 kB / 409.5 MB, free: 4.086 MB / 286.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (x2,v2) * 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 (6): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 6.174e-05/0.2218, allocations: 105.9 kB / 409.6 MB, free: 3.992 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0002318/0.222, allocations: 162.6 kB / 409.8 MB, free: 3.879 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.222, allocations: 0 / 409.8 MB, free: 3.879 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000138/0.2222, allocations: 154.5 kB / 409.9 MB, free: 3.758 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001255/0.2223, allocations: 7.859 kB / 409.9 MB, free: 3.754 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000252/0.2226, allocations: 198.9 kB / 410.1 MB, free: 3.582 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001352/0.2227, allocations: 0.6877 MB / 410.8 MB, free: 2.887 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 2.277e-05/0.2228, allocations: 3.719 kB / 410.8 MB, free: 2.883 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.937e-05/0.2228, allocations: 9.625 kB / 410.8 MB, free: 2.879 MB / 286.1 MB Notification: Performance of SimCode: time 2.31e-07/0.2228, allocations: 1 kB / 410.8 MB, free: 2.879 MB / 286.1 MB Notification: Performance of Templates: time 0.003189/0.226, allocations: 0.6153 MB / 411.4 MB, free: 2.852 MB / 286.1 MB make -j1 -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullInitial.makefile Environment - environmentSimulation: (rm -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullInitial.pipe ; mkfifo ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullInitial.pipe ; head -c 1048576 < ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullInitial.pipe >> ../files/ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullInitial.sim & ./ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullInitial -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullInitial.pipe 2>&1) Environment - environmentSimulation: