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.01952/0.01952, allocations: 103.9 kB / 16.27 MB, free: 5.973 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.001669/0.001669, allocations: 191.2 kB / 17.2 MB, free: 5.598 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.835/1.835, allocations: 222.9 MB / 240.9 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTestOverdetermined 4.0.0+maint.om/package.mo): time 0.002921/0.002921, allocations: 0.5656 MB / 291.6 MB, free: 14.26 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00157/0.00157, allocations: 59.91 kB / 352.2 MB, free: 1.625 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2916/0.2932, allocations: 49.6 MB / 401.8 MB, free: 36.19 MB / 302.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedInitial): time 0.001753/0.295, allocations: 0.5035 MB / 402.3 MB, free: 35.7 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.000153/0.2952, allocations: 31.89 kB / 402.4 MB, free: 35.67 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.049e-05/0.2952, allocations: 0 / 402.4 MB, free: 35.67 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 1.694e-05/0.2953, allocations: 3.938 kB / 402.4 MB, free: 35.67 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 2.414e-05/0.2953, allocations: 0 / 402.4 MB, free: 35.67 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001468/0.2955, allocations: 10.73 kB / 402.4 MB, free: 35.66 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 5.329e-05/0.2955, allocations: 12 kB / 402.4 MB, free: 35.65 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.071e-05/0.2956, allocations: 7.984 kB / 402.4 MB, free: 35.64 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.138e-05/0.2956, allocations: 15.88 kB / 402.4 MB, free: 35.62 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.45e-05/0.2957, allocations: 11.91 kB / 402.4 MB, free: 35.61 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.639e-05/0.2957, allocations: 4 kB / 402.4 MB, free: 35.61 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.317e-06/0.2957, allocations: 0 / 402.4 MB, free: 35.61 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 1.725e-05/0.2957, allocations: 0 / 402.4 MB, free: 35.61 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 2.905e-05/0.2958, allocations: 15.94 kB / 402.4 MB, free: 35.59 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 6.042e-05/0.2958, allocations: 11.92 kB / 402.4 MB, free: 35.58 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.2958, allocations: 0 / 402.4 MB, free: 35.58 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.2958, allocations: 0 / 402.4 MB, free: 35.58 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.402e-06/0.2959, allocations: 0 / 402.4 MB, free: 35.58 MB / 302.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.0003613/0.2962, allocations: 337.6 kB / 402.8 MB, free: 35.2 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.642e-05/0.2963, allocations: 11.89 kB / 402.8 MB, free: 35.19 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.598e-05/0.2963, allocations: 4.938 kB / 402.8 MB, free: 35.19 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.781e-05/0.2964, allocations: 168.4 kB / 403 MB, free: 34.98 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.384e-05/0.2964, allocations: 8.375 kB / 403 MB, free: 34.98 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.27e-05/0.2964, allocations: 8.312 kB / 403 MB, free: 34.97 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000111/0.2966, allocations: 46.25 kB / 403 MB, free: 34.92 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.214e-05/0.2966, allocations: 192 / 403 MB, free: 34.92 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.919e-06/0.2966, allocations: 3.938 kB / 403 MB, free: 34.91 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.3e-06/0.2966, allocations: 4 kB / 403 MB, free: 34.91 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.322e-05/0.2967, allocations: 11.98 kB / 403 MB, free: 34.9 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003548/0.297, allocations: 290.5 kB / 403.3 MB, free: 34.56 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.933e-05/0.2971, allocations: 54.5 kB / 403.4 MB, free: 34.5 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.187e-05/0.2972, allocations: 12.86 kB / 403.4 MB, free: 34.48 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.188e-05/0.2972, allocations: 4 kB / 403.4 MB, free: 34.48 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.716e-05/0.2972, allocations: 30.56 kB / 403.4 MB, free: 34.44 MB / 302.1 MB Notification: Performance of pre-optimization done (n=4): time 1.112e-06/0.2972, allocations: 0 / 403.4 MB, free: 34.44 MB / 302.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003659/0.2976, allocations: 163.8 kB / 403.6 MB, free: 34.25 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.35e-05/0.2976, allocations: 51.41 kB / 403.6 MB, free: 34.19 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.612e-05/0.2977, allocations: 101.9 kB / 403.7 MB, free: 34.08 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 9.237e-06/0.2977, allocations: 29.64 kB / 403.8 MB, free: 34.04 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.106e-05/0.2977, allocations: 92.03 kB / 403.8 MB, free: 33.95 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.573e-05/0.2977, allocations: 11.81 kB / 403.9 MB, free: 33.94 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.654e-05/0.2978, allocations: 17.72 kB / 403.9 MB, free: 33.91 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 4.976e-05/0.2978, allocations: 318.8 kB / 404.2 MB, free: 33.59 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.236e-05/0.2978, allocations: 16 kB / 404.2 MB, free: 33.58 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.359e-05/0.2979, allocations: 17.72 kB / 404.2 MB, free: 33.55 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.554e-05/0.2979, allocations: 37.64 kB / 404.3 MB, free: 33.51 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.522e-06/0.2979, allocations: 0 / 404.3 MB, free: 33.51 MB / 302.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001095/0.298, allocations: 70.48 kB / 404.3 MB, free: 33.43 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.228e-05/0.2981, allocations: 8 kB / 404.3 MB, free: 33.43 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/0.2981, allocations: 0 / 404.3 MB, free: 33.43 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001655/0.2982, allocations: 24.81 kB / 404.4 MB, free: 33.4 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.502e-05/0.2983, allocations: 8 kB / 404.4 MB, free: 33.39 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000655/0.299, allocations: 1.339 MB / 405.7 MB, free: 31.91 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2e-05/0.299, allocations: 7.938 kB / 405.7 MB, free: 31.9 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.429e-06/0.299, allocations: 0 / 405.7 MB, free: 31.9 MB / 302.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 6.33e-05/0.2991, allocations: 123.7 kB / 405.8 MB, free: 31.77 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.303e-05/0.2991, allocations: 8.156 kB / 405.8 MB, free: 31.76 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.617e-05/0.2991, allocations: 7.5 kB / 405.8 MB, free: 31.75 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.274e-06/0.2991, allocations: 4 kB / 405.9 MB, free: 31.75 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.2992, allocations: 4 kB / 405.9 MB, free: 31.75 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/0.2992, allocations: 0 / 405.9 MB, free: 31.75 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001198/0.2993, allocations: 157.6 kB / 406 MB, free: 31.54 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.2993, allocations: 0 / 406 MB, free: 31.54 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.484e-05/0.2993, allocations: 4 kB / 406 MB, free: 31.54 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.796e-05/0.2994, allocations: 16.84 kB / 406 MB, free: 31.52 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.067e-06/0.2994, allocations: 7.938 kB / 406 MB, free: 31.51 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005812/0.3, allocations: 1.344 MB / 407.4 MB, free: 30.03 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.934e-06/0.3, allocations: 3.938 kB / 407.4 MB, free: 30.02 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001298/0.3001, allocations: 176.3 kB / 407.6 MB, free: 29.83 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.858e-05/0.3002, allocations: 81.02 kB / 407.6 MB, free: 29.73 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.975e-06/0.3002, allocations: 3.938 kB / 407.6 MB, free: 29.73 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.823e-05/0.3002, allocations: 128 / 407.6 MB, free: 29.73 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.727e-05/0.3003, allocations: 8.031 kB / 407.6 MB, free: 29.72 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.146e-06/0.3003, allocations: 3.938 kB / 407.7 MB, free: 29.72 MB / 302.1 MB Notification: Performance of sorting global known variables: time 2.32e-05/0.3003, allocations: 87.27 kB / 407.7 MB, free: 29.63 MB / 302.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3003, allocations: 0 / 407.7 MB, free: 29.63 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002328/0.3005, allocations: 4 kB / 407.7 MB, free: 29.63 MB / 302.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 6.904e-05/0.3006, allocations: 91.25 kB / 407.8 MB, free: 29.53 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002402/0.3009, allocations: 146.6 kB / 408 MB, free: 29.37 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.3009, allocations: 4 kB / 408 MB, free: 29.37 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 9.937e-05/0.301, allocations: 126.7 kB / 408.1 MB, free: 29.23 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002356/0.3012, allocations: 4 kB / 408.1 MB, free: 29.23 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002673/0.3015, allocations: 163.8 kB / 408.3 MB, free: 29.04 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001368/0.3017, allocations: 0.6846 MB / 409 MB, free: 28.32 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.964e-05/0.3017, allocations: 11.44 kB / 409 MB, free: 28.31 MB / 302.1 MB Notification: Performance of SimCode: time 2.3e-07/0.3017, allocations: 0 / 409 MB, free: 28.31 MB / 302.1 MB Notification: Performance of Templates: time 0.002463/0.3042, allocations: 0.8462 MB / 409.8 MB, free: 27.47 MB / 302.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)