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.001311/0.00131, allocations: 104.8 kB / 15.98 MB, free: 6.352 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.001258/0.001258, allocations: 193 kB / 16.91 MB, free: 6.188 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.353/1.353, allocations: 222.9 MB / 240.6 MB, free: 15.43 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.002662/0.002662, allocations: 0.5634 MB / 291.3 MB, free: 14.44 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001208/0.001208, allocations: 59.91 kB / 351.7 MB, free: 2 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2316/0.2328, allocations: 49.59 MB / 401.3 MB, free: 36.23 MB / 302.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedInitial): time 0.001521/0.2344, allocations: 0.5837 MB / 401.9 MB, free: 35.66 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001465/0.2345, allocations: 23.91 kB / 401.9 MB, free: 35.64 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.194e-05/0.2346, allocations: 0 / 401.9 MB, free: 35.64 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 2.019e-05/0.2346, allocations: 0 / 401.9 MB, free: 35.64 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 3.22e-05/0.2346, allocations: 0 / 401.9 MB, free: 35.64 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001271/0.2348, allocations: 11.98 kB / 401.9 MB, free: 35.62 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 4.682e-05/0.2348, allocations: 14.5 kB / 401.9 MB, free: 35.61 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.56e-05/0.2349, allocations: 7.984 kB / 401.9 MB, free: 35.61 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.053e-05/0.2349, allocations: 11.92 kB / 402 MB, free: 35.59 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.401e-05/0.235, allocations: 11.92 kB / 402 MB, free: 35.58 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.386e-05/0.235, allocations: 0 / 402 MB, free: 35.58 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.386e-06/0.235, allocations: 0 / 402 MB, free: 35.58 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 1.57e-05/0.235, allocations: 8 kB / 402 MB, free: 35.57 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 2.414e-05/0.2351, allocations: 7.938 kB / 402 MB, free: 35.57 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 4.016e-05/0.2351, allocations: 7.984 kB / 402 MB, free: 35.56 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.19e-06/0.2351, allocations: 4 kB / 402 MB, free: 35.55 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.2351, allocations: 0 / 402 MB, free: 35.55 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.08e-06/0.2351, allocations: 0 / 402 MB, free: 35.55 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.000307/0.2354, allocations: 334.3 kB / 402.3 MB, free: 35.18 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.582e-05/0.2355, allocations: 11.89 kB / 402.3 MB, free: 35.17 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.964e-05/0.2355, allocations: 4.938 kB / 402.3 MB, free: 35.16 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.338e-05/0.2356, allocations: 164.4 kB / 402.5 MB, free: 34.96 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.094e-05/0.2356, allocations: 8.375 kB / 402.5 MB, free: 34.96 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.06e-05/0.2356, allocations: 384 / 402.5 MB, free: 34.96 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.865e-05/0.2357, allocations: 46.25 kB / 402.6 MB, free: 34.91 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.156e-05/0.2358, allocations: 8.125 kB / 402.6 MB, free: 34.9 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.828e-06/0.2358, allocations: 3.938 kB / 402.6 MB, free: 34.89 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.579e-06/0.2358, allocations: 0 / 402.6 MB, free: 34.89 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.107e-05/0.2358, allocations: 19.92 kB / 402.6 MB, free: 34.88 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003099/0.2361, allocations: 294.5 kB / 402.9 MB, free: 34.53 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.265e-05/0.2362, allocations: 50.44 kB / 402.9 MB, free: 34.47 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.382e-05/0.2363, allocations: 16.86 kB / 402.9 MB, free: 34.45 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.055e-05/0.2363, allocations: 0 / 402.9 MB, free: 34.45 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.482e-05/0.2363, allocations: 34.56 kB / 403 MB, free: 34.41 MB / 302.1 MB Notification: Performance of pre-optimization done (n=4): time 7.71e-07/0.2363, allocations: 0 / 403 MB, free: 34.41 MB / 302.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003421/0.2366, allocations: 159.7 kB / 403.1 MB, free: 34.23 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.499e-05/0.2367, allocations: 55.34 kB / 403.2 MB, free: 34.16 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.542e-05/0.2367, allocations: 97.86 kB / 403.3 MB, free: 34.05 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 7.855e-06/0.2367, allocations: 25.7 kB / 403.3 MB, free: 34.02 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.491e-05/0.2368, allocations: 96.03 kB / 403.4 MB, free: 33.93 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.423e-05/0.2368, allocations: 11.75 kB / 403.4 MB, free: 33.91 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.568e-05/0.2368, allocations: 17.72 kB / 403.4 MB, free: 33.89 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 4.683e-05/0.2369, allocations: 322.8 kB / 403.7 MB, free: 33.57 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.781e-05/0.2369, allocations: 12 kB / 403.8 MB, free: 33.55 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.066e-05/0.2369, allocations: 21.72 kB / 403.8 MB, free: 33.53 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.734e-05/0.237, allocations: 33.7 kB / 403.8 MB, free: 33.49 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.237, allocations: 0 / 403.8 MB, free: 33.49 MB / 302.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.000118/0.2371, allocations: 70.86 kB / 403.9 MB, free: 33.41 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.318e-05/0.2371, allocations: 4 kB / 403.9 MB, free: 33.41 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.38e-06/0.2371, allocations: 32 / 403.9 MB, free: 33.41 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001312/0.2373, allocations: 28.83 kB / 403.9 MB, free: 33.38 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.662e-05/0.2373, allocations: 11.98 kB / 403.9 MB, free: 33.36 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006212/0.2379, allocations: 1.339 MB / 405.3 MB, free: 31.88 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.909e-05/0.238, allocations: 3.906 kB / 405.3 MB, free: 31.88 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.859e-06/0.238, allocations: 4 kB / 405.3 MB, free: 31.87 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 5.189e-05/0.238, allocations: 122.5 kB / 405.4 MB, free: 31.74 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.133e-05/0.2381, allocations: 3.938 kB / 405.4 MB, free: 31.74 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.645e-05/0.2381, allocations: 11.5 kB / 405.4 MB, free: 31.73 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.041e-06/0.2381, allocations: 0 / 405.4 MB, free: 31.73 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.803e-06/0.2381, allocations: 0 / 405.4 MB, free: 31.73 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.104e-06/0.2381, allocations: 0 / 405.4 MB, free: 31.73 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001053/0.2382, allocations: 161.6 kB / 405.6 MB, free: 31.52 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.462e-06/0.2382, allocations: 0 / 405.6 MB, free: 31.52 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.52e-05/0.2383, allocations: 3.938 kB / 405.6 MB, free: 31.52 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.68e-05/0.2383, allocations: 16.84 kB / 405.6 MB, free: 31.5 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.615e-06/0.2383, allocations: 4 kB / 405.6 MB, free: 31.49 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005011/0.2388, allocations: 1.347 MB / 406.9 MB, free: 30 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.964e-06/0.2389, allocations: 7.969 kB / 406.9 MB, free: 30 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001238/0.239, allocations: 176.3 kB / 407.1 MB, free: 29.8 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.099e-05/0.239, allocations: 81.02 kB / 407.2 MB, free: 29.71 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.566e-06/0.239, allocations: 3.938 kB / 407.2 MB, free: 29.7 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.742e-05/0.2391, allocations: 8.156 kB / 407.2 MB, free: 29.7 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.66e-05/0.2391, allocations: 4 kB / 407.2 MB, free: 29.69 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.387e-06/0.2391, allocations: 0 / 407.2 MB, free: 29.69 MB / 302.1 MB Notification: Performance of sorting global known variables: time 1.878e-05/0.2391, allocations: 83.27 kB / 407.3 MB, free: 29.61 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2392, allocations: 0 / 407.3 MB, free: 29.61 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002228/0.2394, allocations: 8 kB / 407.3 MB, free: 29.6 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.829e-05/0.2395, allocations: 95.25 kB / 407.4 MB, free: 29.5 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002167/0.2397, allocations: 142.6 kB / 407.5 MB, free: 29.34 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.2397, allocations: 0 / 407.5 MB, free: 29.34 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 9.291e-05/0.2398, allocations: 130.7 kB / 407.7 MB, free: 29.2 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001996/0.24, allocations: 3.938 kB / 407.7 MB, free: 29.2 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002363/0.2402, allocations: 175.9 kB / 407.8 MB, free: 29 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.947e-05/0.2403, allocations: 0.6885 MB / 408.5 MB, free: 28.28 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.442e-05/0.2404, allocations: 7.438 kB / 408.5 MB, free: 28.27 MB / 302.1 MB Notification: Performance of SimCode: time 2.3e-07/0.2404, allocations: 0 / 408.5 MB, free: 28.27 MB / 302.1 MB Notification: Performance of Templates: time 0.002043/0.2424, allocations: 0.8322 MB / 409.4 MB, free: 27.45 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)