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.001225/0.001225, allocations: 105.7 kB / 16.41 MB, free: 6.492 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.001246/0.001246, allocations: 183 kB / 17.34 MB, free: 5.742 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.283/1.283, allocations: 222.9 MB / 241 MB, free: 15.15 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.002541/0.002541, allocations: 0.562 MB / 291.8 MB, free: 14.18 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001172/0.001172, allocations: 59.91 kB / 403.1 MB, free: 32.16 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07591/0.07709, allocations: 49.59 MB / 452.7 MB, free: 14.53 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedSteadyState): time 0.001392/0.07853, allocations: 0.5121 MB / 453.2 MB, free: 14.02 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001509/0.07869, allocations: 27.84 kB / 453.2 MB, free: 13.99 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.479e-05/0.07873, allocations: 0 / 453.2 MB, free: 13.99 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 1.508e-05/0.07875, allocations: 3.938 kB / 453.2 MB, free: 13.98 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 3.107e-05/0.07879, allocations: 0 / 453.2 MB, free: 13.98 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001199/0.07892, allocations: 7.984 kB / 453.2 MB, free: 13.98 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 5.855e-05/0.07899, allocations: 23.97 kB / 453.3 MB, free: 13.95 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.285e-05/0.07904, allocations: 0 / 453.3 MB, free: 13.95 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.337e-05/0.07907, allocations: 7.938 kB / 453.3 MB, free: 13.95 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.406e-05/0.07914, allocations: 15.92 kB / 453.3 MB, free: 13.93 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.261e-05/0.07916, allocations: 0 / 453.3 MB, free: 13.93 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.568e-06/0.07917, allocations: 4 kB / 453.3 MB, free: 13.93 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.504e-05/0.07919, allocations: 3.938 kB / 453.3 MB, free: 13.92 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 2.689e-05/0.07922, allocations: 19.92 kB / 453.3 MB, free: 13.9 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 5.281e-05/0.07928, allocations: 7.984 kB / 453.3 MB, free: 13.89 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.07929, allocations: 0 / 453.3 MB, free: 13.89 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.375e-06/0.0793, allocations: 4 kB / 453.3 MB, free: 13.89 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.438e-06/0.07931, allocations: 3.938 kB / 453.3 MB, free: 13.89 MB / 334.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.0003846/0.0797, allocations: 335.5 kB / 453.6 MB, free: 13.51 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.595e-05/0.07976, allocations: 11.89 kB / 453.7 MB, free: 13.5 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.22e-05/0.0798, allocations: 4.844 kB / 453.7 MB, free: 13.49 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001141/0.07992, allocations: 168.4 kB / 453.8 MB, free: 13.29 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.261e-05/0.07994, allocations: 4.359 kB / 453.8 MB, free: 13.29 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.719e-05/0.07997, allocations: 4.375 kB / 453.8 MB, free: 13.28 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001019/0.08008, allocations: 42.25 kB / 453.9 MB, free: 13.23 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.038e-05/0.0801, allocations: 4.188 kB / 453.9 MB, free: 13.23 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.203e-05/0.08011, allocations: 7.938 kB / 453.9 MB, free: 13.22 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.218e-06/0.08012, allocations: 0 / 453.9 MB, free: 13.22 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.047e-05/0.08017, allocations: 15.92 kB / 453.9 MB, free: 13.21 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003728/0.08054, allocations: 290.5 kB / 454.2 MB, free: 12.87 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.491e-05/0.08064, allocations: 50.5 kB / 454.2 MB, free: 12.81 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.598e-05/0.08067, allocations: 16.86 kB / 454.3 MB, free: 12.79 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.05e-05/0.08069, allocations: 3.938 kB / 454.3 MB, free: 12.79 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.235e-05/0.08072, allocations: 34.56 kB / 454.3 MB, free: 12.74 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 1.212e-06/0.08072, allocations: 0 / 454.3 MB, free: 12.74 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003589/0.08109, allocations: 156.1 kB / 454.4 MB, free: 12.56 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.039e-05/0.08113, allocations: 51.41 kB / 454.5 MB, free: 12.5 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.451e-05/0.08121, allocations: 109.8 kB / 454.6 MB, free: 12.38 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.188e-05/0.08123, allocations: 29.7 kB / 454.6 MB, free: 12.35 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.523e-05/0.08127, allocations: 80.14 kB / 454.7 MB, free: 12.27 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.073e-05/0.08129, allocations: 19.75 kB / 454.7 MB, free: 12.25 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.034e-05/0.08133, allocations: 21.7 kB / 454.7 MB, free: 12.22 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001135/0.08145, allocations: 314.8 kB / 455.1 MB, free: 11.9 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.278e-05/0.08148, allocations: 12 kB / 455.1 MB, free: 11.89 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.031e-05/0.08151, allocations: 29.7 kB / 455.1 MB, free: 11.86 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.574e-05/0.08156, allocations: 33.72 kB / 455.1 MB, free: 11.82 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.08157, allocations: 0 / 455.1 MB, free: 11.82 MB / 334.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 8.365e-05/0.08166, allocations: 65.53 kB / 455.2 MB, free: 11.75 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.333e-05/0.08168, allocations: 8 kB / 455.2 MB, free: 11.74 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.781e-06/0.08169, allocations: 3.984 kB / 455.2 MB, free: 11.73 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.12e-05/0.08171, allocations: 0 / 455.2 MB, free: 11.73 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.82e-05/0.0818, allocations: 15.98 kB / 455.2 MB, free: 11.72 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.94e-06/0.08181, allocations: 3.938 kB / 455.2 MB, free: 11.71 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.822e-05/0.08183, allocations: 4.031 kB / 455.2 MB, free: 11.71 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.33e-06/0.08184, allocations: 4 kB / 455.2 MB, free: 11.71 MB / 334.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 8.312e-05/0.08193, allocations: 114.4 kB / 455.3 MB, free: 11.59 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.513e-05/0.08196, allocations: 8.422 kB / 455.4 MB, free: 11.58 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.515e-05/0.08199, allocations: 3.5 kB / 455.4 MB, free: 11.57 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.483e-06/0.082, allocations: 0 / 455.4 MB, free: 11.57 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.995e-06/0.08201, allocations: 7.969 kB / 455.4 MB, free: 11.56 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.875e-06/0.08202, allocations: 0 / 455.4 MB, free: 11.56 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001607/0.08218, allocations: 161.6 kB / 455.5 MB, free: 11.36 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.08219, allocations: 4 kB / 455.5 MB, free: 11.35 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.661e-05/0.08223, allocations: 4 kB / 455.5 MB, free: 11.35 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001308/0.08237, allocations: 20.84 kB / 455.5 MB, free: 11.32 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.754e-06/0.08239, allocations: 0 / 455.5 MB, free: 11.32 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009095/0.0833, allocations: 1.343 MB / 456.9 MB, free: 9.844 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/0.08332, allocations: 4 kB / 456.9 MB, free: 9.84 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001717/0.0835, allocations: 180.3 kB / 457.1 MB, free: 9.645 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.667e-05/0.08354, allocations: 85.2 kB / 457.2 MB, free: 9.543 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.426e-06/0.08356, allocations: 3.984 kB / 457.2 MB, free: 9.539 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.67e-05/0.08361, allocations: 0 / 457.2 MB, free: 9.539 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.814e-05/0.08363, allocations: 3.938 kB / 457.2 MB, free: 9.535 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.628e-06/0.08364, allocations: 4 kB / 457.2 MB, free: 9.531 MB / 334.1 MB Notification: Performance of sorting global known variables: time 2.831e-05/0.08368, allocations: 75.28 kB / 457.2 MB, free: 9.457 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.08368, allocations: 0 / 457.2 MB, free: 9.457 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002268/0.08392, allocations: 12 kB / 457.3 MB, free: 9.445 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 8.143e-05/0.084, allocations: 109.4 kB / 457.4 MB, free: 9.328 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 9.447e-05/0.0841, allocations: 23.94 kB / 457.4 MB, free: 9.305 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.08411, allocations: 0 / 457.4 MB, free: 9.305 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001703/0.08429, allocations: 126.7 kB / 457.5 MB, free: 9.168 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001975/0.08449, allocations: 10.28 kB / 457.5 MB, free: 9.16 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002468/0.08475, allocations: 163.9 kB / 457.7 MB, free: 8.965 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002663/0.08503, allocations: 0.6811 MB / 458.4 MB, free: 8.258 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.206e-05/0.08505, allocations: 11.44 kB / 458.4 MB, free: 8.246 MB / 334.1 MB Notification: Performance of SimCode: time 6.11e-07/0.08506, allocations: 0 / 458.4 MB, free: 8.246 MB / 334.1 MB Notification: Performance of Templates: time 0.002117/0.08718, allocations: 0.699 MB / 459.1 MB, free: 7.551 MB / 334.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)