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+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.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.001569/0.001568, allocations: 170.1 kB / 16.11 MB, free: 5.582 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.311/1.311, allocations: 223.3 MB / 240.1 MB, free: 9.977 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.0007827/0.0007828, allocations: 95.31 kB / 291.3 MB, free: 10.59 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.002598/0.002598, allocations: 0.54 MB / 343 MB, free: 6.93 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003432/0.0003434, allocations: 12 kB / 404.2 MB, free: 65.75 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0735/0.07387, allocations: 50.57 MB / 454.8 MB, free: 15.21 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2534/0.3273, allocations: 76.51 MB / 0.5188 GB, free: 5.566 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000214/0.3276, allocations: 70.64 kB / 0.5189 GB, free: 5.527 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.006538/0.3341, allocations: 2.425 MB / 0.5213 GB, free: 3.469 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.305e-06/0.3342, allocations: 0 / 0.5213 GB, free: 3.469 MB / 330.7 MB Notification: Performance of Transformations before backend: time 9.948e-06/0.3342, allocations: 4 kB / 0.5213 GB, free: 3.465 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: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.0004519/0.3346, allocations: 382.5 kB / 0.5216 GB, free: 3.047 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.112e-05/0.3347, allocations: 8.031 kB / 0.5216 GB, free: 3.039 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.54e-05/0.3347, allocations: 12.84 kB / 0.5217 GB, free: 3.027 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000144/0.3349, allocations: 180.2 kB / 0.5218 GB, free: 2.812 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.492e-05/0.3349, allocations: 6.562 kB / 0.5218 GB, free: 2.809 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.731e-05/0.335, allocations: 6.75 kB / 0.5218 GB, free: 2.805 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001814/0.3351, allocations: 101.5 kB / 0.5219 GB, free: 2.723 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.432e-05/0.3352, allocations: 0 / 0.5219 GB, free: 2.723 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.42e-05/0.3352, allocations: 3.5 kB / 0.5219 GB, free: 2.723 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.122e-06/0.3352, allocations: 4 kB / 0.5219 GB, free: 2.719 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000112/0.3353, allocations: 56.2 kB / 0.522 GB, free: 2.68 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006048/0.3359, allocations: 387 kB / 0.5224 GB, free: 2.297 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001596/0.3361, allocations: 102.2 kB / 0.5225 GB, free: 2.219 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.894e-05/0.3362, allocations: 36.31 kB / 0.5225 GB, free: 2.191 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.878e-06/0.3362, allocations: 0 / 0.5225 GB, free: 2.191 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.525e-05/0.3362, allocations: 42.5 kB / 0.5225 GB, free: 2.141 MB / 330.7 MB Notification: Performance of pre-optimization done (n=12): time 1.212e-06/0.3362, allocations: 0 / 0.5225 GB, free: 2.141 MB / 330.7 MB Notification: Performance of matching and sorting (n=16): time 0.001033/0.3373, allocations: 0.6841 MB / 0.5232 GB, free: 1.465 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.203e-05/0.3373, allocations: 58.77 kB / 0.5233 GB, free: 1.398 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.895e-05/0.3374, allocations: 116.8 kB / 0.5234 GB, free: 1.281 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.844e-05/0.3374, allocations: 33.33 kB / 0.5234 GB, free: 1.246 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.031e-05/0.3375, allocations: 99.61 kB / 0.5235 GB, free: 1.145 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.635e-05/0.3376, allocations: 54.39 kB / 0.5236 GB, free: 1.098 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.759e-06/0.3376, allocations: 3.5 kB / 0.5236 GB, free: 1.098 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001/0.3377, allocations: 322.3 kB / 0.5239 GB, free: 0.7773 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.28e-05/0.3377, allocations: 31.05 kB / 0.5239 GB, free: 0.7578 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.808e-05/0.3378, allocations: 59.2 kB / 0.524 GB, free: 0.707 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001367/0.3379, allocations: 105.6 kB / 0.5241 GB, free: 0.6289 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.102e-06/0.338, allocations: 0 / 0.5241 GB, free: 0.6289 MB / 330.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002409/0.3382, allocations: 160.3 kB / 0.5242 GB, free: 0.5 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.78e-05/0.3382, allocations: 10.81 kB / 0.5242 GB, free: 0.4922 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.672e-06/0.3382, allocations: 3.984 kB / 0.5242 GB, free: 500 kB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000132/0.3384, allocations: 32.03 kB / 0.5242 GB, free: 472 kB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001129/0.3385, allocations: 24.02 kB / 0.5243 GB, free: 448 kB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001122/0.3396, allocations: 1.451 MB / 0.5257 GB, free: 14.94 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.378e-05/0.3397, allocations: 10.34 kB / 0.5257 GB, free: 14.93 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.088e-05/0.3397, allocations: 6.812 kB / 0.5257 GB, free: 14.93 MB / 346.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 (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%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.938e-05/0.3398, allocations: 120.2 kB / 0.5258 GB, free: 14.8 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.082e-05/0.3399, allocations: 16.22 kB / 0.5258 GB, free: 14.79 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.33e-05/0.3399, allocations: 19.52 kB / 0.5259 GB, free: 14.78 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.744e-06/0.3399, allocations: 0 / 0.5259 GB, free: 14.78 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.3399, allocations: 4 kB / 0.5259 GB, free: 14.77 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.21e-06/0.3399, allocations: 0 / 0.5259 GB, free: 14.77 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005999/0.3405, allocations: 0.5451 MB / 0.5264 GB, free: 14.22 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.3406, allocations: 4 kB / 0.5264 GB, free: 14.21 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001219/0.3407, allocations: 28.05 kB / 0.5264 GB, free: 14.19 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.788e-05/0.3408, allocations: 24.2 kB / 0.5264 GB, free: 14.16 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.566e-05/0.3408, allocations: 7.984 kB / 0.5265 GB, free: 14.16 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008588/0.3417, allocations: 1.28 MB / 0.5277 GB, free: 12.79 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.995e-06/0.3417, allocations: 3.938 kB / 0.5277 GB, free: 12.79 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000335/0.342, allocations: 292.6 kB / 0.528 GB, free: 12.52 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.446e-05/0.3421, allocations: 89.2 kB / 0.5281 GB, free: 12.41 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.681e-05/0.3421, allocations: 7.109 kB / 0.5281 GB, free: 12.41 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.705e-05/0.3422, allocations: 7.188 kB / 0.5281 GB, free: 12.41 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.034e-05/0.3422, allocations: 11.92 kB / 0.5281 GB, free: 12.39 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.786e-06/0.3422, allocations: 7.438 kB / 0.5281 GB, free: 12.39 MB / 346.7 MB Notification: Performance of sorting global known variables: time 5.251e-05/0.3423, allocations: 98.88 kB / 0.5282 GB, free: 12.3 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.3423, allocations: 0 / 0.5282 GB, free: 12.3 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003617/0.3427, allocations: 30.56 kB / 0.5282 GB, free: 12.27 MB / 346.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 (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.000124/0.3428, allocations: 103.2 kB / 0.5283 GB, free: 12.16 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0003742/0.3432, allocations: 222.5 kB / 0.5285 GB, free: 11.97 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.3432, allocations: 0 / 0.5285 GB, free: 11.97 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001788/0.3434, allocations: 173.3 kB / 0.5287 GB, free: 11.8 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000352/0.3438, allocations: 27.02 kB / 0.5287 GB, free: 11.78 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006507/0.3444, allocations: 460.7 kB / 0.5292 GB, free: 11.31 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002755/0.3447, allocations: 0.7048 MB / 0.5299 GB, free: 10.58 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 5.356e-05/0.3448, allocations: 12.64 kB / 0.5299 GB, free: 10.57 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.264e-05/0.3448, allocations: 15.44 kB / 0.5299 GB, free: 10.56 MB / 346.7 MB Notification: Performance of SimCode: time 2.2e-07/0.3448, allocations: 0 / 0.5299 GB, free: 10.56 MB / 346.7 MB Notification: Performance of Templates: time 0.003656/0.3485, allocations: 1.267 MB / 0.5311 GB, free: 9.352 MB / 346.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)