Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedSteadyState.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.TwoMassesReducedSteadyState,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedSteadyState") translateModel(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedSteadyState,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedSteadyState") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001372/0.001372, allocations: 106.3 kB / 15.99 MB, free: 5.891 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.001151/0.001151, allocations: 186.3 kB / 16.91 MB, free: 5.746 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.276/1.276, allocations: 222.9 MB / 240.6 MB, free: 15.42 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.002578/0.002578, allocations: 0.5661 MB / 291.3 MB, free: 14.43 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001187/0.001187, allocations: 67.88 kB / 351.7 MB, free: 1.969 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.231/0.2322, allocations: 49.59 MB / 401.3 MB, free: 36.21 MB / 302.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedSteadyState): time 0.002277/0.2345, allocations: 1.698 MB / 403 MB, free: 34.52 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002261/0.2348, allocations: 99.67 kB / 403.1 MB, free: 34.42 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.469e-05/0.2349, allocations: 2.281 kB / 403.1 MB, free: 34.42 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 5.474e-05/0.2349, allocations: 11.92 kB / 403.1 MB, free: 34.41 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 9.082e-05/0.235, allocations: 31.77 kB / 403.2 MB, free: 34.38 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001119/0.2351, allocations: 11.98 kB / 403.2 MB, free: 34.37 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 9.394e-05/0.2352, allocations: 115.5 kB / 403.3 MB, free: 34.25 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001277/0.2354, allocations: 31.98 kB / 403.3 MB, free: 34.22 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.46e-05/0.2354, allocations: 43.84 kB / 403.4 MB, free: 34.18 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.369e-05/0.2355, allocations: 43.84 kB / 403.4 MB, free: 34.14 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.145e-05/0.2355, allocations: 8 kB / 403.4 MB, free: 34.13 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.829e-05/0.2356, allocations: 8 kB / 403.4 MB, free: 34.12 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 2.112e-05/0.2356, allocations: 19.92 kB / 403.4 MB, free: 34.1 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 4.079e-05/0.2356, allocations: 47.75 kB / 403.5 MB, free: 34.05 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 8.707e-05/0.2357, allocations: 89.69 kB / 403.6 MB, free: 33.97 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.419e-06/0.2357, allocations: 4 kB / 403.6 MB, free: 33.96 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.2357, allocations: 0 / 403.6 MB, free: 33.96 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.471e-06/0.2358, allocations: 0 / 403.6 MB, free: 33.96 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: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.0003957/0.2362, allocations: 391.4 kB / 404 MB, free: 33.53 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.425e-05/0.2362, allocations: 11.89 kB / 404 MB, free: 33.52 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.358e-05/0.2362, allocations: 16.75 kB / 404 MB, free: 33.5 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001256/0.2364, allocations: 192.2 kB / 404.2 MB, free: 33.28 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.023e-05/0.2364, allocations: 8.562 kB / 404.2 MB, free: 33.27 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.608e-05/0.2364, allocations: 12.28 kB / 404.2 MB, free: 33.26 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001578/0.2366, allocations: 100 kB / 404.3 MB, free: 33.16 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.27e-05/0.2366, allocations: 0 / 404.3 MB, free: 33.16 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.174e-05/0.2366, allocations: 3.938 kB / 404.3 MB, free: 33.15 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.374e-06/0.2366, allocations: 4 kB / 404.3 MB, free: 33.15 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.231e-05/0.2367, allocations: 55.97 kB / 404.3 MB, free: 33.09 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004238/0.2372, allocations: 392.5 kB / 404.7 MB, free: 32.66 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001365/0.2373, allocations: 106.5 kB / 404.8 MB, free: 32.55 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.093e-05/0.2374, allocations: 40.78 kB / 404.9 MB, free: 32.5 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.406e-05/0.2374, allocations: 4 kB / 404.9 MB, free: 32.5 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.634e-05/0.2374, allocations: 30.78 kB / 404.9 MB, free: 32.46 MB / 302.1 MB Notification: Performance of pre-optimization done (n=12): time 1.823e-06/0.2374, allocations: 4 kB / 404.9 MB, free: 32.46 MB / 302.1 MB Notification: Performance of matching and sorting (n=16): time 0.0008799/0.2383, allocations: 0.6812 MB / 405.6 MB, free: 31.68 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.152e-05/0.2383, allocations: 51.41 kB / 405.6 MB, free: 31.62 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.367e-05/0.2384, allocations: 117.8 kB / 405.8 MB, free: 31.49 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.032e-05/0.2384, allocations: 33.7 kB / 405.8 MB, free: 31.45 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.426e-05/0.2385, allocations: 100.3 kB / 405.9 MB, free: 31.35 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.858e-05/0.2385, allocations: 55.2 kB / 405.9 MB, free: 31.3 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.139e-05/0.2385, allocations: 33.7 kB / 406 MB, free: 31.26 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 4.572e-05/0.2386, allocations: 322.8 kB / 406.3 MB, free: 30.93 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.894e-05/0.2387, allocations: 39.94 kB / 406.3 MB, free: 30.89 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.616e-05/0.2387, allocations: 55.25 kB / 406.4 MB, free: 30.83 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001055/0.2388, allocations: 106.5 kB / 406.5 MB, free: 30.72 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.22e-07/0.2388, allocations: 0 / 406.5 MB, free: 30.72 MB / 302.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0001506/0.239, allocations: 137.5 kB / 406.6 MB, free: 30.58 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.46e-05/0.239, allocations: 11.92 kB / 406.6 MB, free: 30.57 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.629e-06/0.239, allocations: 0 / 406.6 MB, free: 30.57 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.44e-05/0.239, allocations: 4 kB / 406.6 MB, free: 30.56 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001643/0.2392, allocations: 35.92 kB / 406.7 MB, free: 30.53 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.302e-06/0.2392, allocations: 0 / 406.7 MB, free: 30.53 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.565e-05/0.2393, allocations: 16.03 kB / 406.7 MB, free: 30.51 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.885e-06/0.2393, allocations: 4 kB / 406.7 MB, free: 30.51 MB / 302.1 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 (19): * Single equations (assignments): 19 * 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.033e-05/0.2393, allocations: 117.8 kB / 406.8 MB, free: 30.38 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.855e-05/0.2394, allocations: 15.75 kB / 406.8 MB, free: 30.37 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.23e-05/0.2394, allocations: 24.83 kB / 406.8 MB, free: 30.34 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.763e-06/0.2394, allocations: 3.938 kB / 406.9 MB, free: 30.34 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.935e-06/0.2394, allocations: 4.062 kB / 406.9 MB, free: 30.33 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.487e-06/0.2395, allocations: 0 / 406.9 MB, free: 30.33 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004517/0.2399, allocations: 0.4927 MB / 407.3 MB, free: 29.77 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.2399, allocations: 0 / 407.3 MB, free: 29.77 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001101/0.24, allocations: 23.98 kB / 407.4 MB, free: 29.75 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000109/0.2402, allocations: 24.89 kB / 407.4 MB, free: 29.72 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.162e-05/0.2402, allocations: 11.98 kB / 407.4 MB, free: 29.71 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006425/0.2408, allocations: 1.367 MB / 408.8 MB, free: 28.2 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.2408, allocations: 3.938 kB / 408.8 MB, free: 28.2 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002506/0.2411, allocations: 305.8 kB / 409.1 MB, free: 27.87 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.595e-05/0.2411, allocations: 93.03 kB / 409.2 MB, free: 27.76 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.474e-05/0.2412, allocations: 4 kB / 409.2 MB, free: 27.76 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.719e-05/0.2412, allocations: 4 kB / 409.2 MB, free: 27.75 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.403e-05/0.2413, allocations: 19.86 kB / 409.2 MB, free: 27.73 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.703e-06/0.2413, allocations: 7.938 kB / 409.2 MB, free: 27.73 MB / 302.1 MB Notification: Performance of sorting global known variables: time 3.285e-05/0.2413, allocations: 100.9 kB / 409.3 MB, free: 27.63 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.2413, allocations: 0 / 409.3 MB, free: 27.63 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000247/0.2416, allocations: 28 kB / 409.3 MB, free: 27.6 MB / 302.1 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 (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.469e-05/0.2417, allocations: 95.25 kB / 409.4 MB, free: 27.5 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001612/0.2418, allocations: 99.84 kB / 409.5 MB, free: 27.4 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.2418, allocations: 0 / 409.5 MB, free: 27.4 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002154/0.242, allocations: 170.8 kB / 409.7 MB, free: 27.22 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003825/0.2424, allocations: 19.98 kB / 409.7 MB, free: 27.2 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004978/0.2429, allocations: 456 kB / 410.2 MB, free: 26.72 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001127/0.2431, allocations: 0.7045 MB / 410.9 MB, free: 25.99 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.979e-05/0.2431, allocations: 19.44 kB / 410.9 MB, free: 25.97 MB / 302.1 MB Notification: Performance of SimCode: time 2.61e-07/0.2431, allocations: 0 / 410.9 MB, free: 25.97 MB / 302.1 MB Notification: Performance of Templates: time 0.002761/0.2459, allocations: 1.716 MB / 412.6 MB, free: 24.27 MB / 302.1 MB make -j1 -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedSteadyState.makefile (rm -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedSteadyState.pipe ; mkfifo ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedSteadyState.pipe ; head -c 1048576 < ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedSteadyState.pipe >> ../files/ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedSteadyState.sim & ./ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedSteadyState -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedSteadyState.pipe 2>&1)