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.001112/0.001112, allocations: 104.3 kB / 15.99 MB, free: 6.301 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.001081/0.001081, allocations: 194.5 kB / 16.91 MB, free: 6.152 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.312/1.312, allocations: 222.9 MB / 240.6 MB, free: 15.36 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.002643/0.002643, allocations: 0.566 MB / 291.3 MB, free: 14.39 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001191/0.001192, allocations: 63.91 kB / 351.7 MB, free: 1.945 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2245/0.2257, allocations: 49.59 MB / 401.3 MB, free: 36.2 MB / 302.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedSteadyState): time 0.001606/0.2273, allocations: 0.5633 MB / 401.9 MB, free: 35.65 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001539/0.2275, allocations: 39.89 kB / 401.9 MB, free: 35.61 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.138e-05/0.2275, allocations: 0 / 401.9 MB, free: 35.61 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 1.573e-05/0.2276, allocations: 0 / 401.9 MB, free: 35.61 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 2.805e-05/0.2276, allocations: 7.875 kB / 401.9 MB, free: 35.6 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001158/0.2277, allocations: 3.984 kB / 401.9 MB, free: 35.6 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 4.495e-05/0.2278, allocations: 15.98 kB / 401.9 MB, free: 35.58 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.554e-05/0.2278, allocations: 4 kB / 401.9 MB, free: 35.58 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.001e-05/0.2279, allocations: 11.94 kB / 402 MB, free: 35.57 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.75e-05/0.2279, allocations: 7.922 kB / 402 MB, free: 35.56 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.466e-05/0.2279, allocations: 4 kB / 402 MB, free: 35.55 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.406e-06/0.2279, allocations: 4 kB / 402 MB, free: 35.55 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 1.637e-05/0.228, allocations: 3.984 kB / 402 MB, free: 35.55 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 2.488e-05/0.228, allocations: 15.92 kB / 402 MB, free: 35.53 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 4.559e-05/0.228, allocations: 4 kB / 402 MB, free: 35.53 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.2281, allocations: 0 / 402 MB, free: 35.53 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.2281, allocations: 0 / 402 MB, free: 35.53 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.84e-06/0.2281, allocations: 0 / 402 MB, free: 35.53 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.0003198/0.2284, allocations: 337.4 kB / 402.3 MB, free: 35.15 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.456e-05/0.2284, allocations: 11.89 kB / 402.3 MB, free: 35.14 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.135e-05/0.2285, allocations: 8.938 kB / 402.3 MB, free: 35.13 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.497e-05/0.2286, allocations: 168.3 kB / 402.5 MB, free: 34.93 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.076e-05/0.2286, allocations: 4.375 kB / 402.5 MB, free: 34.92 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.393e-05/0.2286, allocations: 4.375 kB / 402.5 MB, free: 34.92 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.388e-05/0.2287, allocations: 46.25 kB / 402.6 MB, free: 34.87 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.018e-05/0.2287, allocations: 4.172 kB / 402.6 MB, free: 34.86 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.056e-05/0.2287, allocations: 7.938 kB / 402.6 MB, free: 34.86 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.03e-06/0.2287, allocations: 4 kB / 402.6 MB, free: 34.85 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.555e-05/0.2288, allocations: 8 kB / 402.6 MB, free: 34.84 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003152/0.2291, allocations: 302.5 kB / 402.9 MB, free: 34.49 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.574e-05/0.2292, allocations: 46.5 kB / 402.9 MB, free: 34.44 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.1e-05/0.2292, allocations: 12.8 kB / 402.9 MB, free: 34.42 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.895e-06/0.2292, allocations: 8 kB / 402.9 MB, free: 34.41 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.456e-05/0.2293, allocations: 34.64 kB / 403 MB, free: 34.37 MB / 302.1 MB Notification: Performance of pre-optimization done (n=4): time 1.163e-06/0.2293, allocations: 0 / 403 MB, free: 34.37 MB / 302.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003368/0.2296, allocations: 159.6 kB / 403.1 MB, free: 34.19 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.108e-05/0.2296, allocations: 51.41 kB / 403.2 MB, free: 34.12 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.588e-05/0.2297, allocations: 101.8 kB / 403.3 MB, free: 34.02 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 7.714e-06/0.2297, allocations: 25.7 kB / 403.3 MB, free: 33.98 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.694e-05/0.2297, allocations: 88.05 kB / 403.4 MB, free: 33.89 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.651e-05/0.2298, allocations: 15.8 kB / 403.4 MB, free: 33.88 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.563e-05/0.2298, allocations: 17.72 kB / 403.4 MB, free: 33.86 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 4.919e-05/0.2298, allocations: 318.8 kB / 403.7 MB, free: 33.54 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.83e-05/0.2299, allocations: 12 kB / 403.8 MB, free: 33.52 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.225e-05/0.2299, allocations: 21.7 kB / 403.8 MB, free: 33.5 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.864e-05/0.2299, allocations: 33.66 kB / 403.8 MB, free: 33.46 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.2299, allocations: 3.938 kB / 403.8 MB, free: 33.45 MB / 302.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 6.855e-05/0.23, allocations: 61.62 kB / 403.9 MB, free: 33.39 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.267e-05/0.23, allocations: 8.031 kB / 403.9 MB, free: 33.38 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.787e-06/0.23, allocations: 0 / 403.9 MB, free: 33.38 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.161e-05/0.2301, allocations: 0 / 403.9 MB, free: 33.38 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.335e-05/0.2301, allocations: 19.98 kB / 403.9 MB, free: 33.36 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.39e-06/0.2302, allocations: 0 / 403.9 MB, free: 33.36 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.905e-05/0.2302, allocations: 4.422 kB / 403.9 MB, free: 33.36 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.168e-06/0.2302, allocations: 0 / 403.9 MB, free: 33.36 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 (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 4.39e-05/0.2302, allocations: 109.8 kB / 404 MB, free: 33.24 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.216e-05/0.2303, allocations: 7.906 kB / 404 MB, free: 33.23 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.456e-05/0.2303, allocations: 15.48 kB / 404 MB, free: 33.21 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.2303, allocations: 3.984 kB / 404 MB, free: 33.2 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.89e-06/0.2303, allocations: 0 / 404 MB, free: 33.2 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-06/0.2303, allocations: 0 / 404 MB, free: 33.2 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001078/0.2304, allocations: 165.5 kB / 404.2 MB, free: 32.99 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.2304, allocations: 0 / 404.2 MB, free: 32.99 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.526e-05/0.2305, allocations: 4 kB / 404.2 MB, free: 32.99 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001202/0.2306, allocations: 24.78 kB / 404.2 MB, free: 32.96 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.306e-06/0.2306, allocations: 0 / 404.2 MB, free: 32.96 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005824/0.2312, allocations: 1.347 MB / 405.6 MB, free: 31.48 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.874e-06/0.2312, allocations: 0 / 405.6 MB, free: 31.48 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001226/0.2313, allocations: 176.2 kB / 405.7 MB, free: 31.29 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.426e-05/0.2314, allocations: 81.14 kB / 405.8 MB, free: 31.19 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.205e-06/0.2314, allocations: 7.984 kB / 405.8 MB, free: 31.18 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.676e-05/0.2314, allocations: 0 / 405.8 MB, free: 31.18 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.427e-05/0.2315, allocations: 4 kB / 405.8 MB, free: 31.18 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.945e-06/0.2315, allocations: 4.125 kB / 405.8 MB, free: 31.17 MB / 302.1 MB Notification: Performance of sorting global known variables: time 1.63e-05/0.2315, allocations: 79.28 kB / 405.9 MB, free: 31.09 MB / 302.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2315, allocations: 0 / 405.9 MB, free: 31.09 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002128/0.2317, allocations: 8 kB / 405.9 MB, free: 31.09 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.438e-05/0.2318, allocations: 105.5 kB / 406 MB, free: 30.97 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 8.303e-05/0.2319, allocations: 23.98 kB / 406.1 MB, free: 30.95 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.2319, allocations: 0 / 406.1 MB, free: 30.95 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001512/0.232, allocations: 126.8 kB / 406.2 MB, free: 30.81 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001987/0.2322, allocations: 11.88 kB / 406.2 MB, free: 30.8 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001966/0.2324, allocations: 176.3 kB / 406.4 MB, free: 30.6 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.177e-05/0.2325, allocations: 0.6807 MB / 407 MB, free: 29.89 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.533e-05/0.2326, allocations: 7.438 kB / 407 MB, free: 29.88 MB / 302.1 MB Notification: Performance of SimCode: time 2.9e-07/0.2326, allocations: 4 kB / 407.1 MB, free: 29.88 MB / 302.1 MB Notification: Performance of Templates: time 0.001875/0.2345, allocations: 0.6954 MB / 407.7 MB, free: 29.19 MB / 302.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)