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.00501/0.00501, allocations: 95.97 kB / 15.73 MB, free: 6.051 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.001164/0.001164, allocations: 197.2 kB / 16.67 MB, free: 5.973 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.351/1.351, allocations: 222.9 MB / 240.4 MB, free: 4.332 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.002617/0.002617, allocations: 0.5624 MB / 291.1 MB, free: 1.633 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001219/0.001219, allocations: 67.91 kB / 402.4 MB, free: 9.402 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07892/0.08015, allocations: 49.6 MB / 452 MB, free: 5.348 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedInitial): time 0.001746/0.08194, allocations: 0.5107 MB / 452.5 MB, free: 4.84 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001831/0.08215, allocations: 34.97 kB / 452.6 MB, free: 4.809 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.993e-05/0.08219, allocations: 0 / 452.6 MB, free: 4.809 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 1.739e-05/0.08222, allocations: 3.938 kB / 452.6 MB, free: 4.805 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 3.368e-05/0.08226, allocations: 0 / 452.6 MB, free: 4.805 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001324/0.08242, allocations: 3.984 kB / 452.6 MB, free: 4.801 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 6.266e-05/0.08249, allocations: 19.92 kB / 452.6 MB, free: 4.781 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.063e-05/0.08256, allocations: 4 kB / 452.6 MB, free: 4.777 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.354e-05/0.08259, allocations: 7.938 kB / 452.6 MB, free: 4.77 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.346e-05/0.08266, allocations: 11.92 kB / 452.6 MB, free: 4.758 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.852e-05/0.08268, allocations: 4 kB / 452.6 MB, free: 4.754 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.566e-06/0.0827, allocations: 0 / 452.6 MB, free: 4.754 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 1.706e-05/0.08272, allocations: 7.984 kB / 452.6 MB, free: 4.746 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 2.954e-05/0.08275, allocations: 15.92 kB / 452.6 MB, free: 4.73 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 6.997e-05/0.08283, allocations: 15.86 kB / 452.6 MB, free: 4.715 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.296e-06/0.08284, allocations: 0 / 452.6 MB, free: 4.715 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.193e-06/0.08284, allocations: 0 / 452.6 MB, free: 4.715 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.989e-06/0.08285, allocations: 0 / 452.6 MB, free: 4.715 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.0003744/0.08323, allocations: 331.5 kB / 453 MB, free: 4.34 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.814e-05/0.08328, allocations: 11.89 kB / 453 MB, free: 4.328 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.613e-05/0.08332, allocations: 8.891 kB / 453 MB, free: 4.32 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001297/0.08346, allocations: 168.4 kB / 453.2 MB, free: 4.117 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.177e-05/0.08347, allocations: 8.312 kB / 453.2 MB, free: 4.109 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.514e-05/0.0835, allocations: 4.375 kB / 453.2 MB, free: 4.105 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001041/0.08361, allocations: 50.17 kB / 453.2 MB, free: 4.051 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.248e-06/0.08363, allocations: 192 / 453.2 MB, free: 4.051 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.25e-05/0.08365, allocations: 7.938 kB / 453.2 MB, free: 4.043 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.663e-06/0.08366, allocations: 4 kB / 453.2 MB, free: 4.039 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.665e-05/0.0837, allocations: 4 kB / 453.2 MB, free: 4.035 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003926/0.0841, allocations: 302.5 kB / 453.5 MB, free: 3.684 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.931e-05/0.0842, allocations: 50.5 kB / 453.6 MB, free: 3.625 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.482e-05/0.08423, allocations: 12.86 kB / 453.6 MB, free: 3.609 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.508e-06/0.08425, allocations: 4.094 kB / 453.6 MB, free: 3.605 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.195e-05/0.08427, allocations: 34.55 kB / 453.6 MB, free: 3.562 MB / 318.1 MB Notification: Performance of pre-optimization done (n=4): time 1.132e-06/0.08428, allocations: 0 / 453.6 MB, free: 3.562 MB / 318.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003811/0.08466, allocations: 159.7 kB / 453.8 MB, free: 3.379 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.209e-05/0.08471, allocations: 55.39 kB / 453.8 MB, free: 3.312 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.084e-05/0.08478, allocations: 105.8 kB / 453.9 MB, free: 3.199 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.179e-05/0.0848, allocations: 25.7 kB / 454 MB, free: 3.168 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.757e-05/0.08484, allocations: 80.14 kB / 454 MB, free: 3.086 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.91e-05/0.08487, allocations: 23.84 kB / 454.1 MB, free: 3.062 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.198e-05/0.08492, allocations: 17.72 kB / 454.1 MB, free: 3.039 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001076/0.08503, allocations: 318.8 kB / 454.4 MB, free: 2.719 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.512e-05/0.08506, allocations: 15.98 kB / 454.4 MB, free: 2.703 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.169e-05/0.0851, allocations: 13.72 kB / 454.4 MB, free: 2.684 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.045e-05/0.08515, allocations: 33.66 kB / 454.5 MB, free: 2.645 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.472e-06/0.08516, allocations: 0 / 454.5 MB, free: 2.645 MB / 318.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001486/0.08531, allocations: 78.47 kB / 454.5 MB, free: 2.559 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.836e-05/0.08534, allocations: 8 kB / 454.5 MB, free: 2.551 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.55e-06/0.08535, allocations: 4.031 kB / 454.5 MB, free: 2.547 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001373/0.08549, allocations: 16.84 kB / 454.6 MB, free: 2.527 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.122e-05/0.08557, allocations: 4 kB / 454.6 MB, free: 2.523 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001037/0.08661, allocations: 1.343 MB / 455.9 MB, free: 1.039 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.634e-05/0.08665, allocations: 11.92 kB / 455.9 MB, free: 1.027 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.749e-06/0.08666, allocations: 128 / 455.9 MB, free: 1.027 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 (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 8.023e-05/0.08674, allocations: 114.6 kB / 456 MB, free: 0.9062 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.392e-05/0.08677, allocations: 7.938 kB / 456 MB, free: 0.8984 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.67e-05/0.0868, allocations: 7.5 kB / 456 MB, free: 0.8906 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.222e-06/0.0868, allocations: 0 / 456 MB, free: 0.8906 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.08681, allocations: 4 kB / 456.1 MB, free: 0.8867 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.587e-06/0.08682, allocations: 3.984 kB / 456.1 MB, free: 0.8828 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001412/0.08696, allocations: 157.6 kB / 456.2 MB, free: 0.6797 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.08697, allocations: 0 / 456.2 MB, free: 0.6797 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.784e-05/0.08703, allocations: 8 kB / 456.2 MB, free: 0.6719 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.974e-05/0.0871, allocations: 20.78 kB / 456.2 MB, free: 0.6484 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.336e-06/0.08713, allocations: 4 kB / 456.2 MB, free: 0.6445 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008492/0.08799, allocations: 1.351 MB / 457.6 MB, free: 15.15 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/0.088, allocations: 3.938 kB / 457.6 MB, free: 15.14 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000173/0.08818, allocations: 176.3 kB / 457.8 MB, free: 14.95 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.1e-05/0.08822, allocations: 77.11 kB / 457.8 MB, free: 14.86 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.779e-06/0.08824, allocations: 3.938 kB / 457.8 MB, free: 14.86 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.044e-05/0.08829, allocations: 3.984 kB / 457.9 MB, free: 14.85 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.922e-05/0.08832, allocations: 12.09 kB / 457.9 MB, free: 14.84 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.497e-06/0.08833, allocations: 0 / 457.9 MB, free: 14.84 MB / 334.1 MB Notification: Performance of sorting global known variables: time 3.961e-05/0.08837, allocations: 83.28 kB / 457.9 MB, free: 14.76 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.08838, allocations: 0 / 457.9 MB, free: 14.76 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002326/0.08862, allocations: 4 kB / 457.9 MB, free: 14.75 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 7.518e-05/0.0887, allocations: 95.23 kB / 458 MB, free: 14.65 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002535/0.08896, allocations: 146.7 kB / 458.2 MB, free: 14.49 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.983e-06/0.08897, allocations: 0 / 458.2 MB, free: 14.49 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001193/0.0891, allocations: 122.7 kB / 458.3 MB, free: 14.36 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002055/0.08931, allocations: 11.05 kB / 458.3 MB, free: 14.35 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002604/0.08958, allocations: 137.9 kB / 458.5 MB, free: 14.19 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002436/0.08983, allocations: 0.6807 MB / 459.1 MB, free: 13.48 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 2.029e-05/0.08986, allocations: 8 kB / 459.1 MB, free: 13.48 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.734e-05/0.08988, allocations: 7.438 kB / 459.1 MB, free: 13.47 MB / 334.1 MB Notification: Performance of SimCode: time 1.663e-06/0.08989, allocations: 0 / 459.1 MB, free: 13.47 MB / 334.1 MB Notification: Performance of Templates: time 0.002568/0.09246, allocations: 0.5443 MB / 459.7 MB, free: 12.97 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)