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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007329/0.007329, allocations: 101 kB / 15.73 MB, free: 6.047 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.001715/0.001715, allocations: 188 kB / 16.67 MB, free: 5.977 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.361/1.361, allocations: 222.9 MB / 240.4 MB, free: 4.324 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.002599/0.0026, allocations: 0.5623 MB / 291.1 MB, free: 1.629 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001239/0.001239, allocations: 63.95 kB / 402.4 MB, free: 9.332 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08607/0.08732, allocations: 49.6 MB / 452 MB, free: 5.316 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedSteadyState): time 0.001484/0.08885, allocations: 0.5135 MB / 452.5 MB, free: 4.809 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001513/0.08902, allocations: 30.95 kB / 452.5 MB, free: 4.781 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.297e-05/0.08905, allocations: 0 / 452.5 MB, free: 4.781 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 1.375e-05/0.08907, allocations: 0 / 452.5 MB, free: 4.781 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 3.225e-05/0.08911, allocations: 3.938 kB / 452.5 MB, free: 4.777 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001138/0.08923, allocations: 8 kB / 452.6 MB, free: 4.77 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 5.157e-05/0.08929, allocations: 15.97 kB / 452.6 MB, free: 4.754 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.478e-05/0.08935, allocations: 8 kB / 452.6 MB, free: 4.746 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.149e-05/0.08938, allocations: 11.92 kB / 452.6 MB, free: 4.734 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.737e-05/0.08944, allocations: 3.938 kB / 452.6 MB, free: 4.73 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.511e-05/0.08946, allocations: 7.938 kB / 452.6 MB, free: 4.723 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.735e-06/0.08947, allocations: 3.938 kB / 452.6 MB, free: 4.719 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 1.721e-05/0.0895, allocations: 7.984 kB / 452.6 MB, free: 4.711 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 2.428e-05/0.08953, allocations: 11.92 kB / 452.6 MB, free: 4.699 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 5.862e-05/0.08959, allocations: 15.92 kB / 452.6 MB, free: 4.684 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.356e-06/0.0896, allocations: 0 / 452.6 MB, free: 4.684 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.714e-06/0.08961, allocations: 4 kB / 452.6 MB, free: 4.68 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.779e-06/0.08961, allocations: 0 / 452.6 MB, free: 4.68 MB / 318.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.0003786/0.09, allocations: 331.5 kB / 453 MB, free: 4.305 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.651e-05/0.09004, allocations: 11.89 kB / 453 MB, free: 4.293 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.976e-05/0.09008, allocations: 8.844 kB / 453 MB, free: 4.285 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001127/0.09019, allocations: 164.4 kB / 453.2 MB, free: 4.086 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.178e-05/0.09021, allocations: 4.375 kB / 453.2 MB, free: 4.082 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.403e-05/0.09024, allocations: 4.375 kB / 453.2 MB, free: 4.078 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001006/0.09034, allocations: 46.25 kB / 453.2 MB, free: 4.027 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.34e-05/0.09037, allocations: 8.188 kB / 453.2 MB, free: 4.02 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.478e-06/0.09038, allocations: 3.938 kB / 453.2 MB, free: 4.016 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.978e-06/0.09039, allocations: 0 / 453.2 MB, free: 4.016 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.167e-05/0.09043, allocations: 19.92 kB / 453.2 MB, free: 3.996 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003787/0.09082, allocations: 290.6 kB / 453.5 MB, free: 3.656 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.859e-05/0.09092, allocations: 46.5 kB / 453.6 MB, free: 3.602 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.441e-05/0.09095, allocations: 20.94 kB / 453.6 MB, free: 3.578 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.11e-05/0.09097, allocations: 3.938 kB / 453.6 MB, free: 3.574 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.063e-05/0.09099, allocations: 30.56 kB / 453.6 MB, free: 3.535 MB / 318.1 MB Notification: Performance of pre-optimization done (n=4): time 1.102e-06/0.091, allocations: 0 / 453.6 MB, free: 3.535 MB / 318.1 MB Notification: Performance of matching and sorting (n=4): time 0.00037/0.09137, allocations: 159.6 kB / 453.8 MB, free: 3.352 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.189e-05/0.09142, allocations: 55.34 kB / 453.8 MB, free: 3.285 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.033e-05/0.09149, allocations: 97.86 kB / 453.9 MB, free: 3.18 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.269e-05/0.09151, allocations: 29.64 kB / 454 MB, free: 3.145 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.102e-05/0.09156, allocations: 92.12 kB / 454 MB, free: 3.051 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.604e-05/0.09158, allocations: 11.75 kB / 454.1 MB, free: 3.039 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.99e-05/0.09162, allocations: 17.72 kB / 454.1 MB, free: 3.016 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001122/0.09173, allocations: 326.8 kB / 454.4 MB, free: 2.688 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.978e-05/0.09176, allocations: 4 kB / 454.4 MB, free: 2.684 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.823e-05/0.09179, allocations: 21.72 kB / 454.4 MB, free: 2.656 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.843e-05/0.09185, allocations: 37.7 kB / 454.5 MB, free: 2.613 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.09185, allocations: 0 / 454.5 MB, free: 2.613 MB / 318.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 8.718e-05/0.09195, allocations: 65.53 kB / 454.5 MB, free: 2.543 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.133e-05/0.09196, allocations: 4 kB / 454.5 MB, free: 2.539 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.887e-06/0.09197, allocations: 0 / 454.5 MB, free: 2.539 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.08e-05/0.09199, allocations: 0 / 454.5 MB, free: 2.539 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.008e-05/0.09208, allocations: 12 kB / 454.5 MB, free: 2.527 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.452e-06/0.0921, allocations: 3.984 kB / 454.5 MB, free: 2.523 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.133e-05/0.09212, allocations: 11.97 kB / 454.5 MB, free: 2.512 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.77e-06/0.09214, allocations: 4 kB / 454.6 MB, free: 2.508 MB / 318.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 (6): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.679e-05/0.09221, allocations: 121.7 kB / 454.7 MB, free: 2.379 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.282e-05/0.09223, allocations: 0 / 454.7 MB, free: 2.379 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.41e-05/0.09226, allocations: 7.5 kB / 454.7 MB, free: 2.367 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.403e-06/0.09227, allocations: 0 / 454.7 MB, free: 2.367 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.222e-06/0.09228, allocations: 4 kB / 454.7 MB, free: 2.363 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.455e-06/0.09229, allocations: 0 / 454.7 MB, free: 2.363 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001643/0.09245, allocations: 157.6 kB / 454.8 MB, free: 2.16 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.09247, allocations: 4 kB / 454.8 MB, free: 2.156 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.743e-05/0.09251, allocations: 4 kB / 454.8 MB, free: 2.152 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001394/0.09265, allocations: 16.84 kB / 454.9 MB, free: 2.133 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.223e-06/0.09267, allocations: 0 / 454.9 MB, free: 2.133 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009188/0.0936, allocations: 1.355 MB / 456.2 MB, free: 0.6406 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.796e-06/0.09361, allocations: 3.984 kB / 456.2 MB, free: 0.6367 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001771/0.09379, allocations: 180.3 kB / 456.4 MB, free: 452 kB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.748e-05/0.09384, allocations: 81.17 kB / 456.5 MB, free: 352 kB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.067e-06/0.09386, allocations: 0 / 456.5 MB, free: 352 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.8e-05/0.09391, allocations: 3.938 kB / 456.5 MB, free: 348 kB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.245e-05/0.09394, allocations: 8.031 kB / 456.5 MB, free: 340 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.538e-06/0.09395, allocations: 3.984 kB / 456.5 MB, free: 336 kB / 318.1 MB Notification: Performance of sorting global known variables: time 3.049e-05/0.09398, allocations: 79.28 kB / 456.6 MB, free: 256 kB / 318.1 MB Notification: Performance of sort global known variables: time 1e-07/0.09399, allocations: 0 / 456.6 MB, free: 256 kB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002213/0.09422, allocations: 4 kB / 456.6 MB, free: 252 kB / 318.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 9.739e-05/0.09432, allocations: 103.2 kB / 456.7 MB, free: 136 kB / 318.1 MB Notification: Performance of simCode: created initialization part: time 9.733e-05/0.09442, allocations: 27.92 kB / 456.7 MB, free: 108 kB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.09443, allocations: 0 / 456.7 MB, free: 108 kB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001963/0.09463, allocations: 126.7 kB / 456.8 MB, free: 15.97 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002102/0.09485, allocations: 14.92 kB / 456.8 MB, free: 15.96 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002254/0.09509, allocations: 138.2 kB / 457 MB, free: 15.79 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002301/0.09533, allocations: 0.6846 MB / 457.7 MB, free: 15.08 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 2.037e-05/0.09536, allocations: 3.984 kB / 457.7 MB, free: 15.08 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.905e-05/0.09538, allocations: 11.44 kB / 457.7 MB, free: 15.07 MB / 334.1 MB Notification: Performance of SimCode: time 2.21e-07/0.09539, allocations: 0 / 457.7 MB, free: 15.07 MB / 334.1 MB Notification: Performance of Templates: time 0.002423/0.09781, allocations: 470.6 kB / 458.1 MB, free: 14.65 MB / 334.1 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)