Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedSteadyState.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+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 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.TwoMassesEquationsReducedSteadyState,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedSteadyState") translateModel(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedSteadyState,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedSteadyState") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001302/0.001302, allocations: 179.2 kB / 16.12 MB, free: 5.57 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.342/1.342, allocations: 223.3 MB / 240.1 MB, free: 9.973 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.0008984/0.0008986, allocations: 100.8 kB / 291.3 MB, free: 10.57 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTestOverdetermined 4.0.0+maint.om/package.mo): time 0.002172/0.002172, allocations: 0.5675 MB / 343 MB, free: 6.906 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003536/0.0003538, allocations: 13.5 kB / 404.2 MB, free: 65.73 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07206/0.07243, allocations: 50.56 MB / 454.8 MB, free: 15.2 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.265/0.3374, allocations: 75.21 MB / 0.5175 GB, free: 6.938 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002489/0.3377, allocations: 65.34 kB / 0.5176 GB, free: 6.902 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.001587/0.3393, allocations: 0.6287 MB / 0.5182 GB, free: 6.332 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.444e-06/0.3394, allocations: 0 / 0.5182 GB, free: 6.332 MB / 330.7 MB Notification: Performance of Transformations before backend: time 8.526e-06/0.3394, allocations: 5.75 kB / 0.5182 GB, free: 6.328 MB / 330.7 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.0002985/0.3397, allocations: 327.1 kB / 0.5185 GB, free: 5.961 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.662e-05/0.3397, allocations: 8.031 kB / 0.5186 GB, free: 5.953 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.131e-05/0.3398, allocations: 9.531 kB / 0.5186 GB, free: 5.945 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001105/0.3399, allocations: 168.3 kB / 0.5187 GB, free: 5.742 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.203e-05/0.3399, allocations: 5.125 kB / 0.5187 GB, free: 5.742 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.136e-05/0.3399, allocations: 4.375 kB / 0.5187 GB, free: 5.738 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001027/0.34, allocations: 46.53 kB / 0.5188 GB, free: 5.691 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.101e-05/0.34, allocations: 192 / 0.5188 GB, free: 5.691 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.005e-05/0.3401, allocations: 11.69 kB / 0.5188 GB, free: 5.684 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.138e-06/0.3401, allocations: 0 / 0.5188 GB, free: 5.684 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.875e-05/0.3401, allocations: 11.98 kB / 0.5188 GB, free: 5.672 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003727/0.3405, allocations: 293.2 kB / 0.5191 GB, free: 5.344 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.26e-05/0.3406, allocations: 45.39 kB / 0.5191 GB, free: 5.297 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.723e-05/0.3406, allocations: 16.75 kB / 0.5191 GB, free: 5.281 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.815e-06/0.3406, allocations: 4 kB / 0.5191 GB, free: 5.277 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.708e-05/0.3407, allocations: 34.56 kB / 0.5192 GB, free: 5.234 MB / 330.7 MB Notification: Performance of pre-optimization done (n=4): time 1.142e-06/0.3407, allocations: 3.938 kB / 0.5192 GB, free: 5.23 MB / 330.7 MB Notification: Performance of matching and sorting (n=4): time 0.0003763/0.3411, allocations: 161.8 kB / 0.5193 GB, free: 5.055 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.55e-05/0.3411, allocations: 51.41 kB / 0.5194 GB, free: 4.992 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.385e-05/0.3412, allocations: 97.67 kB / 0.5195 GB, free: 4.891 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.282e-05/0.3412, allocations: 29.7 kB / 0.5195 GB, free: 4.855 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.374e-05/0.3413, allocations: 88.06 kB / 0.5196 GB, free: 4.766 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.957e-05/0.3413, allocations: 15.31 kB / 0.5196 GB, free: 4.754 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.805e-06/0.3413, allocations: 0 / 0.5196 GB, free: 4.754 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001246/0.3415, allocations: 314.8 kB / 0.5199 GB, free: 4.438 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.22e-05/0.3415, allocations: 11.8 kB / 0.5199 GB, free: 4.43 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.057e-05/0.3415, allocations: 22.09 kB / 0.5199 GB, free: 4.406 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.332e-05/0.3416, allocations: 33.41 kB / 0.52 GB, free: 4.375 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.973e-06/0.3416, allocations: 3.938 kB / 0.52 GB, free: 4.371 MB / 330.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 9.794e-05/0.3417, allocations: 60.72 kB / 0.52 GB, free: 4.312 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.408e-05/0.3417, allocations: 4 kB / 0.52 GB, free: 4.309 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.969e-06/0.3417, allocations: 0 / 0.52 GB, free: 4.309 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.596e-05/0.3417, allocations: 7.984 kB / 0.52 GB, free: 4.301 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.297e-05/0.3418, allocations: 11.94 kB / 0.52 GB, free: 4.293 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.829e-06/0.3419, allocations: 7.938 kB / 0.5201 GB, free: 4.285 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.257e-05/0.3419, allocations: 7.562 kB / 0.5201 GB, free: 4.281 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.85e-06/0.3419, allocations: 4.078 kB / 0.5201 GB, free: 4.277 MB / 330.7 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 (6): * Single equations (assignments): 6 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.491e-05/0.342, allocations: 113.8 kB / 0.5202 GB, free: 4.156 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.39e-05/0.342, allocations: 3.984 kB / 0.5202 GB, free: 4.152 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.34e-05/0.342, allocations: 10.98 kB / 0.5202 GB, free: 4.141 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-06/0.3421, allocations: 4 kB / 0.5202 GB, free: 4.137 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.991e-06/0.3421, allocations: 0 / 0.5202 GB, free: 4.137 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.986e-06/0.3421, allocations: 0 / 0.5202 GB, free: 4.137 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001573/0.3422, allocations: 161.1 kB / 0.5203 GB, free: 3.934 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.3422, allocations: 0 / 0.5203 GB, free: 3.934 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.618e-05/0.3423, allocations: 3.375 kB / 0.5204 GB, free: 3.934 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001394/0.3424, allocations: 24.75 kB / 0.5204 GB, free: 3.906 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.494e-06/0.3425, allocations: 0 / 0.5204 GB, free: 3.906 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00093/0.3434, allocations: 1.251 MB / 0.5216 GB, free: 2.555 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.825e-06/0.3434, allocations: 3.938 kB / 0.5216 GB, free: 2.551 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001743/0.3436, allocations: 174.6 kB / 0.5218 GB, free: 2.371 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.027e-05/0.3436, allocations: 77.11 kB / 0.5218 GB, free: 2.277 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.076e-05/0.3436, allocations: 7.438 kB / 0.5218 GB, free: 2.273 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.601e-05/0.3437, allocations: 160 / 0.5218 GB, free: 2.273 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.888e-05/0.3437, allocations: 12.02 kB / 0.5219 GB, free: 2.262 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.088e-06/0.3437, allocations: 2.75 kB / 0.5219 GB, free: 2.262 MB / 330.7 MB Notification: Performance of sorting global known variables: time 3.469e-05/0.3438, allocations: 79.28 kB / 0.5219 GB, free: 2.184 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3438, allocations: 3.938 kB / 0.5219 GB, free: 2.18 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002136/0.344, allocations: 11.5 kB / 0.522 GB, free: 2.172 MB / 330.7 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 (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%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001026/0.3441, allocations: 99.23 kB / 0.522 GB, free: 2.062 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 7.925e-05/0.3442, allocations: 27.25 kB / 0.5221 GB, free: 2.039 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.784e-06/0.3442, allocations: 0 / 0.5221 GB, free: 2.039 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001997/0.3444, allocations: 130 kB / 0.5222 GB, free: 1.906 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002006/0.3446, allocations: 3.5 kB / 0.5222 GB, free: 1.906 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002179/0.3449, allocations: 149.4 kB / 0.5223 GB, free: 1.738 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002464/0.3451, allocations: 0.6811 MB / 0.523 GB, free: 1.031 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 1.693e-05/0.3451, allocations: 7.984 kB / 0.523 GB, free: 1.023 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.535e-05/0.3452, allocations: 11.44 kB / 0.523 GB, free: 1.012 MB / 330.7 MB Notification: Performance of SimCode: time 2.3e-07/0.3452, allocations: 0 / 0.523 GB, free: 1.012 MB / 330.7 MB Notification: Performance of Templates: time 0.002251/0.3474, allocations: 440.6 kB / 0.5234 GB, free: 0.6367 MB / 330.7 MB make -j1 -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedSteadyState.makefile (rm -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedSteadyState.pipe ; mkfifo ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedSteadyState.pipe ; head -c 1048576 < ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedSteadyState.pipe >> ../files/ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedSteadyState.sim & ./ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedSteadyState -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedSteadyState.pipe 2>&1)