Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullSteadyState.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.TwoMassesEquationsFullSteadyState,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullSteadyState") translateModel(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullSteadyState,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullSteadyState") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00175/0.00175, allocations: 100.1 kB / 15.88 MB, free: 12 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002166/0.002166, allocations: 200.3 kB / 16.79 MB, free: 6.828 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.527/1.527, allocations: 222.9 MB / 240.5 MB, free: 4.621 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTestOverdetermined 4.0.0+maint.om/package.mo): time 0.004899/0.004899, allocations: 0.5776 MB / 291.2 MB, free: 1.938 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001599/0.001599, allocations: 59.91 kB / 351.5 MB, free: 2.793 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1065/0.1081, allocations: 49.6 MB / 401.1 MB, free: 1.156 MB / 286.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullSteadyState): time 0.001985/0.1101, allocations: 0.5895 MB / 401.7 MB, free: 0.5664 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001653/0.1103, allocations: 23.91 kB / 401.7 MB, free: 0.543 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.293e-05/0.1104, allocations: 0 / 401.7 MB, free: 0.543 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 1.934e-05/0.1104, allocations: 0 / 401.7 MB, free: 0.543 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 3.123e-05/0.1104, allocations: 0 / 401.7 MB, free: 0.543 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001289/0.1106, allocations: 15.92 kB / 401.7 MB, free: 0.5273 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 5.295e-05/0.1106, allocations: 19.98 kB / 401.8 MB, free: 0.5078 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.001e-05/0.1107, allocations: 4 kB / 401.8 MB, free: 0.5039 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.691e-05/0.1107, allocations: 15.92 kB / 401.8 MB, free: 500 kB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.15e-05/0.1108, allocations: 11.92 kB / 401.8 MB, free: 488 kB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.79e-05/0.1108, allocations: 0 / 401.8 MB, free: 488 kB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.748e-06/0.1108, allocations: 0 / 401.8 MB, free: 488 kB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 1.992e-05/0.1109, allocations: 8 kB / 401.8 MB, free: 480 kB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 2.745e-05/0.1109, allocations: 7.938 kB / 401.8 MB, free: 472 kB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 4.838e-05/0.111, allocations: 7.969 kB / 401.8 MB, free: 464 kB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.758e-06/0.111, allocations: 0 / 401.8 MB, free: 464 kB / 286.1 MB Notification: Performance of FrontEnd: time 9.82e-07/0.111, allocations: 0 / 401.8 MB, free: 464 kB / 286.1 MB Notification: Performance of Transformations before backend: time 3.787e-06/0.111, allocations: 4 kB / 401.8 MB, free: 460 kB / 286.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.0004192/0.1114, allocations: 341.5 kB / 402.2 MB, free: 68 kB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.767e-05/0.1115, allocations: 12.03 kB / 402.2 MB, free: 56 kB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.846e-05/0.1115, allocations: 0.9375 kB / 402.2 MB, free: 56 kB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1808/0.2923, allocations: 164.3 kB / 402.3 MB, free: 10.65 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.409e-05/0.2924, allocations: 5.656 kB / 402.3 MB, free: 10.65 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.435e-05/0.2924, allocations: 8.375 kB / 402.3 MB, free: 10.65 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001384/0.2925, allocations: 41.39 kB / 402.4 MB, free: 10.62 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.638e-05/0.2926, allocations: 4.938 kB / 402.4 MB, free: 10.62 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.357e-05/0.2926, allocations: 1.344 kB / 402.4 MB, free: 10.62 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.072e-06/0.2926, allocations: 0 / 402.4 MB, free: 10.62 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.314e-05/0.2927, allocations: 19.27 kB / 402.4 MB, free: 10.62 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003124/0.293, allocations: 243.3 kB / 402.6 MB, free: 10.36 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001151/0.2931, allocations: 56.77 kB / 402.7 MB, free: 10.33 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.498e-05/0.2932, allocations: 18.11 kB / 402.7 MB, free: 10.32 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.927e-06/0.2932, allocations: 4.344 kB / 402.7 MB, free: 10.32 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.05e-05/0.2932, allocations: 40.98 kB / 402.8 MB, free: 10.29 MB / 286.1 MB Notification: Performance of pre-optimization done (n=6): time 1.333e-06/0.2932, allocations: 0 / 402.8 MB, free: 10.29 MB / 286.1 MB Notification: Performance of matching and sorting (n=8): time 0.0007344/0.294, allocations: 0.5048 MB / 403.3 MB, free: 9.836 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.388e-05/0.294, allocations: 54.33 kB / 403.3 MB, free: 9.773 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.963e-05/0.294, allocations: 98.97 kB / 403.4 MB, free: 9.676 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.057e-05/0.2941, allocations: 27.08 kB / 403.4 MB, free: 9.645 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.185e-05/0.2941, allocations: 85.17 kB / 403.5 MB, free: 9.562 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.978e-05/0.2941, allocations: 26.89 kB / 403.6 MB, free: 9.547 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.096e-05/0.2942, allocations: 28.05 kB / 403.6 MB, free: 9.531 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 5.563e-05/0.2942, allocations: 326.4 kB / 403.9 MB, free: 9.215 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.47e-05/0.2943, allocations: 13.03 kB / 403.9 MB, free: 9.215 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.568e-05/0.2943, allocations: 31.84 kB / 403.9 MB, free: 9.199 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002848/0.2946, allocations: 251.5 kB / 404.2 MB, free: 8.992 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.82e-07/0.2946, allocations: 0 / 404.2 MB, free: 8.992 MB / 286.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001233/0.2948, allocations: 87.5 kB / 404.3 MB, free: 8.953 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.974e-05/0.2948, allocations: 5.156 kB / 404.3 MB, free: 8.953 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.421e-06/0.2948, allocations: 0.625 kB / 404.3 MB, free: 8.953 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.604e-05/0.2948, allocations: 3.188 kB / 404.3 MB, free: 8.953 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001135/0.2949, allocations: 24.12 kB / 404.3 MB, free: 8.949 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.41e-06/0.295, allocations: 0 / 404.3 MB, free: 8.949 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.196e-05/0.295, allocations: 2.391 kB / 404.3 MB, free: 8.949 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.713e-06/0.295, allocations: 2.438 kB / 404.3 MB, free: 8.949 MB / 286.1 MB Warning: The initial conditions are over specified. The following 2 initial equations are redundant, so they are removed from the initialization system: $DER.v1 = 0.0 $DER.x1 = 0.0. 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 (10): * Single equations (assignments): 10 * 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 0.0001471/0.2951, allocations: 117.5 kB / 404.4 MB, free: 8.832 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.628e-05/0.2952, allocations: 2.344 kB / 404.4 MB, free: 8.832 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.354e-05/0.2952, allocations: 16.3 kB / 404.4 MB, free: 8.816 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.946e-06/0.2952, allocations: 1.25 kB / 404.4 MB, free: 8.816 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.753e-06/0.2952, allocations: 5.844 kB / 404.5 MB, free: 8.812 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.825e-06/0.2952, allocations: 0.5156 kB / 404.5 MB, free: 8.812 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003705/0.2956, allocations: 369.8 kB / 404.8 MB, free: 8.473 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.428e-06/0.2956, allocations: 1.703 kB / 404.8 MB, free: 8.473 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.171e-05/0.2957, allocations: 13.41 kB / 404.8 MB, free: 8.473 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001103/0.2958, allocations: 26.73 kB / 404.9 MB, free: 8.457 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.162e-05/0.2958, allocations: 5.141 kB / 404.9 MB, free: 8.457 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006967/0.2965, allocations: 1.287 MB / 406.1 MB, free: 7.188 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.385e-06/0.2965, allocations: 5.375 kB / 406.2 MB, free: 7.184 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00021/0.2968, allocations: 222.7 kB / 406.4 MB, free: 7.016 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.013e-05/0.2968, allocations: 87.72 kB / 406.5 MB, free: 6.918 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.09e-05/0.2968, allocations: 6.938 kB / 406.5 MB, free: 6.914 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.56e-05/0.2969, allocations: 5.859 kB / 406.5 MB, free: 6.91 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.021e-05/0.2969, allocations: 14.16 kB / 406.5 MB, free: 6.906 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.382e-06/0.2969, allocations: 2.906 kB / 406.5 MB, free: 6.906 MB / 286.1 MB Notification: Performance of sorting global known variables: time 2.067e-05/0.2969, allocations: 79.12 kB / 406.6 MB, free: 6.832 MB / 286.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2969, allocations: 0 / 406.6 MB, free: 6.832 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0002478/0.2972, allocations: 11 kB / 406.6 MB, free: 6.832 MB / 286.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (x2,v2) * 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 (6): * Single equations (assignments): 5 * 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,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 7.696e-05/0.2973, allocations: 97.5 kB / 406.7 MB, free: 6.742 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0001155/0.2974, allocations: 50.05 kB / 406.7 MB, free: 6.734 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.2974, allocations: 0 / 406.7 MB, free: 6.734 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002068/0.2976, allocations: 139.8 kB / 406.9 MB, free: 6.625 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002198/0.2979, allocations: 7.422 kB / 406.9 MB, free: 6.625 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002583/0.2981, allocations: 218.8 kB / 407.1 MB, free: 6.426 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001113/0.2982, allocations: 0.6841 MB / 407.8 MB, free: 5.73 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.978e-05/0.2983, allocations: 11.09 kB / 407.8 MB, free: 5.727 MB / 286.1 MB Notification: Performance of SimCode: time 2.1e-07/0.2983, allocations: 0 / 407.8 MB, free: 5.727 MB / 286.1 MB Notification: Performance of Templates: time 0.002384/0.3007, allocations: 0.7782 MB / 408.5 MB, free: 5.699 MB / 286.1 MB make -j1 -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullSteadyState.makefile (rm -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullSteadyState.pipe ; mkfifo ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullSteadyState.pipe ; head -c 1048576 < ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullSteadyState.pipe >> ../files/ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullSteadyState.sim & ./ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullSteadyState -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullSteadyState.pipe 2>&1)